Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkSlicerMultiVolumeExplorerLogic Class Reference

#include <Modules/Loadable/MultiVolumeExplorer/Logic/vtkSlicerMultiVolumeExplorerLogic.h>

Inheritance diagram for vtkSlicerMultiVolumeExplorerLogic:
Collaboration diagram for vtkSlicerMultiVolumeExplorerLogic:

Public Types

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

Public Member Functions

virtual const char * GetClassName ()
 
void InitializeEventListeners ()
 Initialize listening to MRML events.
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void RegisterArchetypeVolumeNodeSetFactory (vtkSlicerVolumesLogic *volumesLogic)
 
- Public Member Functions inherited from vtkSlicerModuleLogic
virtual vtkSlicerApplicationLogic * GetApplicationLogic ()
 Get access to overall application state.
 
virtual vtkMRMLAbstractLogic * GetModuleLogic (const char *moduleName)
 Convenience method for getting another module's logic from the application logic.
 
std::string GetModuleShareDirectory () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetModuleShareDirectory (const std::string &shareDirectory)
 
- Public Member Functions inherited from vtkMRMLModuleLogic
virtual std::vector< vtkSmartPointer< vtkMRMLFileIOHandler > > CreateFileIOHandlers ()
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
- Public Member Functions inherited from vtkMRMLAbstractLogic
virtual vtkMRMLApplicationLogic * GetMRMLApplicationLogic () const
 Get access to overall application state.
 
vtkMRMLScene * GetMRMLScene () const
 Return a reference to the current MRML scene.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic)
 
void SetMRMLScene (vtkMRMLScene *newScene)
 Set and observe the MRMLScene.
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSlicerMultiVolumeExplorerLogic * New ()
 
static vtkSlicerMultiVolumeExplorerLogic * SafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSlicerModuleLogic
static int IsTypeOf (const char *type)
 
static vtkSlicerModuleLogic * New ()
 The Usual vtk class functions.
 
static vtkSlicerModuleLogic * SafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLModuleLogic
static int IsTypeOf (const char *type)
 
static vtkMRMLModuleLogic * New ()
 
static vtkMRMLModuleLogic * SafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractLogic
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractLogic * New ()
 
static vtkMRMLAbstractLogic * SafeDownCast (vtkObject *o)
 

Protected Member Functions

virtual void OnMRMLSceneNodeAdded (vtkMRMLNode *node) override
 
virtual void OnMRMLSceneNodeRemoved (vtkMRMLNode *node) override
 
virtual void RegisterNodes () override
 Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class.
 
void StoreVolumeNode (const std::vector< std::string > &filenames, const std::string &seriesFileName)
 
virtual void UpdateFromMRMLScene () override
 
 vtkSlicerMultiVolumeExplorerLogic ()
 
virtual ~vtkSlicerMultiVolumeExplorerLogic ()
 
- Protected Member Functions inherited from vtkSlicerModuleLogic
 vtkSlicerModuleLogic ()
 
 ~vtkSlicerModuleLogic () override
 
- Protected Member Functions inherited from vtkMRMLModuleLogic
 vtkMRMLModuleLogic ()
 
 ~vtkMRMLModuleLogic () override
 
- 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 ()
 
vtkObserverManager * GetMRMLLogicsObserverManager () const
 
vtkCallbackCommand * GetMRMLNodesCallbackCommand ()
 
vtkObserverManager * GetMRMLNodesObserverManager () const
 
vtkCallbackCommand * GetMRMLSceneCallbackCommand ()
 
vtkObserverManager * GetMRMLSceneObserverManager () const
 
int GetPendingModifiedEventCount () const
 
int GetProcessingMRMLSceneEvent () const
 Return the event id currently processed or 0 if any.
 
int InvokePendingModifiedEvent ()
 
void Modified () 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=nullptr)
 
void SetDisableModifiedEvent (bool onOff)
 
void SetInMRMLLogicsCallbackFlag (int flag)
 
void SetInMRMLNodesCallbackFlag (int flag)
 
void SetInMRMLSceneCallbackFlag (int flag)
 
virtual void SetMRMLSceneInternal (vtkMRMLScene *newScene)
 
void SetProcessingMRMLSceneEvent (int event)
 
bool StartModify ()
 
virtual void UnobserveMRMLScene ()
 
 vtkMRMLAbstractLogic ()
 
 ~vtkMRMLAbstractLogic () override
 

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.
 
static void MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 MRMLNodesCallback is a static function to relay modified events from the nodes.
 
static void MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 

Detailed Description

Definition at line 45 of file vtkSlicerMultiVolumeExplorerLogic.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkSlicerMultiVolumeExplorerLogic()

vtkSlicerMultiVolumeExplorerLogic::vtkSlicerMultiVolumeExplorerLogic ( )
protected

◆ ~vtkSlicerMultiVolumeExplorerLogic()

virtual vtkSlicerMultiVolumeExplorerLogic::~vtkSlicerMultiVolumeExplorerLogic ( )
protectedvirtual

Member Function Documentation

◆ GetClassName()

virtual const char * vtkSlicerMultiVolumeExplorerLogic::GetClassName ( )
virtual

Reimplemented from vtkSlicerModuleLogic.

◆ InitializeEventListeners()

void vtkSlicerMultiVolumeExplorerLogic::InitializeEventListeners ( )

Initialize listening to MRML events.

◆ IsA()

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

Reimplemented from vtkSlicerModuleLogic.

◆ IsTypeOf()

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

◆ New()

static vtkSlicerMultiVolumeExplorerLogic * vtkSlicerMultiVolumeExplorerLogic::New ( )
static

◆ OnMRMLSceneNodeAdded()

virtual void vtkSlicerMultiVolumeExplorerLogic::OnMRMLSceneNodeAdded ( vtkMRMLNode * )
overrideprotectedvirtual

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 vtkSlicerMultiVolumeExplorerLogic::OnMRMLSceneNodeRemoved ( vtkMRMLNode * )
overrideprotectedvirtual

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 vtkSlicerMultiVolumeExplorerLogic::PrintSelf ( ostream & os,
vtkIndent indent )
override

◆ RegisterArchetypeVolumeNodeSetFactory()

void vtkSlicerMultiVolumeExplorerLogic::RegisterArchetypeVolumeNodeSetFactory ( vtkSlicerVolumesLogic * volumesLogic)

Register the factory that the MultiVolume needs to manage nrrd file with the specified volumes logic

◆ RegisterNodes()

virtual void vtkSlicerMultiVolumeExplorerLogic::RegisterNodes ( )
overrideprotectedvirtual

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

Reimplemented from vtkMRMLAbstractLogic.

◆ SafeDownCast()

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

◆ StoreVolumeNode()

void vtkSlicerMultiVolumeExplorerLogic::StoreVolumeNode ( const std::vector< std::string > & filenames,
const std::string & seriesFileName )
protected

◆ UpdateFromMRMLScene()

virtual void vtkSlicerMultiVolumeExplorerLogic::UpdateFromMRMLScene ( )
overrideprotectedvirtual

Called every time 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: