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 | Public Attributes | Protected Member Functions
vtkMRMLAnnotationDisplayableManagerHelper Class Reference

#include <Modules/Loadable/Annotations/MRMLDM/vtkMRMLAnnotationDisplayableManagerHelper.h>

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

Public Types

typedef std::vector< vtkMRMLAnnotationNode * >::iterator AnnotationNodeListIt
 .. and its associated convenient typedef More...
 
typedef vtkObject Superclass
 
typedef std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetIntersectionsIt
 .. and its associated convenient typedef More...
 
typedef std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetOverLineProjectionsIt
 .. and its associated convenient typedef More...
 
typedef std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetPointProjectionsIt
 .. and its associated convenient typedef More...
 
typedef std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetsIt
 .. and its associated convenient typedef More...
 
typedef std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetUnderLineProjectionsIt
 .. and its associated convenient typedef More...
 

Public Member Functions

vtkMRMLAnnotationNodeGetAnnotationNodeFromDisplayNode (vtkMRMLAnnotationDisplayNode *displayNode)
 Search the annotation node list and return the annotation node that has this display node. More...
 
virtual const char * GetClassName ()
 
vtkAbstractWidget * GetIntersectionWidget (vtkMRMLAnnotationNode *node)
 ...an its associated vtkAbstractWidget* for Slice intersection representation More...
 
vtkAbstractWidget * GetOverLineProjectionWidget (vtkMRMLAnnotationNode *node)
 ...an its associated vtkAbstractWidget* for Slice projection representation More...
 
vtkAbstractWidget * GetPointProjectionWidget (vtkMRMLAnnotationNode *node)
 ...an its associated vtkAbstractWidget* for Slice projection representation More...
 
vtkHandleWidget * GetSeed (int index)
 Get a placed seed. More...
 
vtkAbstractWidget * GetUnderLineProjectionWidget (vtkMRMLAnnotationNode *node)
 ...an its associated vtkAbstractWidget* for Slice projection representation More...
 
vtkAbstractWidget * GetWidget (vtkMRMLAnnotationNode *node)
 Get a vtkAbstractWidget* given a node. More...
 
virtual int IsA (const char *type)
 
void PlaceSeed (double x, double y, vtkRenderWindowInteractor *interactor, vtkRenderer *renderer)
 Placement of seeds for widget placement. More...
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void RemoveAllWidgetsAndNodes ()
 Remove all widgets, intersection widgets, nodes. More...
 
void RemoveSeeds ()
 Remove all placed seeds. More...
 
void RemoveWidgetAndNode (vtkMRMLAnnotationNode *node)
 Remove a node, its widget and its intersection widget. More...
 
void UpdateLocked (vtkMRMLAnnotationNode *node)
 Lock/Unlock a widget. More...
 
void UpdateLockedAllWidgets (bool locked)
 Lock/Unlock all widgets. More...
 
void UpdateLockedAllWidgetsFromInteractionNode (vtkMRMLInteractionNode *interactionNode)
 Lock/Unlock all widgets from interaction node. More...
 
void UpdateLockedAllWidgetsFromNodes ()
 Lock/Unlock all widgets based on the state of the nodes. More...
 
void UpdateVisible (vtkMRMLAnnotationNode *node, bool displayableInViewer=true)
 
void UpdateWidget (vtkMRMLAnnotationNode *node)
 Update lock and visibility of a widget. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLAnnotationDisplayableManagerHelperNew ()
 
static vtkMRMLAnnotationDisplayableManagerHelperSafeDownCast (vtkObject *o)
 

Public Attributes

std::vector< vtkMRMLAnnotationNode * > AnnotationNodeList
 List of Nodes managed by the DisplayableManager. More...
 
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetIntersections
 Map of vtkWidgets to reflect the Slice intersections indexed using associated node ID. More...
 
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetOverLineProjections
 Map of vtkWidgets to reflect the Slice projection indexed using associated node ID. More...
 
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetPointProjections
 Map of vtkWidgets to reflect the Slice projection indexed using associated node ID. More...
 
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > Widgets
 Map of vtkWidget indexed using associated node ID. More...
 
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetUnderLineProjections
 Map of vtkWidgets to reflect the Slice projection indexed using associated node ID. More...
 

Protected Member Functions

 vtkMRMLAnnotationDisplayableManagerHelper ()
 
 ~vtkMRMLAnnotationDisplayableManagerHelper () override
 

Detailed Description

Definition at line 39 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

Member Typedef Documentation

◆ AnnotationNodeListIt

.. and its associated convenient typedef

Definition at line 95 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ Superclass

Definition at line 46 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetIntersectionsIt

.. and its associated convenient typedef

Definition at line 107 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetOverLineProjectionsIt

.. and its associated convenient typedef

Definition at line 113 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetPointProjectionsIt

.. and its associated convenient typedef

Definition at line 125 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetsIt

typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::WidgetsIt

.. and its associated convenient typedef

Definition at line 101 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetUnderLineProjectionsIt

.. and its associated convenient typedef

