}
// ----------------------------------------------------------------------------
-void manualViewPerpPlaneContour::TransfromeCoordViewWorld( double &X,double &Y,double &Z,int type )
+void manualViewPerpPlaneContour::TransfromCoordViewWorld( double &X,double &Y,double &Z,int type )
{
Z = 0;
vtkPlane2DView *vtkplane2Dview = (vtkPlane2DView*)( this->GetWxVtkBaseView() );
- vtkplane2Dview->TransfromeCoordViewWorld2(X,Y,Z);
+ vtkplane2Dview->TransfromCoordViewWorld2(X,Y,Z);
}
double X=x;
double Y=y;
double Z=z;
- vtkplane2Dview->TransfromeCoordScreenToWorld(X,Y,Z);
+ vtkplane2Dview->TransFromCoordScreenToWorld(X,Y,Z);
+
double ppA[3];
_pts->GetPoint(0, ppA);
if (sqrt( (ppA[0]-X)*(ppA[0]-X) + (ppA[1]-Y)*(ppA[1]-Y) ) <=2)
ok = true;
}
return ok;
-}
\ No newline at end of file
+}
+