Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes
vtkMRMLVolumeRenderingDisplayableManager Class Reference

#include <Modules/Loadable/VolumeRendering/MRMLDM/vtkMRMLVolumeRenderingDisplayableManager.h>

Inheritance diagram for vtkMRMLVolumeRenderingDisplayableManager:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLVolumeRenderingDisplayableManager:
Collaboration graph
[legend]

Public Types

typedef vtkMRMLAbstractThreeDViewDisplayableManager Superclass
 
- Public Types inherited from vtkMRMLAbstractThreeDViewDisplayableManager
typedef vtkMRMLAbstractDisplayableManager Superclass
 
- Public Types inherited from vtkMRMLAbstractDisplayableManager
typedef vtkMRMLAbstractLogic Superclass
 
- Public Types inherited from vtkMRMLAbstractLogic
typedef vtkObject Superclass
 
typedef void(vtkMRMLAbstractLogic::* TaskFunctionPointer) (void *clientdata)
 

Public Member Functions

void AddDisplayNode (vtkMRMLVolumeRenderingDisplayNode *dnode)
 
virtual void Create () VTK_OVERRIDE
 
virtual const char * GetClassName ()
 
vtkVolume * GetVolumeActor ()
 
virtual vtkVolumeMapper * GetVolumeMapper (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 Return the volume mapper of the volume rendering display node. More...
 
virtual int IsA (const char *type)
 
int IsMapperSupported (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
virtual int IsMapperSupported (vtkVolumeMapper *volumeMapper, vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
virtual void OnMRMLSceneEndClose () VTK_OVERRIDE
 
virtual void OnMRMLSceneEndImport () VTK_OVERRIDE
 
virtual void OnMRMLSceneEndRestore () VTK_OVERRIDE
 
virtual void OnMRMLSceneNodeAdded (vtkMRMLNode *node) VTK_OVERRIDE
 
virtual void OnMRMLSceneNodeRemoved (vtkMRMLNode *node) VTK_OVERRIDE
 
virtual void OnMRMLSceneStartClose () VTK_OVERRIDE
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
void RemoveDisplayNode (vtkMRMLVolumeRenderingDisplayNode *dnode)
 
void RemoveDisplayNodes ()
 
virtual void Reset ()
 
void SetGUICallbackCommand (vtkCommand *callback)
 
void SetupHistograms (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
virtual int SetupMapperFromParametersNode (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
void SetupMapperFromVolumeNode (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 Configure mapper with volume nodes. More...
 
void SetupMapperFromVolumeNode (vtkMRMLVolumeNode *volumeNode, vtkVolumeMapper *volumeMapper, int inputIndex=0)
 Configure mapper with volume node. More...
 
void SetVolumeVisibility (int isVisible)
 
void TransformModified (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
void UpdateClipping (vtkVolumeMapper *mapper, vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
void UpdateCPURaycastMapper (vtkFixedPointVolumeRayCastMapper *mapper, vtkMRMLCPURayCastVolumeRenderingDisplayNode *vspNode)
 
void UpdateDesiredUpdateRate (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
void UpdateDisplayNodeList ()
 
void UpdateGPURaycastMapper (vtkGPUVolumeRayCastMapper *mapper, vtkMRMLGPURayCastVolumeRenderingDisplayNode *vspNode)
 
virtual bool UpdateMapper (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
void UpdateMapper (vtkVolumeMapper *mapper, vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
- Public Member Functions inherited from vtkMRMLAbstractThreeDViewDisplayableManager
vtkMRMLViewNodeGetMRMLViewNode ()
 Get MRML ViewNode. More...
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
- Public Member Functions inherited from vtkMRMLAbstractDisplayableManager
virtual std::string GetDataProbeInfoStringForPosition (double vtkNotUsed(xyz)[3])
 
vtkMRMLInteractionNodeGetInteractionNode ()
 Convenient method to get the current InteractionNode. More...
 
vtkRenderWindowInteractor * GetInteractor ()
 Convenient method to get the WindowInteractor associated with the Renderer. More...
 
virtual vtkMRMLLightBoxRendererManagerProxyGetLightBoxRendererManagerProxy ()
 
vtkRenderer * GetRenderer ()
 Get the default renderer for this displayable manager. More...
 
vtkRenderer * GetRenderer (int idx)
 
vtkMRMLSelectionNodeGetSelectionNode ()
 Convenient method to get the current SelectionNode. More...
 
bool IsCreated ()
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetLightBoxRendererManagerProxy (vtkMRMLLightBoxRendererManagerProxy *)
 
- Public Member Functions inherited from vtkMRMLAbstractLogic
virtual vtkMRMLApplicationLogicGetMRMLApplicationLogic () const
 Get access to overall application state. More...
 
vtkMRMLSceneGetMRMLScene () const
 Return a reference to the current MRML scene. More...
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic)
 
void SetMRMLScene (vtkMRMLScene *newScene)
 Set and observe the MRMLScene. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLVolumeRenderingDisplayableManagerNew ()
 
static vtkMRMLVolumeRenderingDisplayableManagerSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractThreeDViewDisplayableManager
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractThreeDViewDisplayableManagerNew ()
 
static vtkMRMLAbstractThreeDViewDisplayableManagerSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractDisplayableManager
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractDisplayableManagerNew ()
 
static vtkMRMLAbstractDisplayableManagerSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractLogic
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractLogicNew ()
 
static vtkMRMLAbstractLogicSafeDownCast (vtkObject *o)
 

Static Public Attributes

static int DefaultGPUMemorySize
 

Protected Types

typedef std::map< std::string, vtkMRMLVolumeRenderingDisplayNode * > DisplayNodesType
 

Protected Member Functions

virtual int ActiveInteractionModes () VTK_OVERRIDE
 
bool AddVolumeToView ()
 Return true if the volume wasn't in the view. More...
 
void CalculateMatrix (vtkMRMLVolumeRenderingDisplayNode *vspNode, vtkMatrix4x4 *output)
 
virtual bool EnterMRMLNodesCallback () const VTK_OVERRIDE
 
void EstimateSampleDistance (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
double GetFramerate (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
virtual vtkIdType GetMaxMemoryInBytes (vtkVolumeMapper *mapper, vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
double GetSampleDistance (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
bool IsVolumeInView ()
 
bool IsVolumeInView (vtkVolume *volume)
 
void OnCreate ()
 
virtual void OnInteractorStyleEvent (int eventId) VTK_OVERRIDE
 
void OnScenarioNodeModified ()
 
void OnVolumeRenderingDisplayNodeModified (vtkMRMLVolumeRenderingDisplayNode *dnode)
 
void operator= (const vtkMRMLVolumeRenderingDisplayableManager &)
 
virtual void ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE
 
void RemoveVolumeFromView ()
 
void RemoveVolumeFromView (vtkVolume *volume)
 
void UpdatePipelineFromDisplayNode (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
int ValidateDisplayNode (vtkMRMLVolumeRenderingDisplayNode *vspNode)
 
 vtkMRMLVolumeRenderingDisplayableManager ()
 
 vtkMRMLVolumeRenderingDisplayableManager (const vtkMRMLVolumeRenderingDisplayableManager &)
 
 ~vtkMRMLVolumeRenderingDisplayableManager ()
 
- Protected Member Functions inherited from vtkMRMLAbstractThreeDViewDisplayableManager
virtual void OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) VTK_OVERRIDE
 
virtual void OnMRMLViewNodeModifiedEvent ()
 Could be overloaded in DisplayableManager subclass. More...
 
virtual void PassThroughInteractorStyleEvent (int eventid)
 
 vtkMRMLAbstractThreeDViewDisplayableManager ()
 
virtual ~vtkMRMLAbstractThreeDViewDisplayableManager ()
 
- Protected Member Functions inherited from vtkMRMLAbstractDisplayableManager
void AddInteractorObservableEvent (int eventid, float priority=0.0)
 
void AddInteractorStyleObservableEvent (int eventid, float priority=0.0)
 
virtual void AdditionalInitializeStep ()
 
void AddMRMLDisplayableManagerEvent (int eventId)
 Allow to specify additional events that the DisplayableNode will observe. More...
 
void CreateIfPossible ()
 
int GetInteractorAbortFlag ()
 
int GetInteractorStyleAbortFlag ()
 
vtkMRMLDisplayableManagerGroupGetMRMLDisplayableManagerGroup ()
 Get associated DisplayableManager group. More...
 
vtkMRMLNodeGetMRMLDisplayableNode ()
 Get MRML Displayable Node. More...
 
vtkCallbackCommand * GetWidgetsCallbackCommand ()
 Get vtkWidget callbackCommand. More...
 
vtkObserverManagerGetWidgetsObserverManager () const
 Get widget observerManager. More...
 
void InteractorAbortFlagOff ()
 
void InteractorAbortFlagOn ()
 
void InteractorStyleAbortFlagOff ()
 
void InteractorStyleAbortFlagOn ()
 
virtual void OnInteractorEvent (int eventid)
 
virtual void ProcessWidgetsEvents (vtkObject *caller, unsigned long event, void *callData)
 
void RemoveInteractorObservableEvent (int eventid)
 
void RemoveInteractorStyleObservableEvent (int eventid)
 
virtual void RemoveMRMLObservers ()
 Remove MRML observers. More...
 
void RequestRender ()
 
void SetAndObserveMRMLDisplayableNode (vtkMRMLNode *newMRMLDisplayableNode)
 
void SetInteractorAbortFlag (int f)
 Set the Abort flag on the Interactor event callback. More...
 
void SetInteractorStyleAbortFlag (int f)
 Set the Abort flag on the InteractorStyle event callback. More...
 
virtual void SetMRMLDisplayableManagerGroup (vtkMRMLDisplayableManagerGroup *group)
 
virtual void SetMRMLSceneInternal (vtkMRMLScene *newScene) VTK_OVERRIDE
 
virtual void SetRenderer (vtkRenderer *newRenderer)
 
void SetUpdateFromMRMLRequested (bool requested)
 
virtual void UpdateFromMRML ()
 
 vtkMRMLAbstractDisplayableManager ()
 
virtual ~vtkMRMLAbstractDisplayableManager ()
 
- Protected Member Functions inherited from vtkMRMLAbstractLogic
int EndModify (bool wasModifying)
 
virtual bool EnterMRMLLogicsCallback () const
 
virtual bool EnterMRMLSceneCallback () const
 
bool GetDisableModifiedEvent () const
 
int GetInMRMLLogicsCallbackFlag () const
 
int GetInMRMLNodesCallbackFlag () const
 
int GetInMRMLSceneCallbackFlag () const
 
vtkCallbackCommand * GetMRMLLogicsCallbackCommand ()
 
vtkObserverManagerGetMRMLLogicsObserverManager () const
 
vtkCallbackCommand * GetMRMLNodesCallbackCommand ()
 
vtkObserverManagerGetMRMLNodesObserverManager () const
 
vtkCallbackCommand * GetMRMLSceneCallbackCommand ()
 
vtkObserverManagerGetMRMLSceneObserverManager () const
 
int GetPendingModifiedEventCount () const
 
int GetProcessingMRMLSceneEvent () const
 Return the event id currently processed or 0 if any. More...
 
int InvokePendingModifiedEvent ()
 
virtual void Modified () VTK_OVERRIDE
 
virtual void ObserveMRMLScene ()
 
virtual void OnMRMLNodeModified (vtkMRMLNode *)
 
virtual void OnMRMLSceneEndBatchProcess ()
 
virtual void OnMRMLSceneNew ()
 
virtual void OnMRMLSceneStartBatchProcess ()
 
virtual void OnMRMLSceneStartImport ()
 
virtual void OnMRMLSceneStartRestore ()
 
virtual void ProcessMRMLLogicsEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void ProcessMRMLSceneEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void RegisterNodes ()
 
void SetAndObserveMRMLSceneEventsInternal (vtkMRMLScene *newScene, vtkIntArray *events, vtkFloatArray *priorities=0)
 
void SetDisableModifiedEvent (bool onOff)
 
void SetInMRMLLogicsCallbackFlag (int flag)
 
void SetInMRMLNodesCallbackFlag (int flag)
 
void SetInMRMLSceneCallbackFlag (int flag)
 
void SetProcessingMRMLSceneEvent (int event)
 
bool StartModify ()
 
virtual void UnobserveMRMLScene ()
 
virtual void UpdateFromMRMLScene ()
 
 vtkMRMLAbstractLogic ()
 
virtual ~vtkMRMLAbstractLogic ()
 

Protected Attributes

vtkMRMLVolumeRenderingDisplayNodeDisplayedNode
 Holders for MRML callbacks. More...
 
DisplayNodesType DisplayNodes
 
vtkIntArray * DisplayObservedEvents
 
int Interaction
 
vtkGPUVolumeRayCastMapper * MapperGPURaycast3
 
vtkFixedPointVolumeRayCastMapper * MapperRaycast
 
double OriginalDesiredUpdateRate
 
vtkVolume * Volume
 
vtkSlicerVolumeRenderingLogicVolumeRenderingLogic
 

Static Protected Attributes

static bool First
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkMRMLAbstractDisplayableManager
static void WidgetsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 WidgetsCallback is a static function to relay modified events from the vtk widgets. More...
 
- Static Protected Member Functions inherited from vtkMRMLAbstractLogic
static void MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 MRMLLogicCallback is a static function to relay modified events from the logics. More...
 
static void MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 MRMLNodesCallback is a static function to relay modified events from the nodes. More...
 
static void MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 

Detailed Description

Definition at line 51 of file vtkMRMLVolumeRenderingDisplayableManager.h.

Member Typedef Documentation

◆ DisplayNodesType

Definition at line 194 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ Superclass

Definition at line 56 of file vtkMRMLVolumeRenderingDisplayableManager.h.

Constructor & Destructor Documentation

◆ vtkMRMLVolumeRenderingDisplayableManager() [1/2]

vtkMRMLVolumeRenderingDisplayableManager::vtkMRMLVolumeRenderingDisplayableManager ( )
protected

◆ ~vtkMRMLVolumeRenderingDisplayableManager()

vtkMRMLVolumeRenderingDisplayableManager::~vtkMRMLVolumeRenderingDisplayableManager ( )
protected

◆ vtkMRMLVolumeRenderingDisplayableManager() [2/2]

vtkMRMLVolumeRenderingDisplayableManager::vtkMRMLVolumeRenderingDisplayableManager ( const vtkMRMLVolumeRenderingDisplayableManager )
protected

Member Function Documentation

◆ ActiveInteractionModes()

virtual int vtkMRMLVolumeRenderingDisplayableManager::ActiveInteractionModes ( )
protectedvirtual

Subclass can overload this method to specify under which InteractionNode modes this Displayable Manger InteractorStyle events. By default events only arrive when in Place mode (good for annotations) but if you want a continuous read out of, for example, slice positions while the mouse moves set this to include Place and ViewTransform

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ AddDisplayNode()

void vtkMRMLVolumeRenderingDisplayableManager::AddDisplayNode ( vtkMRMLVolumeRenderingDisplayNode dnode)

◆ AddVolumeToView()

bool vtkMRMLVolumeRenderingDisplayableManager::AddVolumeToView ( )
protected

Return true if the volume wasn't in the view.

◆ CalculateMatrix()

void vtkMRMLVolumeRenderingDisplayableManager::CalculateMatrix ( vtkMRMLVolumeRenderingDisplayNode vspNode,
vtkMatrix4x4 *  output 
)
protected

◆ Create()

virtual void vtkMRMLVolumeRenderingDisplayableManager::Create ( )
virtual

Called after a valid MRML DisplayableNode is set. By default it simulates a ModifiedEvent event on the displayable node so that ProcessMRMLNodesEvents(displayableNode, ModifiedEvent) is called.

Note
GetRenderer() and GetMRMLDisplayableNode() will return valid object

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ EnterMRMLNodesCallback()

virtual bool vtkMRMLVolumeRenderingDisplayableManager::EnterMRMLNodesCallback ( ) const
protectedvirtual

Return true if the MRML Nodes callback must be executed, false otherwise. By default, it returns true, you can reimplement it in subclasses.

See also
SetInMRMLNodesCallbackFlag()

Reimplemented from vtkMRMLAbstractLogic.

◆ EstimateSampleDistance()

void vtkMRMLVolumeRenderingDisplayableManager::EstimateSampleDistance ( vtkMRMLVolumeRenderingDisplayNode vspNode)
protected

◆ GetClassName()

virtual const char* vtkMRMLVolumeRenderingDisplayableManager::GetClassName ( )
virtual

◆ GetFramerate()

double vtkMRMLVolumeRenderingDisplayableManager::GetFramerate ( vtkMRMLVolumeRenderingDisplayNode vspNode)
protected

◆ GetMaxMemoryInBytes()

virtual vtkIdType vtkMRMLVolumeRenderingDisplayableManager::GetMaxMemoryInBytes ( vtkVolumeMapper *  mapper,
vtkMRMLVolumeRenderingDisplayNode vspNode 
)
protectedvirtual

◆ GetSampleDistance()

double vtkMRMLVolumeRenderingDisplayableManager::GetSampleDistance ( vtkMRMLVolumeRenderingDisplayNode vspNode)
protected

◆ GetVolumeActor()

vtkVolume* vtkMRMLVolumeRenderingDisplayableManager::GetVolumeActor ( )
inline

Definition at line 89 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ GetVolumeMapper()

virtual vtkVolumeMapper* vtkMRMLVolumeRenderingDisplayableManager::GetVolumeMapper ( vtkMRMLVolumeRenderingDisplayNode vspNode)
virtual

Return the volume mapper of the volume rendering display node.

◆ IsA()

virtual int vtkMRMLVolumeRenderingDisplayableManager::IsA ( const char *  type)
virtual

◆ IsMapperSupported() [1/2]

int vtkMRMLVolumeRenderingDisplayableManager::IsMapperSupported ( vtkMRMLVolumeRenderingDisplayNode vspNode)

◆ IsMapperSupported() [2/2]

virtual int vtkMRMLVolumeRenderingDisplayableManager::IsMapperSupported ( vtkVolumeMapper *  volumeMapper,
vtkMRMLVolumeRenderingDisplayNode vspNode 
)
virtual

◆ IsTypeOf()

static int vtkMRMLVolumeRenderingDisplayableManager::IsTypeOf ( const char *  type)
static

◆ IsVolumeInView() [1/2]

bool vtkMRMLVolumeRenderingDisplayableManager::IsVolumeInView ( )
protected

◆ IsVolumeInView() [2/2]

bool vtkMRMLVolumeRenderingDisplayableManager::IsVolumeInView ( vtkVolume *  volume)
protected

◆ New()

static vtkMRMLVolumeRenderingDisplayableManager* vtkMRMLVolumeRenderingDisplayableManager::New ( )
static

◆ OnCreate()

void vtkMRMLVolumeRenderingDisplayableManager::OnCreate ( )
protected

◆ OnInteractorStyleEvent()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnInteractorStyleEvent ( int  eventid)
protectedvirtual

Called after interactor style event specified using AddInteractorStyleObservableEvent are invoked.

Note
The following events are observed by default:
  • vtkCommand::LeftButtonPressEvent
  • vtkCommand::LeftButtonReleaseEvent
  • vtkCommand::RightButtonPressEvent
  • vtkCommand::RightButtonReleaseEvent
  • vtkCommand::MiddleButtonPressEvent
  • vtkCommand::MiddleButtonReleaseEvent
  • vtkCommand::MouseWheelBackwardEvent
  • vtkCommand::MouseWheelForwardEvent
  • vtkCommand::EnterEvent
  • vtkCommand::LeaveEvent
See also
AddInteractorStyleObservableEvent RemoveInteractorStyleObservableEvent

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ OnMRMLSceneEndClose()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnMRMLSceneEndClose ( )
virtual

If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneStartClose

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneEndImport()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnMRMLSceneEndImport ( )
virtual

If vtkMRMLScene::EndImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneStartImport, OnMRMLSceneNew

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneEndRestore()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnMRMLSceneEndRestore ( )
virtual

If vtkMRMLScene::EndRestoreEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneStartRestore

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneNodeAdded()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnMRMLSceneNodeAdded ( vtkMRMLNode )
virtual

If vtkMRMLScene::NodeAddedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneNodeRemoved, vtkMRMLScene::NodeAboutToBeAdded

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneNodeRemoved()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnMRMLSceneNodeRemoved ( vtkMRMLNode )
virtual

If vtkMRMLScene::NodeRemovedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneNodeAdded, vtkMRMLScene::NodeAboutToBeRemoved

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneStartClose()

virtual void vtkMRMLVolumeRenderingDisplayableManager::OnMRMLSceneStartClose ( )
virtual

If vtkMRMLScene::StartCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneEndClose

Reimplemented from vtkMRMLAbstractLogic.

◆ OnScenarioNodeModified()

void vtkMRMLVolumeRenderingDisplayableManager::OnScenarioNodeModified ( )
protected

◆ OnVolumeRenderingDisplayNodeModified()

void vtkMRMLVolumeRenderingDisplayableManager::OnVolumeRenderingDisplayNodeModified ( vtkMRMLVolumeRenderingDisplayNode dnode)
protected

◆ operator=()

void vtkMRMLVolumeRenderingDisplayableManager::operator= ( const vtkMRMLVolumeRenderingDisplayableManager )
protected

◆ PrintSelf()

void vtkMRMLVolumeRenderingDisplayableManager::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ ProcessMRMLNodesEvents()

virtual void vtkMRMLVolumeRenderingDisplayableManager::ProcessMRMLNodesEvents ( vtkObject *  caller,
unsigned long  event,
void *  callData 
)
protectedvirtual

Receives all the events fired by the nodes. To listen to a node, you can add an observer using GetMRMLNodesCallbackCommand() or use the utility macros vtk[SetAndObserve|Observe]MRMLNode[Event]Macro ProcessMRMLNodesEvents calls OnMRMLNodeModified when event is vtkCommand::ModifiedEvent.

See also
ProcessMRMLSceneEvents, ProcessMRMLLogicsEvents, OnMRMLNodeModified(), vtkSetAndObserveMRMLNodeMacro, vtkObserveMRMLNodeMacro, vtkSetAndObserveMRMLNodeEventMacro

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ RemoveDisplayNode()

void vtkMRMLVolumeRenderingDisplayableManager::RemoveDisplayNode ( vtkMRMLVolumeRenderingDisplayNode dnode)

◆ RemoveDisplayNodes()

void vtkMRMLVolumeRenderingDisplayableManager::RemoveDisplayNodes ( )

◆ RemoveVolumeFromView() [1/2]

void vtkMRMLVolumeRenderingDisplayableManager::RemoveVolumeFromView ( )
protected

◆ RemoveVolumeFromView() [2/2]

void vtkMRMLVolumeRenderingDisplayableManager::RemoveVolumeFromView ( vtkVolume *  volume)
protected

◆ Reset()

virtual void vtkMRMLVolumeRenderingDisplayableManager::Reset ( )
virtual

◆ SafeDownCast()

static vtkMRMLVolumeRenderingDisplayableManager* vtkMRMLVolumeRenderingDisplayableManager::SafeDownCast ( vtkObject *  o)
static

◆ SetGUICallbackCommand()

void vtkMRMLVolumeRenderingDisplayableManager::SetGUICallbackCommand ( vtkCommand *  callback)

◆ SetupHistograms()

void vtkMRMLVolumeRenderingDisplayableManager::SetupHistograms ( vtkMRMLVolumeRenderingDisplayNode vspNode)

◆ SetupMapperFromParametersNode()

virtual int vtkMRMLVolumeRenderingDisplayableManager::SetupMapperFromParametersNode ( vtkMRMLVolumeRenderingDisplayNode vspNode)
virtual

◆ SetupMapperFromVolumeNode() [1/2]

void vtkMRMLVolumeRenderingDisplayableManager::SetupMapperFromVolumeNode ( vtkMRMLVolumeRenderingDisplayNode vspNode)

Configure mapper with volume nodes.

◆ SetupMapperFromVolumeNode() [2/2]

void vtkMRMLVolumeRenderingDisplayableManager::SetupMapperFromVolumeNode ( vtkMRMLVolumeNode volumeNode,
vtkVolumeMapper *  volumeMapper,
int  inputIndex = 0 
)

Configure mapper with volume node.

◆ SetVolumeVisibility()

void vtkMRMLVolumeRenderingDisplayableManager::SetVolumeVisibility ( int  isVisible)

◆ TransformModified()

void vtkMRMLVolumeRenderingDisplayableManager::TransformModified ( vtkMRMLVolumeRenderingDisplayNode vspNode)

◆ UpdateClipping()

void vtkMRMLVolumeRenderingDisplayableManager::UpdateClipping ( vtkVolumeMapper *  mapper,
vtkMRMLVolumeRenderingDisplayNode vspNode 
)

◆ UpdateCPURaycastMapper()

void vtkMRMLVolumeRenderingDisplayableManager::UpdateCPURaycastMapper ( vtkFixedPointVolumeRayCastMapper *  mapper,
vtkMRMLCPURayCastVolumeRenderingDisplayNode vspNode 
)

◆ UpdateDesiredUpdateRate()

void vtkMRMLVolumeRenderingDisplayableManager::UpdateDesiredUpdateRate ( vtkMRMLVolumeRenderingDisplayNode vspNode)

◆ UpdateDisplayNodeList()

void vtkMRMLVolumeRenderingDisplayableManager::UpdateDisplayNodeList ( )

◆ UpdateGPURaycastMapper()

void vtkMRMLVolumeRenderingDisplayableManager::UpdateGPURaycastMapper ( vtkGPUVolumeRayCastMapper *  mapper,
vtkMRMLGPURayCastVolumeRenderingDisplayNode vspNode 
)

◆ UpdateMapper() [1/2]

virtual bool vtkMRMLVolumeRenderingDisplayableManager::UpdateMapper ( vtkMRMLVolumeRenderingDisplayNode vspNode)
virtual

◆ UpdateMapper() [2/2]

void vtkMRMLVolumeRenderingDisplayableManager::UpdateMapper ( vtkVolumeMapper *  mapper,
vtkMRMLVolumeRenderingDisplayNode vspNode 
)

◆ UpdatePipelineFromDisplayNode()

void vtkMRMLVolumeRenderingDisplayableManager::UpdatePipelineFromDisplayNode ( vtkMRMLVolumeRenderingDisplayNode vspNode)
protected

◆ ValidateDisplayNode()

int vtkMRMLVolumeRenderingDisplayableManager::ValidateDisplayNode ( vtkMRMLVolumeRenderingDisplayNode vspNode)
protected

Member Data Documentation

◆ DefaultGPUMemorySize

int vtkMRMLVolumeRenderingDisplayableManager::DefaultGPUMemorySize
static

Definition at line 135 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ DisplayedNode

vtkMRMLVolumeRenderingDisplayNode* vtkMRMLVolumeRenderingDisplayableManager::DisplayedNode
protected

Holders for MRML callbacks.

Definition at line 192 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ DisplayNodes

DisplayNodesType vtkMRMLVolumeRenderingDisplayableManager::DisplayNodes
protected

Definition at line 195 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ DisplayObservedEvents

vtkIntArray* vtkMRMLVolumeRenderingDisplayableManager::DisplayObservedEvents
protected

Definition at line 197 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ First

bool vtkMRMLVolumeRenderingDisplayableManager::First
staticprotected

Definition at line 163 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ Interaction

int vtkMRMLVolumeRenderingDisplayableManager::Interaction
protected

Definition at line 199 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ MapperGPURaycast3

vtkGPUVolumeRayCastMapper* vtkMRMLVolumeRenderingDisplayableManager::MapperGPURaycast3
protected

Definition at line 173 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ MapperRaycast

vtkFixedPointVolumeRayCastMapper* vtkMRMLVolumeRenderingDisplayableManager::MapperRaycast
protected

Definition at line 169 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ OriginalDesiredUpdateRate

double vtkMRMLVolumeRenderingDisplayableManager::OriginalDesiredUpdateRate
protected

Definition at line 200 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ Volume

vtkVolume* vtkMRMLVolumeRenderingDisplayableManager::Volume
protected

Definition at line 177 of file vtkMRMLVolumeRenderingDisplayableManager.h.

◆ VolumeRenderingLogic

vtkSlicerVolumeRenderingLogic* vtkMRMLVolumeRenderingDisplayableManager::VolumeRenderingLogic
protected

Definition at line 165 of file vtkMRMLVolumeRenderingDisplayableManager.h.


The documentation for this class was generated from the following file: