43 #include <visp/vpPoint.h>
44 #include <visp/vpDebug.h>
45 #include <visp/vpFeatureDisplay.h>
47 #include <visp/vpHomography.h>
136 _p[0] = _cP[0]/_cP[2] ;
137 _p[1] = _cP[1]/_cP[2] ;
155 _cP[0] = cMo[0][0]*
oP[0]+ cMo[0][1]*
oP[1]+ cMo[0][2]*
oP[2]+ cMo[0][3]*
oP[3] ;
156 _cP[1] = cMo[1][0]*oP[0]+ cMo[1][1]*oP[1]+ cMo[1][2]*oP[2]+ cMo[1][3]*oP[3] ;
157 _cP[2] = cMo[2][0]*oP[0]+ cMo[2][1]*oP[1]+ cMo[2][2]*oP[2]+ cMo[2][3]*oP[3] ;
158 _cP[3] = cMo[3][0]*oP[0]+ cMo[3][1]*oP[1]+ cMo[3][2]*oP[2]+ cMo[3][3]*oP[3] ;
160 double d = 1/_cP[3] ;
189 v1[0] = aMb[0][0]*v[0] + aMb[0][1]*v[1]+ aMb[0][2]*v[2]+ aMb[0][3]*v[3] ;
190 v1[1] = aMb[1][0]*v[0] + aMb[1][1]*v[1]+ aMb[1][2]*v[2]+ aMb[1][3]*v[3] ;
191 v1[2] = aMb[2][0]*v[0] + aMb[2][1]*v[1]+ aMb[2][2]*v[2]+ aMb[2][3]*v[3] ;
192 v1[3] = aMb[3][0]*v[0] + aMb[3][1]*v[1]+ aMb[3][2]*v[2]+ aMb[3][3]*v[3] ;
229 v1[0] = aHb[0][0]*v[0] + aHb[0][1]*v[1]+ aHb[0][2]*v[2] ;
230 v1[1] = aHb[1][0]*v[0] + aHb[1][1]*v[1]+ aHb[1][2]*v[2] ;
231 v1[2] = aHb[2][0]*v[0] + aHb[2][1]*v[1]+ aHb[2][2]*v[2] ;
256 const unsigned int thickness)
277 const unsigned int thickness)
291 return( os<<
"vpPoint" );
312 const unsigned int thickness)