2 #ifndef __WX__MPR__BASE__DATA__H
3 #define __WX__MPR__BASE__DATA__H
5 /*#include <vtkCommand.h>
6 #include "vtkRenderWindow.h"
7 #include <vtkVolumeRayCastMapper.h>
12 #include "vtkStripper.h"
13 #include <vtkGlyph3D.h>
14 #include "vtkLODActor.h"
16 //#include "vtkContourFilter.h"
17 //#include "vtkPolyDataNormals.h"
18 #include <vtkMarchingCubes.h>
20 #include <vtkClipPolyData.h>
22 #include <vtkPiecewiseFunction.h>
24 #include <vtkVolume.h>
25 #include <vtkVolumeProperty.h>
26 #include <vtkVolumeRayCastMapper.h>
27 #include <vtkVolumeRayCastCompositeFunction.h>
28 #include <vtkBoxWidget.h>*/
32 //#include "vtkLookupTable.h"
33 //#include "vtkImageActor.h"
35 //#include <vtkPointWidget.h>
38 //#include "./pPlotter/HistogramDialog.h"
39 #include "vtkTransform.h"
42 //------------------------------------------------------------------
45 #define VTKMPRDATA_MAXTISSUE 4
48 //------------------------------------------------------------------
49 //------------------------------------------------------------------
50 //------------------------------------------------------------------
52 #include "vtkBaseData.h"
53 //#include "boxSurfaceObserver.h"
55 //------------------------------------------------------------------
56 //------------------------------------------------------------------
57 //------------------------------------------------------------------
59 class creaMaracasVisu_EXPORT vtkMPRBaseData: public vtkBaseData{
62 virtual ~vtkMPRBaseData();
63 virtual void Configure();
64 int GetMaxPositionX( );
65 int GetMaxPositionY( );
66 int GetMaxPositionZ( );
71 void GetDimensionExtention(int *x1,int *x2,int *y1,int *y2,int *z1,int *z2);
72 vtkTransform *GetTransformOrientation();
73 void SetNormal(double nx, double ny, double nz);
74 void InitTransformOrientation(vtkTransform *trans);
77 int _x1,_x2,_y1,_y2,_z1,_z2;
81 vtkTransform *_transformOrientation;
85 //------------------------------------------------------------------
86 //------------------------------------------------------------------
87 //------------------------------------------------------------------
93 //------------------------------------------------------------------
94 //------------------------------------------------------------------
95 //------------------------------------------------------------------
97 // Callback for the interaction
98 //class boxVolumeObserver : public vtkCommand
101 // vtkRenderWindow *_renWin;
102 // vtkVolumeRayCastMapper *_volumeMapper;
105 // boxVolumeObserver() { }
107 // virtual char const *GetClassName() const { return "boxVolumeObserver";}
109 // static boxVolumeObserver *New(){
110 // boxVolumeObserver * result;
111 // result = new boxVolumeObserver();
115 // virtual void Execute(vtkObject *wdg, unsigned long eventId, void* calldata) ;
116 // void SetRenWin( vtkRenderWindow *renWin );
117 // void SetVolumeMapper(vtkVolumeRayCastMapper *volumeMapper);
120 //------------------------------------------------------------------
121 //------------------------------------------------------------------
122 //------------------------------------------------------------------
125 //------------------------------------------------------------------
126 //------------------------------------------------------------------
127 //------------------------------------------------------------------
131 #endif // __WX__MPR__BASE__DATA__H