1 #ifndef VOLUMERENDERERDATA_H
2 #define VOLUMERENDERERDATA_H
5 #include "volumerenderermanager.h"
6 #include "vtkRenderWindowInteractor.h"
11 class VolumeRendererData : public vtkObject
14 static VolumeRendererData *New();
15 vtkTypeRevisionMacro(VolumeRendererData,vtkObject);
18 vtkSetObjectMacro(ImageData, vtkImageData);
19 //vtkSetMacro(ImageDataSeparateComponents, bool);
21 vtkSetObjectMacro(Renderer, vtkRenderer);
22 vtkSetObjectMacro(LookUpTable, vtkLookupTable);
23 vtkSetObjectMacro(Interactor, vtkRenderWindowInteractor);
27 void BoundingBoxChanged(bool checked);
28 void ShowVolume(bool enable);
29 void OpacityChanged(vector<double> greyvalues, vector<double> values);
32 chages the ray cast function type
33 function = 0 composite
34 function = 1 MIP (maximum intensity pixel)
36 void changeCompositeMIPFunction(int function);
39 changes the interoplation type of the volume
43 void changeInterpolationType(int type);
48 VolumeRendererManager *VolRendManager;
49 vtkImageData *ImageData;
50 vtkRenderer *Renderer;
51 vtkLookupTable *LookUpTable;
52 vtkRenderWindowInteractor *Interactor;
54 // bool ImageDataSeparateComponents;
62 #endif // VOLUMERENDERERDATA_H