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 | Protected Attributes | Friends
vtkMRMLMarkupsDisplayableManager Class Reference

#include <Modules/Loadable/Markups/MRMLDM/vtkMRMLMarkupsDisplayableManager.h>

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

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

bool CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &closestDistance2) override
 
void ConvertDeviceToXYZ (double x, double y, double xyz[3])
 
vtkMRMLMarkupsNodeGetActiveMarkupsNodeForPlacement ()
 
virtual const char * GetClassName ()
 
int GetCurrentInteractionMode ()
 
bool GetGrabFocus () override
 Displayable manager can indicate that it would like to get all events (even when mouse pointer is outside the window). More...
 
vtkMRMLMarkupsDisplayableManagerHelperGetHelper ()
 
bool GetInteractive () override
 Displayable manager can indicate that the window is in interactive mode (faster updates). More...
 
int GetMouseCursor () override
 Displayable manager returns ID of the mouse cursor shape that should be displayed. More...
 
vtkMRMLSliceNodeGetMRMLSliceNode ()
 Get the sliceNode, if registered. This would mean it is a 2D SliceView displayableManager. More...
 
vtkSlicerMarkupsWidgetGetWidget (vtkMRMLMarkupsDisplayNode *node)
 Get the widget of a node. More...
 
vtkSlicerMarkupsWidgetGetWidgetForPlacement ()
 
virtual bool Is2DDisplayableManager ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
bool ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData) override
 
void SetHasFocus (bool hasFocus) override
 Set if the widget gets/loses focus (interaction events are processed by this displayable manager). More...
 
- Public Member Functions inherited from vtkMRMLAbstractDisplayableManager
virtual std::string GetDataProbeInfoStringForPosition (double vtkNotUsed(xyz)[3])
 
vtkMRMLInteractionNodeGetInteractionNode ()
 Convenient method to get the current InteractionNode. More...
 
vtkRenderWindowInteractor * GetInteractor ()
 Convenient method to get the WindowInteractor associated with the Renderer. More...
 
virtual vtkMRMLLightBoxRendererManagerProxyGetLightBoxRendererManagerProxy ()
 
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 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 vtkMRMLMarkupsDisplayableManagerNew ()
 
static vtkMRMLMarkupsDisplayableManagerSafeDownCast (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 AddObserversToInteractionNode ()
 Observe the interaction node. More...
 
vtkMRMLMarkupsNodeCreateNewMarkupsNode (const std::string &markupsNodeClassName)
 
vtkSlicerMarkupsWidgetCreateWidget (vtkMRMLMarkupsDisplayNode *node)
 Create a widget. More...
 
vtkSlicerMarkupsWidgetFindClosestWidget (vtkMRMLInteractionEventData *callData, double &closestDistance2)
 
virtual int GetDisableInteractorStyleEventsProcessing ()
 Accessor for internal flag that disables interactor style event processing. More...
 
virtual bool IsCorrectDisplayableManager ()
 Check if it is the right displayManager. More...
 
virtual bool IsManageable (vtkMRMLNode *node)
 
virtual bool IsManageable (const char *nodeClassName)
 
void OnInteractorStyleEvent (int eventid) override
 Respond to interactor style events. More...
 
void OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) override
 Called after the corresponding MRML View container was modified. More...
 
void OnMRMLSceneEndClose () override
 
void OnMRMLSceneEndImport () override
 
void OnMRMLSceneNodeAdded (vtkMRMLNode *node) override
 
void OnMRMLSceneNodeRemoved (vtkMRMLNode *node) override
 
virtual void OnMRMLSliceNodeModifiedEvent ()
 Handler for specific SliceView actions, iterate over the widgets in the helper. More...
 
void ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) override
 
void RemoveObserversFromInteractionNode ()
 
virtual void RequestRender ()
 Wrap the superclass render request in a check for batch processing. More...
 
void SetMRMLSceneInternal (vtkMRMLScene *newScene) override
 
void UpdateFromMRML () override
 
void UpdateFromMRMLScene () override
 
 vtkMRMLMarkupsDisplayableManager ()
 
 ~vtkMRMLMarkupsDisplayableManager () 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 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)
 
virtual void SetRenderer (vtkRenderer *newRenderer)
 
void SetUpdateFromMRMLRequested (bool requested)
 
 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 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 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 ()
 
 vtkMRMLAbstractLogic ()
 
 ~vtkMRMLAbstractLogic () override
 

Protected Attributes

std::set< std::string > Focus
 Contains class names of markups nodes that this displayable manager can handle. More...
 
vtkMRMLMarkupsDisplayableManagerHelperHelper
 
vtkWeakPointer< vtkSlicerMarkupsWidgetLastActiveWidget
 
double LastClickWorldCoordinates [4]
 

Friends

class vtkMRMLMarkupsDisplayableManagerHelper
 

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

Definition at line 41 of file vtkMRMLMarkupsDisplayableManager.h.

Member Typedef Documentation

◆ Superclass

Definition at line 50 of file vtkMRMLMarkupsDisplayableManager.h.

Constructor & Destructor Documentation

