#include <memory>
#include <openpose/core/macros.hpp>
Go to the source code of this file.
◆ OP_CONST_MAT_RETURN_FUNCTION
#define OP_CONST_MAT_RETURN_FUNCTION |
( |
|
outputVariable, |
|
|
|
opMat, |
|
|
|
function |
|
) |
| |
Value: { \
outputVariable = cvMat.function; \
}
#define OP_OP2CVCONSTMAT(opMat)
Definition at line 86 of file matrix.hpp.
◆ OP_CONST_MAT_VOID_FUNCTION
#define OP_CONST_MAT_VOID_FUNCTION |
( |
|
opMat, |
|
|
|
function |
|
) |
| |
◆ OP_CV2OPCONSTMAT
#define OP_CV2OPCONSTMAT |
( |
|
cvMat | ) |
(op::Matrix((const void*)&(cvMat))) |
◆ OP_CV2OPMAT
#define OP_CV2OPMAT |
( |
|
cvMat | ) |
(op::Matrix((void*)&(cvMat))) |
◆ OP_CV2OPVECTORMAT
#define OP_CV2OPVECTORMAT |
( |
|
opMats, |
|
|
|
cvMats |
|
) |
| |
Value: std::vector<op::Matrix> opMats; \
for (auto& cvMat : (cvMats)) \
{ \
opMats.emplace_back(opMat); \
}
#define OP_CV2OPMAT(cvMat)
Definition at line 55 of file matrix.hpp.
◆ OP_MAT_RETURN_FUNCTION
#define OP_MAT_RETURN_FUNCTION |
( |
|
outputVariable, |
|
|
|
opMat, |
|
|
|
function |
|
) |
| |
Value: { \
outputVariable = cvMat.function; \
}
#define OP_OP2CVMAT(opMat)
Definition at line 81 of file matrix.hpp.
◆ OP_MAT_VOID_FUNCTION
#define OP_MAT_VOID_FUNCTION |
( |
|
opMat, |
|
|
|
function |
|
) |
| |
◆ OP_OP2CVCONSTMAT
#define OP_OP2CVCONSTMAT |
( |
|
opMat | ) |
(*((cv::Mat*)((opMat).getConstCvMat()))) |
◆ OP_OP2CVMAT
#define OP_OP2CVMAT |
( |
|
opMat | ) |
(*((cv::Mat*)((opMat).getCvMat()))) |
◆ OP_OP2CVVECTORMAT
#define OP_OP2CVVECTORMAT |
( |
|
cvMats, |
|
|
|
opMats |
|
) |
| |
Value: std::vector<cv::Mat> cvMats; \
for (auto& opMat : (opMats)) \
{ \
cvMats.emplace_back(cvMat); \
}
Definition at line 42 of file matrix.hpp.