X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2FmanualContour.cpp;h=9027e39629128c57c76343f02a4562ccf34e743d;hb=e59fe4a0a69ae0180c502e68c57faff544b935ca;hp=1d9f3ad2321e5cf8d30fc14738102f5c792f7850;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/manualContour.cpp b/lib/maracasVisuLib/src/interface/wxWindows/manualContour.cpp index 1d9f3ad..9027e39 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/manualContour.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/manualContour.cpp @@ -2529,7 +2529,7 @@ void manualViewBaseContour::Open(FILE *pFile) void manualViewBaseContour :: AddCompleteContourActor( bool ifControlPoints ) { _viewControlPoints = ifControlPoints; - vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer(); + /*vtkRenderer * theRenderer = */ _wxvtkbaseview->GetRenderer(); // JPRx ?? //Adding the spline AddSplineActor(); @@ -2544,7 +2544,7 @@ void manualViewBaseContour :: AddCompleteContourActor( bool ifControlPoints ) void manualViewBaseContour :: RemoveCompleteContourActor() { - vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer(); + /*vtkRenderer * theRenderer =*/ _wxvtkbaseview->GetRenderer(); // JPRx ?? //Removing the spline RemoveSplineActor(); RemoveTextActor(); @@ -3443,7 +3443,7 @@ void manualContour3VControler::AddPoint( int x, int y, int z ) // virtual } - int id = GetManualContourModel()->AddPoint(xx,yy,zz); + /*int id = */ GetManualContourModel()->AddPoint(xx,yy,zz); // JPRx GetManualViewBaseContour()->AddPoint(); AddPoint_Others(); @@ -3939,7 +3939,7 @@ void manualContourControler::MouseClickLeft(int x, int y){ int size= GetManualViewBaseContour()->GetNumberOfPoints(); // Insert a Control Point with shift+ClickLeft - int tt = GetState(); + // int tt = GetState(); // JPRx vtkRenderWindowInteractor *vtkrenderwindowinteractor = _vtkInteractorStyleBaseView->GetInteractor(); //EED3131 if( IsEditable() ) @@ -4651,7 +4651,7 @@ bool manualContourBaseControler::OnChar() wxVTKRenderWindowInteractor *_wxVTKiren; _wxVTKiren= _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor(); _wxVTKiren->GetEventPosition(X, Y); - int Z = GetZ(); + //int Z = GetZ(); // JPRx // Delete Point if ((keyCode==8) || (keyCode==127)) { @@ -5005,7 +5005,7 @@ void manualContourBaseControler::Magnet(int x, int y) { if( IsEditable()) { - int id=_manViewBaseCont->GetIdPoint(x,y,GetZ()); + /*int id= */ _manViewBaseCont->GetIdPoint(x,y,GetZ()); // JPRx if (GetManualContourModel()!=NULL){ double xx = x; double yy = y; @@ -5041,7 +5041,7 @@ void manualContourBaseControler::AddPoint(int x, int y, int z) // virtual double yy = y; double zz = z; GetManualViewBaseContour()->TransfromeCoordViewWorld(xx,yy,zz); - int id = GetManualContourModel()->AddPoint(xx,yy,zz); + /*int id =*/ GetManualContourModel()->AddPoint(xx,yy,zz); // JPRx GetManualViewBaseContour()->AddPoint(); // GetManualViewBaseContour()->UpdateViewPoint(id); }