28 const Mat& dr3dt1,
const Mat& dr3dr2,
const Mat& dr3dt2,
const Mat& dt3dr1,
29 const Mat& dt3dt1,
const Mat& dt3dr2,
const Mat& dt3dt2)
31 const char* fieldnames[] = {
"rvec3",
"tvec3",
"dr3dr1",
"dr3dt1",
32 "dr3dr2",
"dr3dt2",
"dt3dr1",
"dt3dt1",
"dt3dr2",
"dt3dt2"};
34 s.
set(
"rvec3", rvec3);
35 s.
set(
"tvec3", tvec3);
36 s.
set(
"dr3dr1", dr3dr1);
37 s.
set(
"dr3dt1", dr3dt1);
38 s.
set(
"dr3dr2", dr3dr2);
39 s.
set(
"dr3dt2", dr3dt2);
40 s.
set(
"dt3dr1", dt3dr1);
41 s.
set(
"dt3dt1", dt3dt1);
42 s.
set(
"dt3dr2", dt3dr2);
43 s.
set(
"dt3dt2", dt3dt2);
69 dr3dr1, dr3dt1, dr3dr2, dr3dt2,
70 dt3dr1, dt3dt1, dt3dr2, dt3dt2;
71 composeRT(rvec1, tvec1, rvec2, tvec2, rvec3, tvec3,
72 dr3dr1, dr3dt1, dr3dr2, dr3dt2, dt3dr1, dt3dt1, dt3dr2, dt3dt2);
74 dr3dr1, dr3dt1, dr3dr2, dr3dt2, dt3dr1, dt3dt1, dt3dr2, dt3dt2);
void composeRT(InputArray rvec1, InputArray tvec1, InputArray rvec2, InputArray tvec2, OutputArray rvec3, OutputArray tvec3, OutputArray dr3dr1=noArray(), OutputArray dr3dt1=noArray(), OutputArray dr3dr2=noArray(), OutputArray dr3dt2=noArray(), OutputArray dt3dr1=noArray(), OutputArray dt3dt1=noArray(), OutputArray dt3dr2=noArray(), OutputArray dt3dt2=noArray())
struct mxArray_tag mxArray
Forward declaration for mxArray.
void set(mwIndex index, const T &value)
Template for numeric array element write accessor.
MxArray toStruct(const Mat &rvec3, const Mat &tvec3, const Mat &dr3dr1, const Mat &dr3dt1, const Mat &dr3dr2, const Mat &dr3dt2, const Mat &dt3dr1, const Mat &dt3dt1, const Mat &dt3dr2, const Mat &dt3dt2)
Create a new MxArray from combined transformations.
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/output arguments number check.
static MxArray Struct(const char **fields=NULL, int nfields=0, mwSize m=1, mwSize n=1)
Create a new struct array.
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Main entry called from Matlab.
Global constant definitions.