Slicer  4.11
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 | Static Protected Member Functions | Friends
vtkMRMLAbstractDisplayableManager Class Reference

Superclass for displayable manager classes. More...

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

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

Public Types

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

Public Member Functions

virtual bool CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &distance2)
 
virtual const char * GetClassName ()
 
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...
 
virtual int IsA (const char *type)
 
bool IsCreated ()
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual bool ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData)
 
virtual void SetHasFocus (bool hasFocus)
 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 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

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)
 
virtual void OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller)
 
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
 

Static Protected Member Functions

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)
 

Friends

class vtkInternal
 
class vtkMRMLDisplayableManagerGroup
 Access to SetRenderer, SetMRMLDisplayableNode and CreateIfPossible methods. More...
 

Detailed Description

Superclass for displayable manager classes.

A displayable manager is responsible for representing MRML display nodes into a renderer (e.g. 2D view renderer). Displayable managers are the interface between MRML display nodes and vtkRenderer/vtkActors. They are responsible for creating and synchronizing vtkActor, vtkMapper and vtkProperties with MRML display nodes.

Definition at line 47 of file vtkMRMLAbstractDisplayableManager.h.

Member Typedef Documentation

◆ Superclass

Definition at line 53 of file vtkMRMLAbstractDisplayableManager.h.

Constructor & Destructor Documentation

◆ vtkMRMLAbstractDisplayableManager()

vtkMRMLAbstractDisplayableManager::vtkMRMLAbstractDisplayableManager ( )
protected

◆ ~vtkMRMLAbstractDisplayableManager()

vtkMRMLAbstractDisplayableManager::~vtkMRMLAbstractDisplayableManager ( )
overrideprotected

Member Function Documentation

◆ ActiveInteractionModes()

virtual int vtkMRMLAbstractDisplayableManager::ActiveInteractionModes ( )
protectedvirtual

Subclass can overload this method to specify under which InteractionNode modes this Displayable Manager InteractorStyle events. By default events only arrive when in Place mode (good for annotations) but if you want a continuous read out of, for example, slice positions while the mouse moves set this to include Place and ViewTransform

Reimplemented in vtkMRMLModelDisplayableManager, and vtkMRMLVolumeRenderingDisplayableManager.

◆ AddInteractorObservableEvent()

void vtkMRMLAbstractDisplayableManager::AddInteractorObservableEvent ( int  eventid,
float  priority = 0.0 
)
protected

Usually used inside AdditionalInitializeStep() Allows to add observer to the current interactor that will call the virtual method OnInteractorEvent accordingly.

See also
AdditionalInitializeStep RemoveInteractorObservableEvent

◆ AddInteractorStyleObservableEvent()

void vtkMRMLAbstractDisplayableManager::AddInteractorStyleObservableEvent ( int  eventid,
float  priority = 0.0 
)
protected

Usually used inside AdditionalInitializeStep() Allows to add observer to the current interactor style that will call the virtual method OnInteractorStyleEvent accordingly.

See also
AdditionalInitializeStep RemoveInteractorStyleObservableEvent

◆ AdditionalInitializeStep()

virtual void vtkMRMLAbstractDisplayableManager::AdditionalInitializeStep ( )
inlineprotectedvirtual

Sub-class could overload that function and perform additional initialization steps

Note
Called by SetRenderer()
Initialization occurs before the MRMLDisplayableNode is set and observed
Warning
That function should NOT be used directly !
See also
SetRenderer

Reimplemented in vtkMRMLCameraDisplayableManager, vtkMRMLCrosshairDisplayableManager, vtkMRMLScalarBarDisplayableManager, vtkMRMLViewDisplayableManager, and vtkMRMLCrosshairDisplayableManager3D.

Definition at line 136 of file vtkMRMLAbstractDisplayableManager.h.

◆ AddMRMLDisplayableManagerEvent()

void vtkMRMLAbstractDisplayableManager::AddMRMLDisplayableManagerEvent ( int  eventId)
protected

Allow to specify additional events that the DisplayableNode will observe.

Warning
Should be called within AdditionalInitializeStep() method
See also
AdditionalInitializeStep()

◆ CanProcessInteractionEvent()

virtual bool vtkMRMLAbstractDisplayableManager::CanProcessInteractionEvent ( vtkMRMLInteractionEventData eventData,
double &  distance2 
)
virtual

Return true if the displayable manager can process the event. Distance2 is the squared distance in display coordinates from the closest interaction position. The displayable manager with the closest distance will get the chance to process the interaction event.

