Slicer  5.3
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
vtkMRMLAbstractThreeDViewDisplayableManager Class Reference

Superclass for displayable manager classes. More...

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

Inheritance diagram for vtkMRMLAbstractThreeDViewDisplayableManager:
Inheritance graph
Collaboration diagram for vtkMRMLAbstractThreeDViewDisplayableManager:
Collaboration graph

Public Types

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

virtual const char * GetClassName ()
vtkMRMLViewNodeGetMRMLViewNode ()
 Get MRML ViewNode. More...
virtual const char * GetPickedNodeID ()
 Get the MRML ID of the picked node, returns empty string if no pick. More...
virtual int IsA (const char *type)
virtual int Pick3D (double vtkNotUsed(ras)[3])
void PrintSelf (ostream &os, vtkIndent indent) override
- Public Member Functions inherited from vtkMRMLAbstractDisplayableManager
virtual bool CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &distance2)
virtual std::string GetDataProbeInfoStringForPosition (double vtkNotUsed(xyz)[3])
virtual bool GetGrabFocus ()
 Displayable manager can indicate that it would like to get all events (even when mouse pointer is outside the window). More...
vtkMRMLInteractionNodeGetInteractionNode ()
 Convenient method to get the current InteractionNode. More...
virtual bool GetInteractive ()
 Displayable manager can indicate that the window is in interactive mode (faster updates). More...
vtkRenderWindowInteractor * GetInteractor ()
 Convenient method to get the WindowInteractor associated with the Renderer. More...
virtual vtkMRMLLightBoxRendererManagerProxyGetLightBoxRendererManagerProxy ()
virtual int GetMouseCursor ()
 Displayable manager returns ID of the mouse cursor shape that should be displayed. More...
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) override
virtual bool ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData)
virtual void SetHasFocus (bool hasFocus, vtkMRMLInteractionEventData *eventData)
 Set if the widget gets/loses focus (interaction events are processed by this displayable manager). More...
virtual void SetLightBoxRendererManagerProxy (vtkMRMLLightBoxRendererManagerProxy *)
void SetMouseCursor (int cursor)
- 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) 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 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)

Protected Member Functions

void OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) override
virtual void OnMRMLViewNodeModifiedEvent ()
 Could be overloaded in DisplayableManager subclass. More...
virtual void PassThroughInteractorStyleEvent (int eventid)
 vtkMRMLAbstractThreeDViewDisplayableManager ()
 ~vtkMRMLAbstractThreeDViewDisplayableManager () override
- Protected Member Functions inherited from vtkMRMLAbstractDisplayableManager
virtual int ActiveInteractionModes ()
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...
virtual void Create ()
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 OnInteractorStyleEvent (int eventid)
void ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) override
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)
void SetMRMLSceneInternal (vtkMRMLScene *newScene) override
virtual void SetRenderer (vtkRenderer *newRenderer)
void SetUpdateFromMRMLRequested (bool requested)
virtual void UpdateFromMRML ()
 vtkMRMLAbstractDisplayableManager ()
 ~vtkMRMLAbstractDisplayableManager () 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 ()
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 ()
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 OnMRMLSceneNodeAdded (vtkMRMLNode *)
virtual void OnMRMLSceneNodeRemoved (vtkMRMLNode *)
virtual void OnMRMLSceneStartBatchProcess ()
virtual void OnMRMLSceneStartClose ()
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=nullptr)
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 ()
 ~vtkMRMLAbstractLogic () override

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

Superclass for displayable manager classes.

A displayable manager class is responsible to represent a MRMLDisplayable node in a renderer.

Definition at line 35 of file vtkMRMLAbstractThreeDViewDisplayableManager.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkMRMLAbstractThreeDViewDisplayableManager()

vtkMRMLAbstractThreeDViewDisplayableManager::vtkMRMLAbstractThreeDViewDisplayableManager ( )

◆ ~vtkMRMLAbstractThreeDViewDisplayableManager()

vtkMRMLAbstractThreeDViewDisplayableManager::~vtkMRMLAbstractThreeDViewDisplayableManager ( )

Member Function Documentation

◆ GetClassName()

virtual const char* vtkMRMLAbstractThreeDViewDisplayableManager::GetClassName ( )

◆ GetMRMLViewNode()

vtkMRMLViewNode* vtkMRMLAbstractThreeDViewDisplayableManager::GetMRMLViewNode ( )

Get MRML ViewNode.

◆ GetPickedNodeID()

virtual const char* vtkMRMLAbstractThreeDViewDisplayableManager::GetPickedNodeID ( )

Get the MRML ID of the picked node, returns empty string if no pick.

Reimplemented in vtkMRMLModelDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, and vtkMRMLSegmentationsDisplayableManager3D.

Definition at line 53 of file vtkMRMLAbstractThreeDViewDisplayableManager.h.

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkMRMLAbstractThreeDViewDisplayableManager* vtkMRMLAbstractThreeDViewDisplayableManager::New ( )

◆ OnMRMLDisplayableNodeModifiedEvent()

void vtkMRMLAbstractThreeDViewDisplayableManager::OnMRMLDisplayableNodeModifiedEvent ( vtkObject *  caller)

ProcessMRMLNodesEvents calls OnMRMLDisplayableNodeModifiedEvent when the displayable node (e.g. vtkMRMLSliceNode, vtkMRMLViewNode) is Modified. Could be overloaded in DisplayableManager subclass.

Reimplemented from vtkMRMLAbstractDisplayableManager.

Reimplemented in vtkMRMLViewDisplayableManager.

◆ OnMRMLViewNodeModifiedEvent()

virtual void vtkMRMLAbstractThreeDViewDisplayableManager::OnMRMLViewNodeModifiedEvent ( )

Could be overloaded in DisplayableManager subclass.

Definition at line 63 of file vtkMRMLAbstractThreeDViewDisplayableManager.h.

◆ PassThroughInteractorStyleEvent()

virtual void vtkMRMLAbstractThreeDViewDisplayableManager::PassThroughInteractorStyleEvent ( int  eventid)

◆ Pick3D()

virtual int vtkMRMLAbstractThreeDViewDisplayableManager::Pick3D ( double   vtkNotUsed(ras)[3])

Find display node managed by the displayable manager at a specified world RAS position.

Non-zero in case a node is found at the position, 0 otherwise

Definition at line 50 of file vtkMRMLAbstractThreeDViewDisplayableManager.h.

◆ PrintSelf()

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

◆ SafeDownCast()

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

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