#include <vtkImageMapToColors.h>
#include <vtkImageActor.h>
-
+#include "wxVtk2DBaseView.h"
+#include "vtkLookupTable.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();