OpenCV
4.0.0
Open Source Computer Vision
|
Comma-separated Matrix Initializer. More...
#include "mat.hpp"
Public Member Functions | |
MatCommaInitializer_ (Mat_< _Tp > *_m) | |
the constructor, created by "matrix << firstValue" operator, where matrix is cv::Mat More... | |
operator Mat_< _Tp > () const | |
another form of conversion operator More... | |
template<typename T2 > | |
MatCommaInitializer_< _Tp > & | operator, (T2 v) |
the operator that takes the next value and put it to the matrix More... | |
Protected Attributes | |
MatIterator_< _Tp > | it |
Comma-separated Matrix Initializer.
The class instances are usually not created explicitly. Instead, they are created on "matrix << firstValue" operator.
The sample below initializes 2x2 rotation matrix:
cv::MatCommaInitializer_< _Tp >::MatCommaInitializer_ | ( | Mat_< _Tp > * | _m | ) |
the constructor, created by "matrix << firstValue" operator, where matrix is cv::Mat
cv::MatCommaInitializer_< _Tp >::operator Mat_< _Tp > | ( | ) | const |
another form of conversion operator
MatCommaInitializer_<_Tp>& cv::MatCommaInitializer_< _Tp >::operator, | ( | T2 | v | ) |
the operator that takes the next value and put it to the matrix
|
protected |