X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkPlane2DView.cxx;h=82442f5d04e3dee2bd6cbb5cefd4cbc95abf4d2c;hb=02e9429b9e49816b68306b06dccc0c2974daceb4;hp=86e8fa3a02486d6b0a2f3391b1a079f5403be945;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkPlane2DView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkPlane2DView.cxx index 86e8fa3..82442f5 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkPlane2DView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkPlane2DView.cxx @@ -519,7 +519,7 @@ void vtkPlane2DView::SetVisibleLine(bool ok) _lineActor->GetProperty()->SetOpacity(opacity); } // ---------------------------------------------------------------------------- -void vtkPlane2DView::TransfromeCoordViewWorld2(double &X, double &Y, double &Z) +void vtkPlane2DView::TransfromCoordViewWorld2(double &X, double &Y, double &Z) { double spc[3]; GetVtkmprbasedata()->GetImageData()->GetSpacing(spc); @@ -528,7 +528,7 @@ void vtkPlane2DView::TransfromeCoordViewWorld2(double &X, double &Y, double &Z) double yy = Y; double zz = 0; - TransfromeCoordScreenToWorld(xx,yy,zz); + TransFromCoordScreenToWorld(xx,yy,zz); vtkTransform *transf1 = vtkTransform::New(); @@ -549,4 +549,5 @@ void vtkPlane2DView::TransfromeCoordViewWorld2(double &X, double &Y, double &Z) Y = out[1] + GetVtkmprbasedata()->GetY() ; Z = out[2] + GetVtkmprbasedata()->GetZ() ; -} \ No newline at end of file +} +