#include "ContourVOIWidget.h"
-#include <vtkImageMapToColors.h>
-#include <vtkImageActor.h>
-
-
-
//-------------------------------------------------------------------
//-------------------------------------------------------------------
//-------------------------------------------------------------------
// Rectangulo
_manRoiControl = new manualRoiControler();
- _mContourModel = new manualContourModel();
+ _mContourModel = new manualContourModelRoi();
_mViewRoi = new manualViewRoi();
_mViewRoi->SetModel( _mContourModel );
_mViewRoi->SetWxVtkBaseView( this->wxvtkbaseview );
_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();