]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/boxSurfaceObserver.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / boxSurfaceObserver.h
1 #ifndef BOXSURFACEOBSERVER_H_
2 #define BOXSURFACEOBSERVER_H_
3
4 #include "vtkPlanes.h"
5 #include "vtkProp.h"
6 #include "vtkVolumeRayCastMapper.h"
7 #include "vtkObject.h"
8 #include "vtkCommand.h"
9
10
11 // Callback for the interaction
12 class boxSurfaceObserver : public vtkCommand
13 {
14         public:
15                 vtkPlanes                                       *_planes;
16                 vtkProp                                         *_actor;
17                 vtkVolumeRayCastMapper          *_vtkVolumeRayCastMapper;
18
19                 boxSurfaceObserver() 
20                 {  
21                         _vtkVolumeRayCastMapper = NULL;
22                 }
23
24                 virtual char const *GetClassName() const { return "boxSurfaceObserver";}
25
26                 static boxSurfaceObserver *New(){
27                         boxSurfaceObserver * result;
28                         result = new boxSurfaceObserver();
29                         return result;
30                 }
31
32                 virtual void Execute(vtkObject *wdg, unsigned long eventId, void* calldata) ;
33                 void SetPlanes(vtkPlanes *planes);
34                 void SetActor(vtkProp *actor);
35                 void SetvtkVolumeRayCastMapper(vtkVolumeRayCastMapper *vtkvolumeraycastmapper);
36 };
37
38
39
40 #endif /*BOXSURFACEOBSERVER_H_*/