1 #ifndef BOXSURFACEOBSERVER_H_
2 #define BOXSURFACEOBSERVER_H_
6 #include "vtkVolumeRayCastMapper.h"
8 #include "vtkCommand.h"
11 // Callback for the interaction
12 class boxSurfaceObserver : public vtkCommand
17 vtkVolumeRayCastMapper *_vtkVolumeRayCastMapper;
21 _vtkVolumeRayCastMapper = NULL;
24 virtual char const *GetClassName() const { return "boxSurfaceObserver";}
26 static boxSurfaceObserver *New(){
27 boxSurfaceObserver * result;
28 result = new boxSurfaceObserver();
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);
40 #endif /*BOXSURFACEOBSERVER_H_*/