]> Creatis software - creaMaracasVisu.git/commitdiff
.
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 8 Jun 2009 12:38:34 +0000 (12:38 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 8 Jun 2009 12:38:34 +0000 (12:38 +0000)
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualViewBaseContour.cpp
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualViewPerpPlaneContour.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInfoTextImageInteractor.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkPlane2DView.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx

index e9a859629f84b7ca7f8f6162112058f2dc37440b..7508f651893237fe31da63b1b11984a1b9f09045 100644 (file)
@@ -723,7 +723,7 @@ int manualViewBaseContour::GetNumberOfPoints()
 // virtual
 void manualViewBaseContour::TransfromeCoordViewWorld(double &X, double &Y, double &Z, int type)  // Virtual
 {
-       _wxvtkbaseview->TransfromeCoordScreenToWorld(X, Y, Z, type);
+       _wxvtkbaseview->TransFromeCoordScreenToWorld(X, Y, Z, type);
 
 
 //EED 27 sep 2007
index 4c07bdf501122669a8950539c0db6b1bb725e501..ca4f013e440bb5f2f237e843d1ed9aac981803aa 100644 (file)
@@ -192,7 +192,7 @@ bool manualViewPerpPlaneContour::ifTouchContour( int x, int y, int z)
        double X=x;
        double Y=y;
        double Z=z;
-       vtkplane2Dview->TransfromeCoordScreenToWorld(X,Y,Z);
+       vtkplane2Dview->TransFromeCoordScreenToWorld(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)
index 809a8bbf5f79811d5f0dd4bb28eb0b3c3b4cf384..98a24ebf26ff36dd4a34ca7d143a39c74ed075c2 100644 (file)
@@ -40,7 +40,7 @@ bool vtkInfoTextImageInteractor::OnMouseMove()
                yy=Y;
                zz=z;
        
-       _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->TransfromeCoordScreenToWorld(xx,yy,zz);
+       _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->TransFromeCoordScreenToWorld(xx,yy,zz);
 
        
        GetVtkInfoTextImage()->PutWindowLevel();
index d41521c4e21c6851eb091d8dfb3f2af340ea5a87..e95ca9d077ecdd380bd622fc0f8978b43eb992c4 100644 (file)
@@ -528,7 +528,7 @@ void vtkPlane2DView::TransfromeCoordViewWorld2(double &X, double &Y, double &Z)
        double yy = Y;
        double zz = 0;
 
-       TransfromeCoordScreenToWorld(xx,yy,zz);
+       TransFromeCoordScreenToWorld(xx,yy,zz);
 
 
        vtkTransform *transf1 = vtkTransform::New();
index d7c40b192fceb098c5c45a99fc83af1a0217938d..a5f79e960b213b8df6247bc56d8995a73c82ae4c 100644 (file)
@@ -91,7 +91,7 @@ vtkRenderWindow* wxVtkBaseView::GetRenWin()           // virtual
 
 //----------------------------------------------------------------------------
                                        
-void wxVtkBaseView::TransfromeCoordScreenToWorld(double &X, double &Y, double &Z, int type) // virtual
+void wxVtkBaseView::TransFromeCoordScreenToWorld(double &X, double &Y, double &Z, int type) // virtual
 {  
        GetRenderer()->SetDisplayPoint((int)X, (int)Y, (int)Z);
        GetRenderer()->DisplayToWorld();