X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxVtkBaseView_SceneManager.cxx;h=166f8ed9a5066789c43b8dc33eb3fbe8e3b070ec;hb=393af49c04fb77e019068f0f184b3b65e894f2a3;hp=aac92df99d4bdd62a7cdccd40469018230601430;hpb=507a00d9d7800568d6e8ae91905f2b07cd2b30ae;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx index aac92df..166f8ed 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx @@ -751,7 +751,7 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) bool condition = true; int X,Y; - wxVTKRenderWindowInteractor *_wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor(); + crea::wxVTKRenderWindowInteractor *_wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor(); _wxVTKiren->GetEventPosition( X , Y ); bool ctrlKey = _vtkInteractorStyleBaseView->GetInteractor()->GetControlKey() == 1; @@ -809,9 +809,7 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) size = selectionSize; iter = _workingGroup->begin(); } - } - else - { + } else { _toIncludeAtInteractionGroup = false; } @@ -1120,7 +1118,7 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) double sg = (double)(start) / CLOCKS_PER_SEC; #endif int tmpPx,tmpPy; - wxVTKRenderWindowInteractor *wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor(); + crea::wxVTKRenderWindowInteractor *wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor(); wxVTKiren->GetEventPosition( tmpPx , tmpPy ); fprintf(ff,"::%s (x,y) = (%i, %i) t(sg): %f\n \n",method.c_str(), tmpPx, tmpPy, sg); fclose(ff);