]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkBaseView.cxx
index 5fe48b74d73a43d6e68923a6edc5425df8252c54..86358111a08130bd8bb53698a71106f7820de076 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "wxVtkBaseView.h"
 
+
 vtkStandardNewMacro(vtkInteractorStyleBaseView);
 vtkStandardNewMacro(vtkInteractorStyleBaseView2D);
 vtkStandardNewMacro(vtkInteractorStyleBaseView3D);
@@ -533,7 +534,7 @@ bool vtkInteractorScrollZ::OnRightButtonUp()
 bool vtkInteractorScrollZ::OnMouseMove () 
 {
        if (_stateFordware==true){
-           //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];
+           //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];  // JPRx
         int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
                int delta = (_fordwareY - fy)/3;
                _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->SetActualSlice( _sliceZ + delta);
@@ -1015,16 +1016,16 @@ void  vtkInteractorStyleBaseView3D::OnMouseMove ()
 
 //             this->vtkInteractorStyleTrackballCamera::OnMouseMove();
 
- // int x = this->Interactor->GetEventPosition()[0];
- // int y = this->Interactor->GetEventPosition()[1];
+ // int x = this->Interactor->GetEventPosition()[0]; // JPRx
+ // int y = this->Interactor->GetEventPosition()[1]; // JPRx
 
 
  // 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
+ // int ly =  rwi->GetLastEventPosition()[1]; // JPRx
+ // int dx = rwi->GetEventPosition()[0] ; // JPRx
+ // int dy = rwi->GetEventPosition()[1] ; // JPRx
 
 
   switch (this->State) 
@@ -1200,7 +1201,7 @@ vtkTextActor *vtkInfoTextImage::Create_Text_Label(int px, int py )
        // Text Window Level
        vtkTextActor *textActor = vtkTextActor::New();
        textActor->SetDisplayPosition(px, py);
-       textActor->SetInput("--");
+       textActor->SetInput("0");
 
        // Set coordinates to match the old vtkScaledTextActor default value
        textActor->GetPosition2Coordinate()->SetCoordinateSystemToNormalizedViewport();