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 | Protected Member Functions
vtkSlicerMultiVolumeRenderingLogic Class Reference

#include <Modules/Loadable/MultiVolumeRendering/Logic/vtkSlicerMultiVolumeRenderingLogic.h>

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

Public Types

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

Public Member Functions

vtkMRMLMultiVolumeRenderingDisplayNodeCreateDisplayNode ()
 
vtkMRMLMultiVolumeRenderingDisplayNodeFindFirstMatchedDisplayNode (vtkMRMLVolumeNode *bg, vtkMRMLVolumeNode *fg, vtkMRMLVolumeNode *label)
 
virtual const char * GetClassName ()
 
vtkMRMLMultiVolumeRenderingDisplayNodeGetDisplayNodeByID (vtkMRMLVolumeNode *volumeNode, char *displayNodeID)
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkSlicerModuleLogic
virtual vtkSlicerApplicationLogicGetApplicationLogic ()
 Get access to overall application state. More...
 
std::string GetModuleShareDirectory () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
void SetModuleShareDirectory (const std::string &shareDirectory)
 
- 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 vtkSlicerMultiVolumeRenderingLogicNew ()
 
static vtkSlicerMultiVolumeRenderingLogicSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSlicerModuleLogic
static int IsTypeOf (const char *type)
 
static vtkSlicerModuleLogicNew ()
 The Usual vtk class functions. More...
 
static vtkSlicerModuleLogicSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractLogic
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractLogicNew ()
 
static vtkMRMLAbstractLogicSafeDownCast (vtkObject *o)
 

Protected Member Functions

virtual void OnMRMLSceneNodeAdded (vtkMRMLNode *node)
 
virtual void OnMRMLSceneNodeRemoved (vtkMRMLNode *node)
 
virtual void RegisterNodes ()
 Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class. More...
 
virtual void SetMRMLSceneInternal (vtkMRMLScene *newScene)
 
virtual void UpdateFromMRMLScene ()
 
 vtkSlicerMultiVolumeRenderingLogic ()
 
virtual ~vtkSlicerMultiVolumeRenderingLogic ()
 
- Protected Member Functions inherited from vtkSlicerModuleLogic
 vtkSlicerModuleLogic ()
 
virtual ~vtkSlicerModuleLogic ()
 
- Protected Member Functions inherited from vtkMRMLAbstractLogic
int EndModify (bool wasModifying)
 
virtual bool EnterMRMLLogicsCallback () const
 
virtual bool EnterMRMLNodesCallback () 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 OnMRMLSceneEndClose ()
 
virtual void OnMRMLSceneEndImport ()
 
virtual void OnMRMLSceneEndRestore ()
 
virtual void OnMRMLSceneNew ()
 
virtual void OnMRMLSceneStartBatchProcess ()
 
virtual void OnMRMLSceneStartClose ()
 
virtual void OnMRMLSceneStartImport ()
 
virtual void OnMRMLSceneStartRestore ()
 
virtual void ProcessMRMLLogicsEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void ProcessMRMLSceneEvents (vtkObject *caller, unsigned long event, void *callData)
 
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 ()
 
 vtkMRMLAbstractLogic ()
 
virtual ~vtkMRMLAbstractLogic ()
 

Additional Inherited Members

- 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 54 of file vtkSlicerMultiVolumeRenderingLogic.h.

Member Typedef Documentation

◆ Superclass

Definition at line 60 of file vtkSlicerMultiVolumeRenderingLogic.h.

Constructor & Destructor Documentation

◆ vtkSlicerMultiVolumeRenderingLogic()

vtkSlicerMultiVolumeRenderingLogic::vtkSlicerMultiVolumeRenderingLogic ( )
protected

◆ ~vtkSlicerMultiVolumeRenderingLogic()

virtual vtkSlicerMultiVolumeRenderingLogic::~vtkSlicerMultiVolumeRenderingLogic ( )
protectedvirtual

Member Function Documentation

◆ CreateDisplayNode()

vtkMRMLMultiVolumeRenderingDisplayNode* vtkSlicerMultiVolumeRenderingLogic::CreateDisplayNode ( )

◆ FindFirstMatchedDisplayNode()

vtkMRMLMultiVolumeRenderingDisplayNode* vtkSlicerMultiVolumeRenderingLogic::FindFirstMatchedDisplayNode ( vtkMRMLVolumeNode bg,
vtkMRMLVolumeNode fg,
vtkMRMLVolumeNode label 
)

◆ GetClassName()

virtual const char* vtkSlicerMultiVolumeRenderingLogic::GetClassName ( )
virtual

Reimplemented from vtkSlicerModuleLogic.

◆ GetDisplayNodeByID()

vtkMRMLMultiVolumeRenderingDisplayNode* vtkSlicerMultiVolumeRenderingLogic::GetDisplayNodeByID ( vtkMRMLVolumeNode volumeNode,
char *  displayNodeID 
)

◆ IsA()

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

Reimplemented from vtkSlicerModuleLogic.

◆ IsTypeOf()

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

◆ New()

static vtkSlicerMultiVolumeRenderingLogic* vtkSlicerMultiVolumeRenderingLogic::New ( )
static

◆ OnMRMLSceneNodeAdded()

virtual void vtkSlicerMultiVolumeRenderingLogic::OnMRMLSceneNodeAdded ( vtkMRMLNode )
protectedvirtual

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 vtkSlicerMultiVolumeRenderingLogic::OnMRMLSceneNodeRemoved ( vtkMRMLNode )
protectedvirtual

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.

◆ PrintSelf()

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

◆ RegisterNodes()

virtual void vtkSlicerMultiVolumeRenderingLogic::RegisterNodes ( )
protectedvirtual

Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class.

Reimplemented from vtkMRMLAbstractLogic.

◆ SafeDownCast()

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

◆ SetMRMLSceneInternal()

virtual void vtkSlicerMultiVolumeRenderingLogic::SetMRMLSceneInternal ( vtkMRMLScene newScene)
protectedvirtual

Called each time a new scene is set. Can be reimplemented in derivated classes. Doesn't observe the scene by default, that means that UpdateFromMRMLScene() won't be called by default when a scene is imported, closed or restored, only when a new scene is set.

See also
SetAndObserveMRMLSceneInternal() SetAndObserveMRMLSceneEventsInternal()
UpdateFromMRMLScene()

Reimplemented from vtkMRMLAbstractLogic.

◆ UpdateFromMRMLScene()

virtual void vtkSlicerMultiVolumeRenderingLogic::UpdateFromMRMLScene ( )
protectedvirtual

Called everytime the scene has been significantly changed. If the scene BatchProcessState events are observed (in SetMRMLSceneInternal() ), UpdateFromMRMLScene is called after each batch process (Close, Import, Restore...). It is also being called by default when a new scene is set (SetMRMLScene).

See also
SetMRMLSceneInternal, UnobserveMRMLScene, ObserveMRMLScene

Reimplemented from vtkMRMLAbstractLogic.


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