21 #ifndef __vtkMRMLVolumeRenderingDisplayableManager_h 22 #define __vtkMRMLVolumeRenderingDisplayableManager_h 25 #include "vtkSlicerVolumeRenderingModuleMRMLDisplayableManagerExport.h" 26 class vtkGPUVolumeRayCastMapper;
27 class vtkFixedPointVolumeRayCastMapper;
34 class vtkVolumeProperty;
45 class vtkVolumeMapper;
46 class vtkVolumeProperty;
48 #define VTKIS_VOLUME_PROPS 100 57 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
61 void SetGUICallbackCommand(vtkCommand* callback);
63 virtual void Create() VTK_OVERRIDE;
76 vtkVolumeMapper* volumeMapper,
89 vtkVolume* GetVolumeActor(){
return this->Volume;}
96 void UpdateMapper(vtkVolumeMapper* mapper,
98 void UpdateCPURaycastMapper(vtkFixedPointVolumeRayCastMapper* mapper,
100 void UpdateGPURaycastMapper(vtkGPUVolumeRayCastMapper* mapper,
110 void SetVolumeVisibility(
int isVisible);
119 virtual int IsMapperSupported(vtkVolumeMapper* volumeMapper,
129 void UpdateDisplayNodeList();
133 void RemoveDisplayNodes();
147 virtual
bool EnterMRMLNodesCallback()const VTK_OVERRIDE;
151 virtual
void ProcessMRMLNodesEvents(vtkObject * caller,
153 void * callData) VTK_OVERRIDE;
155 virtual
void OnInteractorStyleEvent(
int eventId) VTK_OVERRIDE;
169 vtkFixedPointVolumeRayCastMapper *MapperRaycast;
173 vtkGPUVolumeRayCastMapper *MapperGPURaycast3;
195 DisplayNodesType DisplayNodes;
197 vtkIntArray* DisplayObservedEvents;
200 double OriginalDesiredUpdateRate;
203 void OnScenarioNodeModified();
210 bool AddVolumeToView();
211 void RemoveVolumeFromView();
212 void RemoveVolumeFromView(vtkVolume* volume);
213 bool IsVolumeInView();
214 bool IsVolumeInView(vtkVolume* volume);
virtual void OnMRMLSceneStartClose()
virtual void OnMRMLSceneEndImport()
virtual void OnMRMLSceneEndClose()
virtual int ActiveInteractionModes()
virtual void OnMRMLSceneNodeAdded(vtkMRMLNode *)
static vtkMRMLAbstractThreeDViewDisplayableManager * New()
virtual void OnMRMLSceneNodeRemoved(vtkMRMLNode *)
static int DefaultGPUMemorySize
MRML node for representing a volume (image stack).
Superclass for displayable manager classes.
virtual void OnMRMLSceneEndRestore()
std::map< std::string, vtkMRMLVolumeRenderingDisplayNode * > DisplayNodesType
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.