]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRBaseData.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMPRBaseData.h
1
2 #ifndef __WX__MPR__BASE__DATA__H
3 #define __WX__MPR__BASE__DATA__H
4
5 /*#include <vtkCommand.h>
6 #include "vtkRenderWindow.h"
7 #include <vtkVolumeRayCastMapper.h>
8
9 #include "vtkProp.h"
10
11
12 #include "vtkStripper.h"
13 #include <vtkGlyph3D.h>
14 #include "vtkLODActor.h"
15
16 //#include "vtkContourFilter.h"
17 //#include "vtkPolyDataNormals.h"
18 #include <vtkMarchingCubes.h> 
19
20 #include <vtkClipPolyData.h>
21
22 #include <vtkPiecewiseFunction.h>
23
24 #include <vtkVolume.h>
25 #include <vtkVolumeProperty.h>
26 #include <vtkVolumeRayCastMapper.h>
27 #include <vtkVolumeRayCastCompositeFunction.h>
28 #include <vtkBoxWidget.h>*/
29
30
31
32 //#include "vtkLookupTable.h"
33 //#include "vtkImageActor.h"
34
35 //#include <vtkPointWidget.h> 
36
37
38 //#include "./pPlotter/HistogramDialog.h"
39 #include "vtkTransform.h"
40
41 #include "marTypes.h"
42 //------------------------------------------------------------------
43
44
45 #define VTKMPRDATA_MAXTISSUE 4
46
47
48 //------------------------------------------------------------------
49 //------------------------------------------------------------------
50 //------------------------------------------------------------------
51
52 #include "vtkBaseData.h"
53 //#include "boxSurfaceObserver.h"
54
55 //------------------------------------------------------------------
56 //------------------------------------------------------------------
57 //------------------------------------------------------------------
58
59 class creaMaracasVisu_EXPORT vtkMPRBaseData: public vtkBaseData{
60 public:
61         vtkMPRBaseData();
62         virtual ~vtkMPRBaseData();
63         virtual void                    Configure();
64         int                                             GetMaxPositionX( );
65         int                                             GetMaxPositionY( );
66         int                                             GetMaxPositionZ( );
67         double                                  GetX();
68         double                                  GetY();
69         void                                    SetX(double x);
70         void                                    SetY(double y);
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);
75
76 protected:
77         int                                             _x1,_x2,_y1,_y2,_z1,_z2;
78
79 private:
80         double                                  _x,_y;
81         vtkTransform                    *_transformOrientation;
82 };
83
84
85 //------------------------------------------------------------------
86 //------------------------------------------------------------------
87 //------------------------------------------------------------------
88
89
90
91
92
93 //------------------------------------------------------------------
94 //------------------------------------------------------------------
95 //------------------------------------------------------------------
96
97 // Callback for the interaction
98 //class boxVolumeObserver : public vtkCommand
99 //{
100 //      public:
101 //              vtkRenderWindow                 *_renWin;
102 //              vtkVolumeRayCastMapper  *_volumeMapper;
103 //
104 //
105 //              boxVolumeObserver() {  }
106 //
107 //              virtual char const *GetClassName() const { return "boxVolumeObserver";}
108 //
109 //              static boxVolumeObserver *New(){
110 //                              boxVolumeObserver * result;
111 //                              result = new boxVolumeObserver();
112 //                      return result;
113 //              }
114 //
115 //              virtual void Execute(vtkObject *wdg, unsigned long eventId, void* calldata) ;
116 //              void SetRenWin( vtkRenderWindow *renWin );
117 //              void SetVolumeMapper(vtkVolumeRayCastMapper *volumeMapper);
118 //};
119
120 //------------------------------------------------------------------
121 //------------------------------------------------------------------
122 //------------------------------------------------------------------
123
124
125 //------------------------------------------------------------------
126 //------------------------------------------------------------------
127 //------------------------------------------------------------------
128
129
130
131 #endif // __WX__MPR__BASE__DATA__H
132
133