Definition at line 119 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

Constructor & Destructor Documentation

◆ vtkMRMLAnnotationDisplayableManagerHelper()

vtkMRMLAnnotationDisplayableManagerHelper::vtkMRMLAnnotationDisplayableManagerHelper ( )
protected

◆ ~vtkMRMLAnnotationDisplayableManagerHelper()

vtkMRMLAnnotationDisplayableManagerHelper::~vtkMRMLAnnotationDisplayableManagerHelper ( )
overrideprotected

Member Function Documentation

◆ GetAnnotationNodeFromDisplayNode()

vtkMRMLAnnotationNode* vtkMRMLAnnotationDisplayableManagerHelper::GetAnnotationNodeFromDisplayNode ( vtkMRMLAnnotationDisplayNode displayNode)

Search the annotation node list and return the annotation node that has this display node.

◆ GetClassName()

virtual const char* vtkMRMLAnnotationDisplayableManagerHelper::GetClassName ( )
virtual

◆ GetIntersectionWidget()

vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetIntersectionWidget ( vtkMRMLAnnotationNode node)

...an its associated vtkAbstractWidget* for Slice intersection representation

◆ GetOverLineProjectionWidget()

vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetOverLineProjectionWidget ( vtkMRMLAnnotationNode node)

...an its associated vtkAbstractWidget* for Slice projection representation

◆ GetPointProjectionWidget()

vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetPointProjectionWidget ( vtkMRMLAnnotationNode node)

...an its associated vtkAbstractWidget* for Slice projection representation

◆ GetSeed()

vtkHandleWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetSeed ( int  index)

Get a placed seed.

◆ GetUnderLineProjectionWidget()

vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetUnderLineProjectionWidget ( vtkMRMLAnnotationNode node)

...an its associated vtkAbstractWidget* for Slice projection representation

◆ GetWidget()

vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetWidget ( vtkMRMLAnnotationNode node)

Get a vtkAbstractWidget* given a node.

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkMRMLAnnotationDisplayableManagerHelper* vtkMRMLAnnotationDisplayableManagerHelper::New ( )
static

◆ PlaceSeed()

void vtkMRMLAnnotationDisplayableManagerHelper::PlaceSeed ( double  x,
double  y,
vtkRenderWindowInteractor *  interactor,
vtkRenderer *  renderer 
)

Placement of seeds for widget placement.

◆ PrintSelf()

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

◆ RemoveAllWidgetsAndNodes()

void vtkMRMLAnnotationDisplayableManagerHelper::RemoveAllWidgetsAndNodes ( )

Remove all widgets, intersection widgets, nodes.

◆ RemoveSeeds()

void vtkMRMLAnnotationDisplayableManagerHelper::RemoveSeeds ( )

Remove all placed seeds.

◆ RemoveWidgetAndNode()

void vtkMRMLAnnotationDisplayableManagerHelper::RemoveWidgetAndNode ( vtkMRMLAnnotationNode node)

Remove a node, its widget and its intersection widget.

◆ SafeDownCast()

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

◆ UpdateLocked()

void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLocked ( vtkMRMLAnnotationNode node)

Lock/Unlock a widget.

◆ UpdateLockedAllWidgets()

void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLockedAllWidgets ( bool  locked)

Lock/Unlock all widgets.

◆ UpdateLockedAllWidgetsFromInteractionNode()

void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLockedAllWidgetsFromInteractionNode ( vtkMRMLInteractionNode interactionNode)

Lock/Unlock all widgets from interaction node.

◆ UpdateLockedAllWidgetsFromNodes()

void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLockedAllWidgetsFromNodes ( )

Lock/Unlock all widgets based on the state of the nodes.

◆ UpdateVisible()

void vtkMRMLAnnotationDisplayableManagerHelper::UpdateVisible ( vtkMRMLAnnotationNode node,
bool  displayableInViewer = true 
)

Hide/Show a widget according to node's visible flag and if it can be displayed in this viewer

◆ UpdateWidget()

void vtkMRMLAnnotationDisplayableManagerHelper::UpdateWidget ( vtkMRMLAnnotationNode node)

Update lock and visibility of a widget.

Member Data Documentation

◆ AnnotationNodeList

std::vector<vtkMRMLAnnotationNode*> vtkMRMLAnnotationDisplayableManagerHelper::AnnotationNodeList

List of Nodes managed by the DisplayableManager.

Definition at line 92 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetIntersections

std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetIntersections

Map of vtkWidgets to reflect the Slice intersections indexed using associated node ID.

Definition at line 104 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetOverLineProjections

std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetOverLineProjections

Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.

Definition at line 110 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetPointProjections

std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetPointProjections

Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.

Definition at line 122 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ Widgets

std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::Widgets

Map of vtkWidget indexed using associated node ID.

Definition at line 98 of file vtkMRMLAnnotationDisplayableManagerHelper.h.

◆ WidgetUnderLineProjections

std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetUnderLineProjections

Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.

Definition at line 116 of file vtkMRMLAnnotationDisplayableManagerHelper.h.


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