Reimplemented in vtkMRMLAnnotationDisplayableManager, vtkMRMLMarkupsDisplayableManager, vtkMRMLCameraDisplayableManager, vtkMRMLCrosshairDisplayableManager, and vtkMRMLScalarBarDisplayableManager.

◆ Create()

virtual void vtkMRMLAbstractDisplayableManager::Create ( )
protectedvirtual

◆ CreateIfPossible()

void vtkMRMLAbstractDisplayableManager::CreateIfPossible ( )
protected

Invoke Create() and set Created flag to True A no-op if IsCreated() return True

◆ GetClassName()

virtual const char* vtkMRMLAbstractDisplayableManager::GetClassName ( )
virtual

◆ GetDataProbeInfoStringForPosition()

virtual std::string vtkMRMLAbstractDisplayableManager::GetDataProbeInfoStringForPosition ( double   vtkNotUsed(xyz)[3])
inlinevirtual

Assemble and return info string to display in Data probe for a given viewer XYZ position.

Returns
Invalid string by default, meaning no information to display.

Definition at line 91 of file vtkMRMLAbstractDisplayableManager.h.

◆ GetGrabFocus()

virtual bool vtkMRMLAbstractDisplayableManager::GetGrabFocus ( )
virtual

Displayable manager can indicate that it would like to get all events (even when mouse pointer is outside the window).

Reimplemented in vtkMRMLMarkupsDisplayableManager.

◆ GetInteractionNode()

vtkMRMLInteractionNode* vtkMRMLAbstractDisplayableManager::GetInteractionNode ( )

Convenient method to get the current InteractionNode.

◆ GetInteractive()

virtual bool vtkMRMLAbstractDisplayableManager::GetInteractive ( )
virtual

Displayable manager can indicate that the window is in interactive mode (faster updates).

Reimplemented in vtkMRMLMarkupsDisplayableManager.

◆ GetInteractor()

vtkRenderWindowInteractor* vtkMRMLAbstractDisplayableManager::GetInteractor ( )

Convenient method to get the WindowInteractor associated with the Renderer.

◆ GetInteractorAbortFlag()

int vtkMRMLAbstractDisplayableManager::GetInteractorAbortFlag ( )
protected

◆ GetInteractorStyleAbortFlag()

int vtkMRMLAbstractDisplayableManager::GetInteractorStyleAbortFlag ( )
protected

◆ GetLightBoxRendererManagerProxy()

virtual vtkMRMLLightBoxRendererManagerProxy* vtkMRMLAbstractDisplayableManager::GetLightBoxRendererManagerProxy ( )
virtual

Get the LightBoxRendererManagerProxy if one has been provided

See also
SetLightBoxRendererManagerProxy(vtkMRMLLightBoxRendererManagerProxy *)

◆ GetMouseCursor()

virtual int vtkMRMLAbstractDisplayableManager::GetMouseCursor ( )
virtual

Displayable manager returns ID of the mouse cursor shape that should be displayed.

Reimplemented in vtkMRMLMarkupsDisplayableManager.

◆ GetMRMLDisplayableManagerGroup()

vtkMRMLDisplayableManagerGroup* vtkMRMLAbstractDisplayableManager::GetMRMLDisplayableManagerGroup ( )
protected

Get associated DisplayableManager group.

◆ GetMRMLDisplayableNode()

vtkMRMLNode* vtkMRMLAbstractDisplayableManager::GetMRMLDisplayableNode ( )
protected

Get MRML Displayable Node.

◆ GetRenderer() [1/2]

vtkRenderer* vtkMRMLAbstractDisplayableManager::GetRenderer ( )

Get the default renderer for this displayable manager.

◆ GetRenderer() [2/2]

vtkRenderer* vtkMRMLAbstractDisplayableManager::GetRenderer ( int  idx)

Get the renderer for the Nth lightbox pane. This method uses the LightBoxRendererManagerProxy if one has been configured for the DisplayableManager. If no LightBoxRendererManagerProxy has been set, this method returns the default renderer by deferring to GetRenderer(),

◆ GetSelectionNode()

vtkMRMLSelectionNode* vtkMRMLAbstractDisplayableManager::GetSelectionNode ( )

Convenient method to get the current SelectionNode.

◆ GetWidgetsCallbackCommand()

vtkCallbackCommand* vtkMRMLAbstractDisplayableManager::GetWidgetsCallbackCommand ( )
protected

Get vtkWidget callbackCommand.

◆ GetWidgetsObserverManager()

vtkObserverManager* vtkMRMLAbstractDisplayableManager::GetWidgetsObserverManager ( ) const
protected

