Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Factory where displayable manager classes are registered. More...
#include <Libs/MRML/DisplayableManager/vtkMRMLDisplayableManagerFactory.h>
Public Types | |
enum | { DisplayableManagerFactoryRegisteredEvent = 30100, DisplayableManagerFactoryUnRegisteredEvent = 30101 } |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
int | GetRegisteredDisplayableManagerCount () |
Return number of registered displayable managers. More... | |
std::string | GetRegisteredDisplayableManagerName (int n) |
Return name of the nth registered displayable manager. More... | |
vtkMRMLDisplayableManagerGroup * | InstantiateDisplayableManagers (vtkRenderer *newRenderer) |
virtual int | IsA (const char *type) |
bool | IsDisplayableManagerRegistered (const char *vtkClassName) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
bool | RegisterDisplayableManager (const char *vtkClassOrScriptName) |
void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *applicationLogic) |
bool | UnRegisterDisplayableManager (const char *vtkClassOrScriptName) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLDisplayableManagerFactory * | New () |
static vtkMRMLDisplayableManagerFactory * | SafeDownCast (vtkObject *o) |
Protected Types | |
typedef vtkMRMLDisplayableManagerFactory | Self |
Protected Member Functions | |
vtkMRMLDisplayableManagerFactory () | |
~vtkMRMLDisplayableManagerFactory () override | |
Protected Attributes | |
vtkInternal * | Internal |
Factory where displayable manager classes are registered.
A displayable manager class is responsible to represent a MRMLDisplayable node in a renderer.
Definition at line 37 of file vtkMRMLDisplayableManagerFactory.h.
|
protected |
Definition at line 94 of file vtkMRMLDisplayableManagerFactory.h.
typedef vtkObject vtkMRMLDisplayableManagerFactory::Superclass |
Definition at line 41 of file vtkMRMLDisplayableManagerFactory.h.
anonymous enum |
Enumerator | |
---|---|
DisplayableManagerFactoryRegisteredEvent | |
DisplayableManagerFactoryUnRegisteredEvent |
Definition at line 44 of file vtkMRMLDisplayableManagerFactory.h.
|
protected |
|
overrideprotected |
|
virtual |
Reimplemented in vtkMRMLSliceViewDisplayableManagerFactory, and vtkMRMLThreeDViewDisplayableManagerFactory.
vtkMRMLApplicationLogic* vtkMRMLDisplayableManagerFactory::GetMRMLApplicationLogic | ( | ) | const |
int vtkMRMLDisplayableManagerFactory::GetRegisteredDisplayableManagerCount | ( | ) |
Return number of registered displayable managers.
std::string vtkMRMLDisplayableManagerFactory::GetRegisteredDisplayableManagerName | ( | int | n | ) |
Return name of the nth registered displayable manager.
vtkMRMLDisplayableManagerGroup* vtkMRMLDisplayableManagerFactory::InstantiateDisplayableManagers | ( | vtkRenderer * | newRenderer | ) |
Instantiate registered DisplayableManagers It returns a vtkMRMLDisplayableManagerGroup representing a list of DisplayableManager Internally, the factory keep track of all the Group and will invoke the ModifiedEvent of each group.
|
virtual |
Reimplemented in vtkMRMLSliceViewDisplayableManagerFactory, and vtkMRMLThreeDViewDisplayableManagerFactory.
bool vtkMRMLDisplayableManagerFactory::IsDisplayableManagerRegistered | ( | const char * | vtkClassName | ) |
Return True if Displayable Manager identified by vtkClassName is already registered.
|
static |
|
static |
|
override |
bool vtkMRMLDisplayableManagerFactory::RegisterDisplayableManager | ( | const char * | vtkClassOrScriptName | ) |
Register Displayable Manager identified by vtkClassOrScriptName Returns True if displayable manager was successfully registered vtkClassOrScriptName should be either: a VTK class registered using the CMake macro VTK_MAKE_INSTANTIATOR3 a python script having the extension .py Internally for each registered python script, a scripted displayable manager will be instantiated.
|
static |
void vtkMRMLDisplayableManagerFactory::SetMRMLApplicationLogic | ( | vtkMRMLApplicationLogic * | applicationLogic | ) |
Set the application logic. It will be passed to displayable managers and groups to be created.
bool vtkMRMLDisplayableManagerFactory::UnRegisterDisplayableManager | ( | const char * | vtkClassOrScriptName | ) |
UnRegister Displayable Manager identified by vtkClassOrScriptName. Returns True if displayable manager was successfully unregistered vtkClassOrScriptName should be either a VTK class registered using the CMake macro VTK_MAKE_INSTANTIATOR3 or a python script name.
|
protected |
Definition at line 91 of file vtkMRMLDisplayableManagerFactory.h.