]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/manualContour.cpp
Avoid warnings
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / manualContour.cpp
index 1d9f3ad2321e5cf8d30fc14738102f5c792f7850..9027e39629128c57c76343f02a4562ccf34e743d 100644 (file)
@@ -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);
        }