#include <vtkImageMapToColors.h>
#include <vtkImageActor.h>
-
+#include "wxVtk2DBaseView.h"
//----------------------------------------------------------------------
wxMaracasCoutourTool::wxMaracasCoutourTool(wxWindow *parent, wxVtkBaseView *wxvtkbaseview, vtkImageData* imagedata)
_manContourControl_1->SetModelView( _mContourModel_1 , _mViewContour_1 );
- this->wxvtkbaseview->GetInteractorStyleBaseView()->AddInteractorStyleMaracas( _manContourControl_1 );
+ ((vtkInteractorStyleBaseView*)this->wxvtkbaseview->GetInteractorStyleBaseView())->AddInteractorStyleMaracas( _manContourControl_1 );
_manContourControl_1->CreateNewManualContour();
_manContourControl_1->SetActive(false);
_mViewContour_1->RefreshContour();
_manContourControl_2->SetModelView( _mContourModel_2 , _mViewContour_2 );
- this->wxvtkbaseview->GetInteractorStyleBaseView()->AddInteractorStyleMaracas( _manContourControl_2 );
+ ((vtkInteractorStyleBaseView*)this->wxvtkbaseview->GetInteractorStyleBaseView())->AddInteractorStyleMaracas( _manContourControl_2 );
_manContourControl_2->CreateNewManualContour();
_manContourControl_2->SetActive(false);
_mViewContour_2->RefreshContour();
#include <vtkImageMapToColors.h>
#include <vtkImageActor.h>
+#include "wxVtk2DBaseView.h"
//-------------------------------------------------------------------
_mViewRoi->SetSpacing(spc);
_manRoiControl->SetModelView( _mContourModel , _mViewRoi );
- this->wxvtkbaseview->GetInteractorStyleBaseView()->AddInteractorStyleMaracas( _manRoiControl );
+ ((vtkInteractorStyleBaseView*)this->wxvtkbaseview->GetInteractorStyleBaseView())->AddInteractorStyleMaracas( _manRoiControl );
_manRoiControl->CreateNewManualContour();
_manRoiControl->SetActive(true);
_mViewRoi->RefreshContour();