#include "wxMaracasMultipleVolumeRendererManager.h"
#include "wxMaracasSurfaceRenderingManager.h"
+#include "creaMaracasVisu_EXPORT.h"
-class wxMaracasRenderImageTransformation
+class creaMaracasVisu_EXPORT wxMaracasRenderImageTransformation
{
public:
#include "wxMaracasSurfaceRenderingManagerDataMhd.h"
+#include "vtkStripper.h"
wxMaracasSurfaceRenderingManagerDataMhd::wxMaracasSurfaceRenderingManagerDataMhd(vtkImageData* imagedata, std::string dataname, vtkRenderWindowInteractor* interactor)
: wxMaracasSurfaceRenderingManagerData(NULL, dataname, interactor)
_dataMapper->ImmediateModeRenderingOn();
dataActor->SetMapper(_dataMapper);
+ this->_prop3D = dataActor;
+
if(_boxWidgetS1){
- _boxWidgetS1->SetInput(imagedata);
+ vtkStripper* striper = vtkStripper::New();
+ striper->SetInput( _cleanFilter->GetOutput() );
+ _boxWidgetS1->SetInput(striper->GetOutput());
+ _boxWidgetS1->PlaceWidget();
}
- this->_prop3D = dataActor;
+
this->changeIsoValue(this->_maxgreylevel);
#define WXMARACASSURFACERENDERINGPROP3D_H_
#include "wxMaracasSurfaceRenderingPanel.h"
-#include "wxMaracasRenderImageManagementPanel.h"
+//#include "wxMaracasRenderImageManagementPanel.h"
class wxMaracasSurfaceRenderingProp3D : public wxMaracasSurfaceRenderingPanel{
public:
wxSlider* opacity;
wxBitmapButton* _colorchoose;
wxBitmapButton* _viewimage;
- wxMaracasRenderImageManagementPanel* dialog;
+ //wxMaracasRenderImageManagementPanel* dialog;
};
#endif /*WXMARACASSURFACERENDERINGPROP3D_H_*/