]> Creatis software - creaMaracasVisu.git/commitdiff
* Unused vars suppressed
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 27 Jan 2009 09:07:40 +0000 (09:07 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 27 Jan 2009 09:07:40 +0000 (09:07 +0000)
* Missing header install fixed

lib/maracasVisuLib/CMakeLists.txt
lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx

index 6e417e365668f7a7c0dad93fe46e2a8a385a966d..b3882d4c40d539c76872817140d7fa6b25d1e590 100644 (file)
@@ -100,6 +100,7 @@ IF ( BUILD_${LIBRARY_NAME} )
     src/kernel/marTypes.h
     src/kernel/marParameters.h
     src/kernel/marDynData.h
+    src/kernel/creaMaracasVisu_EXPORT.h 
   )
   #----------------------------------------------------------------------------
 
index 70fbc814cf1ab4f16e197b898397762a806fb981..f05103cc0681dac70fba0bfd603ce72c6e04cd4a 100644 (file)
@@ -639,7 +639,7 @@ void wxMaracasCoutourTool::EreaseLastCP(wxCommandEvent& event)
        {
                while(!feof(fd))        
                {
-                       fscanf(fd,"");  // ?? JPRx
+                       //fscanf(fd,"");  // ?? JPRx
                        //fscanf(fd," %s %d",&firstline,&size);// JPRx
                        fscanf(fd," %s %d",firstline,&size); 
                        _SizesC.push_back(size);
index 837cab67d2df72e492299561f2272222f132ec2e..a4aba98c2ed5c8a6124fd10cb4f59f63b2eda790 100644 (file)
@@ -47,16 +47,16 @@ void  vtkInteractorStyle3DMaracas::OnMouseMove () {
 
 //             this->vtkInteractorStyleTrackballCamera::OnMouseMove();
 
-  int x = this->Interactor->GetEventPosition()[0];
-  int y = this->Interactor->GetEventPosition()[1];
+  /* int x = */ this->Interactor->GetEventPosition()[0]; // JPRx (unused)
+  /* int y = */ this->Interactor->GetEventPosition()[1]; // JPRx (unused)
 
 
   vtkRenderWindowInteractor *rwi = this->Interactor;
 
-  int lx =  rwi->GetLastEventPosition()[0];
-  int ly =  rwi->GetLastEventPosition()[1];
-  int dx = rwi->GetEventPosition()[0] ;
-  int dy = rwi->GetEventPosition()[1] ;
+  /* int lx = */  rwi->GetLastEventPosition()[0]; // JPRx (unused)
+  /* int ly = */  rwi->GetLastEventPosition()[1]; // JPRx (unused)
+  /* int dx = */  rwi->GetEventPosition()[0] ;    // JPRx (unused)
+  /* int dy = */  rwi->GetEventPosition()[1] ;    // JPRx (unused)
 
 
   switch (this->State)