OpenCV  4.9.0
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cv::gapi::own::Scalar Class Reference

#include <opencv2/gapi/own/scalar.hpp>

Public Member Functions

 Scalar ()=default
 
 Scalar (double v0)
 
 Scalar (double v0, double v1, double v2=0, double v3=0)
 
const double & operator[] (int i) const
 
double & operator[] (int i)
 

Static Public Member Functions

static Scalar all (double v0)
 

Public Attributes

double val [4] = {0}
 

Constructor & Destructor Documentation

◆ Scalar() [1/3]

cv::gapi::own::Scalar::Scalar ( )
default

◆ Scalar() [2/3]

cv::gapi::own::Scalar::Scalar ( double  v0)
inlineexplicit

◆ Scalar() [3/3]

cv::gapi::own::Scalar::Scalar ( double  v0,
double  v1,
double  v2 = 0,
double  v3 = 0 
)
inline

Member Function Documentation

◆ all()

static Scalar cv::gapi::own::Scalar::all ( double  v0)
inlinestatic

◆ operator[]() [1/2]

const double& cv::gapi::own::Scalar::operator[] ( int  i) const
inline

◆ operator[]() [2/2]

double& cv::gapi::own::Scalar::operator[] ( int  i)
inline

Member Data Documentation

◆ val

double cv::gapi::own::Scalar::val[4] = {0}

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