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 Types | Protected Member Functions | Protected Attributes
vtkMRMLDisplayableManagerFactory Class Reference

Factory where displayable manager classes are registered. More...

#include <Libs/MRML/DisplayableManager/vtkMRMLDisplayableManagerFactory.h>

Inheritance diagram for vtkMRMLDisplayableManagerFactory:
Inheritance graph
Collaboration diagram for vtkMRMLDisplayableManagerFactory:
Collaboration graph

Public Types

enum  { DisplayableManagerFactoryRegisteredEvent = 30100, DisplayableManagerFactoryUnRegisteredEvent = 30101 }
typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
vtkMRMLApplicationLogicGetMRMLApplicationLogic () const
int GetRegisteredDisplayableManagerCount ()
 Return number of registered displayable managers. More...
std::string GetRegisteredDisplayableManagerName (int n)
 Return name of the nth registered displayable manager. More...
vtkMRMLDisplayableManagerGroupInstantiateDisplayableManagers (vtkRenderer *newRenderer)
virtual int IsA (const char *type)
bool IsDisplayableManagerRegistered (const char *vtkClassName)
void PrintSelf (ostream &os, vtkIndent indent) VTK_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 vtkMRMLDisplayableManagerFactoryNew ()
static vtkMRMLDisplayableManagerFactorySafeDownCast (vtkObject *o)

Protected Types

typedef vtkMRMLDisplayableManagerFactory Self

Protected Member Functions

 vtkMRMLDisplayableManagerFactory ()
virtual ~vtkMRMLDisplayableManagerFactory ()

Protected Attributes

vtkInternal * Internal

Detailed Description

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.

Member Typedef Documentation

◆ Self

Definition at line 94 of file vtkMRMLDisplayableManagerFactory.h.

◆ Superclass

Definition at line 41 of file vtkMRMLDisplayableManagerFactory.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 44 of file vtkMRMLDisplayableManagerFactory.h.

Constructor & Destructor Documentation

◆ vtkMRMLDisplayableManagerFactory()

vtkMRMLDisplayableManagerFactory::vtkMRMLDisplayableManagerFactory ( )

◆ ~vtkMRMLDisplayableManagerFactory()

virtual vtkMRMLDisplayableManagerFactory::~vtkMRMLDisplayableManagerFactory ( )

Member Function Documentation

◆ GetClassName()

virtual const char* vtkMRMLDisplayableManagerFactory::GetClassName ( )

◆ GetMRMLApplicationLogic()

vtkMRMLApplicationLogic* vtkMRMLDisplayableManagerFactory::GetMRMLApplicationLogic ( ) const

◆ GetRegisteredDisplayableManagerCount()

int vtkMRMLDisplayableManagerFactory::GetRegisteredDisplayableManagerCount ( )

Return number of registered displayable managers.

◆ GetRegisteredDisplayableManagerName()

std::string vtkMRMLDisplayableManagerFactory::GetRegisteredDisplayableManagerName ( int  n)

Return name of the nth registered displayable manager.

◆ InstantiateDisplayableManagers()

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.

◆ IsA()

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

◆ IsDisplayableManagerRegistered()

bool vtkMRMLDisplayableManagerFactory::IsDisplayableManagerRegistered ( const char *  vtkClassName)

Return True if Displayable Manager identified by vtkClassName is already registered.

◆ IsTypeOf()

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

◆ New()

static vtkMRMLDisplayableManagerFactory* vtkMRMLDisplayableManagerFactory::New ( )

◆ PrintSelf()

void vtkMRMLDisplayableManagerFactory::PrintSelf ( ostream &  os,
vtkIndent  indent 

◆ RegisterDisplayableManager()

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.

◆ SafeDownCast()

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

◆ SetMRMLApplicationLogic()

void vtkMRMLDisplayableManagerFactory::SetMRMLApplicationLogic ( vtkMRMLApplicationLogic applicationLogic)

Set the application logic. It will be passed to displayable managers and groups to be created.

◆ UnRegisterDisplayableManager()

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.

Member Data Documentation

◆ Internal

vtkInternal* vtkMRMLDisplayableManagerFactory::Internal

Definition at line 91 of file vtkMRMLDisplayableManagerFactory.h.

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