◆ vtkMRMLMarkupsDisplayableManager()

vtkMRMLMarkupsDisplayableManager::vtkMRMLMarkupsDisplayableManager ( )
protected

◆ ~vtkMRMLMarkupsDisplayableManager()

vtkMRMLMarkupsDisplayableManager::~vtkMRMLMarkupsDisplayableManager ( )
overrideprotected

Member Function Documentation

◆ AddObserversToInteractionNode()

void vtkMRMLMarkupsDisplayableManager::AddObserversToInteractionNode ( )
protected

Observe the interaction node.

◆ CanProcessInteractionEvent()

bool vtkMRMLMarkupsDisplayableManager::CanProcessInteractionEvent ( vtkMRMLInteractionEventData eventData,
double &  distance2 
)
overridevirtual

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 from vtkMRMLAbstractDisplayableManager.

◆ ConvertDeviceToXYZ()

void vtkMRMLMarkupsDisplayableManager::ConvertDeviceToXYZ ( double  x,
double  y,
double  xyz[3] 
)

Convert device coordinates (display) to XYZ coordinates (viewport). Parameter xyz is double[3]

See also
ConvertDeviceToXYZ(vtkRenderWindowInteractor *, vtkMRMLSliceNode *, double x, double y, double xyz[3])

◆ CreateNewMarkupsNode()

vtkMRMLMarkupsNode* vtkMRMLMarkupsDisplayableManager::CreateNewMarkupsNode ( const std::string &  markupsNodeClassName)
protected

◆ CreateWidget()

vtkSlicerMarkupsWidget* vtkMRMLMarkupsDisplayableManager::CreateWidget ( vtkMRMLMarkupsDisplayNode node)
protected

Create a widget.

◆ FindClosestWidget()

vtkSlicerMarkupsWidget* vtkMRMLMarkupsDisplayableManager::FindClosestWidget ( vtkMRMLInteractionEventData callData,
double &  closestDistance2 
)
protected

◆ GetActiveMarkupsNodeForPlacement()

vtkMRMLMarkupsNode* vtkMRMLMarkupsDisplayableManager::GetActiveMarkupsNodeForPlacement ( )

◆ GetClassName()

virtual const char* vtkMRMLMarkupsDisplayableManager::GetClassName ( )
virtual

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ GetCurrentInteractionMode()

int vtkMRMLMarkupsDisplayableManager::GetCurrentInteractionMode ( )

◆ GetDisableInteractorStyleEventsProcessing()

virtual int vtkMRMLMarkupsDisplayableManager::GetDisableInteractorStyleEventsProcessing ( )
protectedvirtual

Accessor for internal flag that disables interactor style event processing.

◆ GetGrabFocus()

bool vtkMRMLMarkupsDisplayableManager::GetGrabFocus ( )
overridevirtual

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

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ GetHelper()

vtkMRMLMarkupsDisplayableManagerHelper* vtkMRMLMarkupsDisplayableManager::GetHelper ( )
inline

Definition at line 60 of file vtkMRMLMarkupsDisplayableManager.h.

◆ GetInteractive()

bool vtkMRMLMarkupsDisplayableManager::GetInteractive ( )
overridevirtual

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

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ GetMouseCursor()

int vtkMRMLMarkupsDisplayableManager::GetMouseCursor ( )
overridevirtual

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

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ GetMRMLSliceNode()

vtkMRMLSliceNode* vtkMRMLMarkupsDisplayableManager::GetMRMLSliceNode ( )

Get the sliceNode, if registered. This would mean it is a 2D SliceView displayableManager.

◆ GetWidget()

vtkSlicerMarkupsWidget* vtkMRMLMarkupsDisplayableManager::GetWidget ( vtkMRMLMarkupsDisplayNode node)

Get the widget of a node.

◆ GetWidgetForPlacement()

vtkSlicerMarkupsWidget* vtkMRMLMarkupsDisplayableManager::GetWidgetForPlacement ( )

◆ Is2DDisplayableManager()

virtual bool vtkMRMLMarkupsDisplayableManager::Is2DDisplayableManager ( )
virtual

Check if this is a 2d SliceView displayable manager, returns true if so, false otherwise. Checks return from GetSliceNode for non null, which means it's a 2d displayable manager

◆ IsA()

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

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ IsCorrectDisplayableManager()

virtual bool vtkMRMLMarkupsDisplayableManager::IsCorrectDisplayableManager ( )
protectedvirtual

Check if it is the right displayManager.

◆ IsManageable() [1/2]

virtual bool vtkMRMLMarkupsDisplayableManager::IsManageable ( vtkMRMLNode node)
protectedvirtual

Return true if this displayable manager supports(can manage) that node, false otherwise. Can be reimplemented to add more conditions.

See also
IsManageable(const char*), IsCorrectDisplayableManager()

◆ IsManageable() [2/2]

virtual bool vtkMRMLMarkupsDisplayableManager::IsManageable ( const char *  nodeClassName)
protectedvirtual

Return true if this displayable manager supports(can manage) that node class, false otherwise. Can be reimplemented to add more conditions.