Get widget observerManager.

◆ InteractorAbortFlagOff()

void vtkMRMLAbstractDisplayableManager::InteractorAbortFlagOff ( )
protected

◆ InteractorAbortFlagOn()

void vtkMRMLAbstractDisplayableManager::InteractorAbortFlagOn ( )
protected

◆ InteractorStyleAbortFlagOff()

void vtkMRMLAbstractDisplayableManager::InteractorStyleAbortFlagOff ( )
protected

◆ InteractorStyleAbortFlagOn()

void vtkMRMLAbstractDisplayableManager::InteractorStyleAbortFlagOn ( )
protected

◆ IsA()

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

◆ IsCreated()

bool vtkMRMLAbstractDisplayableManager::IsCreated ( )

Return True if Create() method has been invoked

See also
CreateIfPossible() Create()

◆ IsTypeOf()

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

◆ New()

static vtkMRMLAbstractDisplayableManager* vtkMRMLAbstractDisplayableManager::New ( )
static

◆ OnInteractorEvent()

virtual void vtkMRMLAbstractDisplayableManager::OnInteractorEvent ( int  eventid)
protectedvirtual

Called after interactor event specified using AddInteractorObservableEvent are invoked

See also
AddInteractorObservableEvent RemoveInteractorObservableEvent

◆ OnInteractorStyleEvent()

virtual void vtkMRMLAbstractDisplayableManager::OnInteractorStyleEvent ( int  eventid)
protectedvirtual

Called after interactor style event specified using AddInteractorStyleObservableEvent are invoked.

Note
The following events are observed by default:
  • vtkCommand::LeftButtonPressEvent
  • vtkCommand::LeftButtonReleaseEvent
  • vtkCommand::RightButtonPressEvent
  • vtkCommand::RightButtonReleaseEvent
  • vtkCommand::MiddleButtonPressEvent
  • vtkCommand::MiddleButtonReleaseEvent
  • vtkCommand::MouseWheelBackwardEvent
  • vtkCommand::MouseWheelForwardEvent
  • vtkCommand::EnterEvent
  • vtkCommand::LeaveEvent
See also
AddInteractorStyleObservableEvent RemoveInteractorStyleObservableEvent

Reimplemented in vtkMRMLAnnotationDisplayableManager, vtkMRMLMarkupsDisplayableManager, vtkMRMLModelDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, vtkMRMLAnnotationFiducialDisplayableManager, and vtkMRMLScriptedDisplayableManager.

◆ OnMRMLDisplayableNodeModifiedEvent()

virtual void vtkMRMLAbstractDisplayableManager::OnMRMLDisplayableNodeModifiedEvent ( vtkObject *  caller)
protectedvirtual

◆ PrintSelf()

void vtkMRMLAbstractDisplayableManager::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ ProcessInteractionEvent()

virtual bool vtkMRMLAbstractDisplayableManager::ProcessInteractionEvent ( vtkMRMLInteractionEventData eventData)
virtual

Process an interaction event. Returns true if the event should be aborted (not processed any further by other event observers).

Reimplemented in vtkMRMLAnnotationDisplayableManager, vtkMRMLMarkupsDisplayableManager, vtkMRMLCameraDisplayableManager, vtkMRMLCrosshairDisplayableManager, and vtkMRMLScalarBarDisplayableManager.

◆ ProcessMRMLNodesEvents()

void vtkMRMLAbstractDisplayableManager::ProcessMRMLNodesEvents ( vtkObject *  caller,
unsigned long  event,
void *  callData 
)
overrideprotectedvirtual

◆ ProcessWidgetsEvents()

virtual void vtkMRMLAbstractDisplayableManager::ProcessWidgetsEvents ( vtkObject *  caller,
unsigned long  event,
void *  callData 
)
protectedvirtual

