Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/MRMLDM/vtkMRMLAnnotationDisplayableManagerHelper.h>
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 | |
vtkMRMLAnnotationNode * | GetAnnotationNodeFromDisplayNode (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) VTK_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 vtkMRMLAnnotationDisplayableManagerHelper * | New () |
static vtkMRMLAnnotationDisplayableManagerHelper * | SafeDownCast (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 () | |
virtual | ~vtkMRMLAnnotationDisplayableManagerHelper () |
Definition at line 38 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef std::vector<vtkMRMLAnnotationNode*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::AnnotationNodeListIt |
.. and its associated convenient typedef
Definition at line 94 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef vtkObject vtkMRMLAnnotationDisplayableManagerHelper::Superclass |
Definition at line 45 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::WidgetIntersectionsIt |
.. and its associated convenient typedef
Definition at line 106 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::WidgetOverLineProjectionsIt |
.. and its associated convenient typedef
Definition at line 112 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::WidgetPointProjectionsIt |
.. and its associated convenient typedef
Definition at line 124 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::WidgetsIt |
.. and its associated convenient typedef
Definition at line 100 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator vtkMRMLAnnotationDisplayableManagerHelper::WidgetUnderLineProjectionsIt |
.. and its associated convenient typedef
Definition at line 118 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
|
protected |
|
protectedvirtual |
vtkMRMLAnnotationNode* vtkMRMLAnnotationDisplayableManagerHelper::GetAnnotationNodeFromDisplayNode | ( | vtkMRMLAnnotationDisplayNode * | displayNode | ) |
Search the annotation node list and return the annotation node that has this display node.
|
virtual |
vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetIntersectionWidget | ( | vtkMRMLAnnotationNode * | node | ) |
...an its associated vtkAbstractWidget* for Slice intersection representation
vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetOverLineProjectionWidget | ( | vtkMRMLAnnotationNode * | node | ) |
...an its associated vtkAbstractWidget* for Slice projection representation
vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetPointProjectionWidget | ( | vtkMRMLAnnotationNode * | node | ) |
...an its associated vtkAbstractWidget* for Slice projection representation
vtkHandleWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetSeed | ( | int | index | ) |
Get a placed seed.
vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetUnderLineProjectionWidget | ( | vtkMRMLAnnotationNode * | node | ) |
...an its associated vtkAbstractWidget* for Slice projection representation
vtkAbstractWidget* vtkMRMLAnnotationDisplayableManagerHelper::GetWidget | ( | vtkMRMLAnnotationNode * | node | ) |
Get a vtkAbstractWidget* given a node.
|
virtual |
|
static |
|
static |
void vtkMRMLAnnotationDisplayableManagerHelper::PlaceSeed | ( | double | x, |
double | y, | ||
vtkRenderWindowInteractor * | interactor, | ||
vtkRenderer * | renderer | ||
) |
Placement of seeds for widget placement.
void vtkMRMLAnnotationDisplayableManagerHelper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkMRMLAnnotationDisplayableManagerHelper::RemoveAllWidgetsAndNodes | ( | ) |
Remove all widgets, intersection widgets, nodes.
void vtkMRMLAnnotationDisplayableManagerHelper::RemoveSeeds | ( | ) |
Remove all placed seeds.
void vtkMRMLAnnotationDisplayableManagerHelper::RemoveWidgetAndNode | ( | vtkMRMLAnnotationNode * | node | ) |
Remove a node, its widget and its intersection widget.
|
static |
void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLocked | ( | vtkMRMLAnnotationNode * | node | ) |
Lock/Unlock a widget.
void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLockedAllWidgets | ( | bool | locked | ) |
Lock/Unlock all widgets.
void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLockedAllWidgetsFromInteractionNode | ( | vtkMRMLInteractionNode * | interactionNode | ) |
Lock/Unlock all widgets from interaction node.
void vtkMRMLAnnotationDisplayableManagerHelper::UpdateLockedAllWidgetsFromNodes | ( | ) |
Lock/Unlock all widgets based on the state of the nodes.
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
void vtkMRMLAnnotationDisplayableManagerHelper::UpdateWidget | ( | vtkMRMLAnnotationNode * | node | ) |
Update lock and visibility of a widget.
std::vector<vtkMRMLAnnotationNode*> vtkMRMLAnnotationDisplayableManagerHelper::AnnotationNodeList |
List of Nodes managed by the DisplayableManager.
Definition at line 91 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetIntersections |
Map of vtkWidgets to reflect the Slice intersections indexed using associated node ID.
Definition at line 103 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetOverLineProjections |
Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.
Definition at line 109 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetPointProjections |
Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.
Definition at line 121 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::Widgets |
Map of vtkWidget indexed using associated node ID.
Definition at line 97 of file vtkMRMLAnnotationDisplayableManagerHelper.h.
std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*> vtkMRMLAnnotationDisplayableManagerHelper::WidgetUnderLineProjections |
Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.
Definition at line 115 of file vtkMRMLAnnotationDisplayableManagerHelper.h.