]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualViewPerpPlaneContour.cxx
BUG view MPR
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualViewPerpPlaneContour.cxx
index ca4f013e440bb5f2f237e843d1ed9aac981803aa..edc09ca5b3a7bc9c344364fc1c68967d6c7fd10e 100644 (file)
@@ -82,11 +82,11 @@ void manualViewPerpPlaneContour::FilterCordinateXYZ (double &x, double &y, doubl
 }
 
 // ----------------------------------------------------------------------------
-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);
 }
 
 
@@ -192,7 +192,8 @@ bool manualViewPerpPlaneContour::ifTouchContour( int x, int y, int 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)