Lines Matching refs:points4D
82 CvMat* points4D);
89 CvMat* points4D);
93 CvMat* points4D);
97 CvMat* points4D);
180 CvMat* points4D*/)
202 if( (points1->cols != points2->cols) || (points1->cols != points3->cols) || (points1->cols != 6) /* || (points4D->cols !=6) */)
220 if( points4D->row != 4 )
222 CV_ERROR( CV_StsUnmatchedSizes, "Number of coordinates of points4D must be 4" );
382 if( points4D )
384 if( currSol < points4D->rows / 4 )
395 cvGetSubRect(points4D,tmpSubRes,cvRect(0,currSol*4,6,4));
396 cvConvert(tmpPoints4D,points4D);
504 void icvProject4DPoints(CvMat* points4D,CvMat* projMatr, CvMat* projPoints)
513 if( points4D == 0 || projMatr == 0 || projPoints == 0)
518 if( !CV_IS_MAT(points4D) || !CV_IS_MAT(projMatr) || !CV_IS_MAT(projPoints) )
524 numPoints = points4D->cols;
527 CV_ERROR( CV_StsOutOfRange, "Number of points4D must be more than zero" );
540 if( points4D->rows != 4 )
553 cvmMul(projMatr,points4D,tmpProjPoints);
593 CvMat* points4D)
703 if( points4D )
752 cvZero(points4D);
760 cvmSet( points4D, 0, i, cvmGet( triPoints4D , 0, currPnt) );
761 cvmSet( points4D, 1, i, cvmGet( triPoints4D , 1, currPnt) );
762 cvmSet( points4D, 2, i, cvmGet( triPoints4D , 2, currPnt) );
763 cvmSet( points4D, 3, i, cvmGet( triPoints4D , 3, currPnt) );
793 CvMat* points4D)
1309 if( points4D )
1312 cvZero(points4D);
1315 points4D);
2066 CvMat* points4D)
2073 points4D == 0)
2080 !CV_IS_MAT(points4D) )
2093 if( projPoints2->cols != numPoints || projPoints3->cols != numPoints || points4D->cols != numPoints )
2103 if( points4D->rows != 4 )
2163 cvmSet(points4D,0,i,cvmGet(&matrV,3,0));/* X */
2164 cvmSet(points4D,1,i,cvmGet(&matrV,3,1));/* Y */
2165 cvmSet(points4D,2,i,cvmGet(&matrV,3,2));/* Z */
2166 cvmSet(points4D,3,i,cvmGet(&matrV,3,3));/* W */
2184 double W = cvmGet(points4D,3,i);
2186 point3D_dat[0] = cvmGet(points4D,0,i)/W;
2187 point3D_dat[1] = cvmGet(points4D,1,i)/W;
2188 point3D_dat[2] = cvmGet(points4D,2,i)/W;