OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::GOpaque< T > Class Template Reference

cv::GOpaque<T> template class represents an object of class T in the graph. More...

#include <opencv2/gapi/gopaque.hpp>

Collaboration diagram for cv::GOpaque< T >:

Public Member Functions

 GOpaque ()
 Constructs an empty cv::GOpaque<T>
 

Detailed Description

template<typename T>
class cv::GOpaque< T >

cv::GOpaque<T> template class represents an object of class T in the graph.

cv::GOpaque<T> describes a functional relationship between operations consuming and producing object of class T. cv::GOpaque<T> is designed to extend G-API with user-defined data types, which are often required with user-defined operations. G-API can't apply any optimizations to user-defined types since these types are opaque to the framework. However, there is a number of G-API operations declared with cv::GOpaque<T> as a return type, e.g. cv::gapi::streaming::timestamp() or cv::gapi::streaming::size().

See also
cv::GArray<T>

Constructor & Destructor Documentation

◆ GOpaque()

template<typename T >
cv::GOpaque< T >::GOpaque ( )
inline

Constructs an empty cv::GOpaque<T>

Normally, empty G-API data objects denote a starting point of the graph. When an empty cv::GOpaque<T> is assigned to a result of some operation, it obtains a functional link to this operation (and is not empty anymore).


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