OpenCV  3.2.0-dev
Open Source Computer Vision

#include "types_c.h"

Collaboration diagram for CvScalar:

Public Member Functions

 CvScalar ()
 
 CvScalar (double d0, double d1=0, double d2=0, double d3=0)
 
template<typename _Tp >
 CvScalar (const cv::Scalar_< _Tp > &s)
 
template<typename _Tp , int cn>
 CvScalar (const cv::Vec< _Tp, cn > &v)
 
template<typename _Tp >
 operator cv::Scalar_< _Tp > () const
 

Public Attributes

double val [4]
 

Detailed Description

See also
Scalar_

Constructor & Destructor Documentation

CvScalar::CvScalar ( )
inline
CvScalar::CvScalar ( double  d0,
double  d1 = 0,
double  d2 = 0,
double  d3 = 0 
)
inline
template<typename _Tp >
CvScalar::CvScalar ( const cv::Scalar_< _Tp > &  s)
inline
template<typename _Tp , int cn>
CvScalar::CvScalar ( const cv::Vec< _Tp, cn > &  v)
inline

Member Function Documentation

template<typename _Tp >
CvScalar::operator cv::Scalar_< _Tp > ( ) const
inline

References cv::saturate_cast().

Here is the call graph for this function:

Member Data Documentation

double CvScalar::val[4]

Referenced by cvRealScalar(), cvScalar(), and cvScalarAll().


The documentation for this struct was generated from the following file: