OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::gapi::own::Scalar Class Reference

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

Collaboration diagram for cv::gapi::own::Scalar:

Public Member Functions

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

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]

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

◆ operator[]() [2/2]

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

Member Data Documentation

◆ val

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

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