See also
IsManageable(vtkMRMLNode*), IsCorrectDisplayableManager()

◆ IsTypeOf()

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

◆ New()

static vtkMRMLMarkupsDisplayableManager* vtkMRMLMarkupsDisplayableManager::New ( )
static

◆ OnInteractorStyleEvent()

void vtkMRMLMarkupsDisplayableManager::OnInteractorStyleEvent ( int  eventid)
overrideprotectedvirtual

Respond to interactor style events.

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ OnMRMLDisplayableNodeModifiedEvent()

void vtkMRMLMarkupsDisplayableManager::OnMRMLDisplayableNodeModifiedEvent ( vtkObject *  caller)
overrideprotectedvirtual

Called after the corresponding MRML View container was modified.

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ OnMRMLSceneEndClose()

void vtkMRMLMarkupsDisplayableManager::OnMRMLSceneEndClose ( )
overrideprotectedvirtual

If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneStartClose

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneEndImport()

void vtkMRMLMarkupsDisplayableManager::OnMRMLSceneEndImport ( )
overrideprotectedvirtual

If vtkMRMLScene::EndImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneStartImport, OnMRMLSceneNew

Reimplemented from vtkMRMLAbstractLogic.

◆ OnMRMLSceneNodeAdded()

void vtkMRMLMarkupsDisplayableManager::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()

void vtkMRMLMarkupsDisplayableManager::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.

◆ OnMRMLSliceNodeModifiedEvent()

virtual void vtkMRMLMarkupsDisplayableManager::OnMRMLSliceNodeModifiedEvent ( )
protectedvirtual

Handler for specific SliceView actions, iterate over the widgets in the helper.

◆ PrintSelf()

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

◆ ProcessInteractionEvent()

bool vtkMRMLMarkupsDisplayableManager::ProcessInteractionEvent ( vtkMRMLInteractionEventData eventData)
overridevirtual

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

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ ProcessMRMLNodesEvents()

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

Receives all the events fired by the nodes. To listen to a node, you can add an observer using GetMRMLNodesCallbackCommand() or use the utility macros vtk[SetAndObserve|Observe]MRMLNode[Event]Macro ProcessMRMLNodesEvents calls OnMRMLNodeModified when event is vtkCommand::ModifiedEvent.

See also
ProcessMRMLSceneEvents, ProcessMRMLLogicsEvents, OnMRMLNodeModified(), vtkSetAndObserveMRMLNodeMacro, vtkObserveMRMLNodeMacro, vtkSetAndObserveMRMLNodeEventMacro

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ RemoveObserversFromInteractionNode()

void vtkMRMLMarkupsDisplayableManager::RemoveObserversFromInteractionNode ( )
protected

◆ RequestRender()

virtual void vtkMRMLMarkupsDisplayableManager::RequestRender ( )
protectedvirtual

Wrap the superclass render request in a check for batch processing.

◆ SafeDownCast()

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

◆ SetHasFocus()

void vtkMRMLMarkupsDisplayableManager::SetHasFocus ( bool  hasFocus)
overridevirtual

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

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ SetMRMLSceneInternal()

void vtkMRMLMarkupsDisplayableManager::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 vtkMRMLAbstractDisplayableManager.

◆ UpdateFromMRML()

void vtkMRMLMarkupsDisplayableManager::UpdateFromMRML ( )
overrideprotectedvirtual

Called from RequestRender method if UpdateFromMRMLRequested is true

See also
RequestRender() SetUpdateFromMRMLRequested()

Reimplemented from vtkMRMLAbstractDisplayableManager.

◆ UpdateFromMRMLScene()

void vtkMRMLMarkupsDisplayableManager::UpdateFromMRMLScene ( )
overrideprotectedvirtual

Called after the corresponding MRML event is triggered, from AbstractDisplayableManager

See also
ProcessMRMLSceneEvents

Reimplemented from vtkMRMLAbstractLogic.

Friends And Related Function Documentation

◆ vtkMRMLMarkupsDisplayableManagerHelper

Definition at line 47 of file vtkMRMLMarkupsDisplayableManager.h.

Member Data Documentation

◆ Focus

std::set<std::string> vtkMRMLMarkupsDisplayableManager::Focus
protected

Contains class names of markups nodes that this displayable manager can handle.

Definition at line 142 of file vtkMRMLMarkupsDisplayableManager.h.

◆ Helper

vtkMRMLMarkupsDisplayableManagerHelper* vtkMRMLMarkupsDisplayableManager::Helper
protected

Definition at line 148 of file vtkMRMLMarkupsDisplayableManager.h.

◆ LastActiveWidget

vtkWeakPointer<vtkSlicerMarkupsWidget> vtkMRMLMarkupsDisplayableManager::LastActiveWidget
protected

Definition at line 156 of file vtkMRMLMarkupsDisplayableManager.h.

◆ LastClickWorldCoordinates

double vtkMRMLMarkupsDisplayableManager::LastClickWorldCoordinates[4]
protected

Definition at line 152 of file vtkMRMLMarkupsDisplayableManager.h.


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