]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualViewPerpPlaneContour.cxx
DFCH: ManualPain GUI Cleaned with some new features. :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualViewPerpPlaneContour.cxx
index ca4f013e440bb5f2f237e843d1ed9aac981803aa..0fd5c3f9f6a4ad8018f521b65f375548871793f7 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)
@@ -200,4 +201,5 @@ bool manualViewPerpPlaneContour::ifTouchContour( int x, int y, int z)
                ok = true;
        }
        return ok;
-}
\ No newline at end of file
+}
+