Receives all the events fired by any graphical object interacted by the user (typically vtk widgets). A typical use case is to listen to mrml nodes (using GetMRMLNodesCallbackCommand()) and update the graphical objects like mappers, actors, widgets... in ProcessMRMLNodesEvent, and to listen to user interactions (using (using GetWidgetsCallbackCommand()) like widgets and update the mrml nodes in ProcessWidgetsEvents. To listen to a widget (or any vtk Object), you can add an observer using GetWidgetsCallbackCommand(). ProcessWidgetsEvents doesn't do anything by default, you need to reimplement it.

Reimplemented in vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLViewDisplayableManager, and vtkMRMLThreeDReformatDisplayableManager.

◆ RemoveInteractorObservableEvent()

void vtkMRMLAbstractDisplayableManager::RemoveInteractorObservableEvent ( int  eventid)
protected

◆ RemoveInteractorStyleObservableEvent()

void vtkMRMLAbstractDisplayableManager::RemoveInteractorStyleObservableEvent ( int  eventid)
protected

◆ RemoveMRMLObservers()

virtual void vtkMRMLAbstractDisplayableManager::RemoveMRMLObservers ( )
protectedvirtual

◆ RequestRender()

void vtkMRMLAbstractDisplayableManager::RequestRender ( )
protected

Invoke vtkCommand::UpdateEvent and then call vtkMRMLThreeDViewDisplayableManagerFactory::RequestRender() which will also invoke vtkCommand::UpdateEvent. An observer can then listen for that event and "compress" the different Render requests to efficiently call RenderWindow->Render()

◆ SafeDownCast()

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

◆ SetAndObserveMRMLDisplayableNode()

void vtkMRMLAbstractDisplayableManager::SetAndObserveMRMLDisplayableNode ( vtkMRMLNode newMRMLDisplayableNode)
protected

Set MRML DisplayableNode Called by vtkMRMLDisplayableManagerFactory

◆ SetHasFocus()

virtual void vtkMRMLAbstractDisplayableManager::SetHasFocus ( bool  hasFocus)
virtual

Set if the widget gets/loses focus (interaction events are processed by this displayable manager).

Reimplemented in vtkMRMLMarkupsDisplayableManager.

◆ SetInteractorAbortFlag()

void vtkMRMLAbstractDisplayableManager::SetInteractorAbortFlag ( int  f)
protected

Set the Abort flag on the Interactor event callback.

◆ SetInteractorStyleAbortFlag()

void vtkMRMLAbstractDisplayableManager::SetInteractorStyleAbortFlag ( int  f)
protected

Set the Abort flag on the InteractorStyle event callback.

◆ SetLightBoxRendererManagerProxy()

virtual void vtkMRMLAbstractDisplayableManager::SetLightBoxRendererManagerProxy ( vtkMRMLLightBoxRendererManagerProxy )
virtual

Set the LightBoxRendererManager proxy. This proxy provides a method GetRenderer(int) that returns the renderer for the Nth lightbox pane. The DisplayableManagers use this method to map coordinates to the proper lightbox pane, e.g. in placing crosshairs or annotations in the proper renderer.

◆ SetMouseCursor()

void vtkMRMLAbstractDisplayableManager::SetMouseCursor ( int  cursor)

◆ SetMRMLDisplayableManagerGroup()

virtual void vtkMRMLAbstractDisplayableManager::SetMRMLDisplayableManagerGroup ( vtkMRMLDisplayableManagerGroup group)
protectedvirtual

◆ SetMRMLSceneInternal()

void vtkMRMLAbstractDisplayableManager::SetMRMLSceneInternal ( vtkMRMLScene newScene)
overrideprotectedvirtual

Called by SetMRMLScene - Used to initialize the Scene Observe all the events of the scene and call OnMRMLSceneEndClose() or OnMRMLSceneEndImport() if the new scene is valid

Reimplemented from vtkMRMLAbstractLogic.

Reimplemented in vtkMRMLAnnotationDisplayableManager, vtkMRMLMarkupsDisplayableManager, and vtkMRMLScriptedDisplayableManager.

◆ SetRenderer()

virtual void vtkMRMLAbstractDisplayableManager::SetRenderer ( vtkRenderer *  newRenderer)
protectedvirtual

◆ SetUpdateFromMRMLRequested()

void vtkMRMLAbstractDisplayableManager::SetUpdateFromMRMLRequested ( bool  requested)
protected

Specify if UodateFromMRML() should be called

See also
UpdateFromMRML()

◆ UpdateFromMRML()

virtual void vtkMRMLAbstractDisplayableManager::UpdateFromMRML ( )
inlineprotectedvirtual

◆ WidgetsCallback()

static void vtkMRMLAbstractDisplayableManager::WidgetsCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientData,
void *  callData 
)
staticprotected

WidgetsCallback is a static function to relay modified events from the vtk widgets.

Friends And Related Function Documentation

◆ vtkInternal

friend class vtkInternal
friend

Definition at line 285 of file vtkMRMLAbstractDisplayableManager.h.

◆ vtkMRMLDisplayableManagerGroup

friend class vtkMRMLDisplayableManagerGroup
friend

Access to SetRenderer, SetMRMLDisplayableNode and CreateIfPossible methods.

Definition at line 126 of file vtkMRMLAbstractDisplayableManager.h.


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