#include <vtkImageCast.h>
#include "wxVTKRenderWindowInteractor.h"
-#include "wxSurfaceWidget.h"
+//#include "wxSurfaceWidget.h"
#include "wxVtkBaseView.h"
#include "../wxMaracasMPR.h"
#include "pPlotter/mBarRange.h"//SIL//
-#include <kernel/marInterface.h>
-#include <kernel/axisExtractor02.h>
+//#include <marInterface.h>
+//#include <include/axisExtractor02.h>
-#include "kernel/vtkSTLExtractor.h"
-#include "kernel/vtkJoiner.h"
+#include "vtkSTLExtractor.h"
+#include "include/vtkJoiner.h"
+
+#include "marTypes.h"
//------------------------------------------------------------------
//------------------------------------------------------------------
-class wxSTLWidget_03: public wxPanel{
+class creaMaracasVisu_EXPORT wxSTLWidget_03: public wxPanel{
public:
- wxSTLWidget_03(wxWindow *parentmar,marInterface *mar);
+ wxSTLWidget_03(wxWindow *parentmar);//,marInterface *mar);
~wxSTLWidget_03();
void ConfigureVTK();
void Refresh();
//---------------------------------------
void OnJoinRegions(wxCommandEvent& event);
+ //JCP 01-03-08
+ void setImage(vtkImageData* img);
+
private:
//Processing
vtkImageCast *cast4; // binary segmentation result
vtkImageThreshold *_thresh;
vtkImageThreshold *_thresh2;
+ vtkImageCast * _cast;
vtkImageSeedConnectivity *_connect;
vtkImageSeedConnectivity *_connect2;
wxPanel *CreateViewPanel(wxWindow *parent);
//Maracas
- marInterface *_mar;
+ //marInterface *_mar;
wxMaracasMPR *_wxMaracasMPR;
void ResetTree2_JF();
//---------------------
// Processing
//---------------------
- void ConfigureProcessing(marImageData *marimagedata, int x, int y, int z);
+ void ConfigureProcessing(vtkImageData *img, int x, int y, int z);
//---------------------