15 #ifndef VTKMRMLANNOTATIONDISPLAYABLEMANAGERHELPER_H_ 16 #define VTKMRMLANNOTATIONDISPLAYABLEMANAGERHELPER_H_ 19 #include "vtkSlicerAnnotationsModuleMRMLDisplayableManagerExport.h" 29 #include <vtkHandleWidget.h> 30 #include <vtkLineWidget2.h> 31 #include <vtkSeedWidget.h> 32 #include <vtkSmartPointer.h> 39 class VTK_SLICER_ANNOTATIONS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT
47 void PrintSelf(ostream& os, vtkIndent indent)
override;
50 void UpdateLockedAllWidgetsFromNodes();
54 void UpdateLockedAllWidgets(
bool locked);
74 void RemoveAllWidgetsAndNodes();
98 std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>
Widgets;
101 typedef std::map<vtkMRMLAnnotationNode*, vtkAbstractWidget*>::iterator
WidgetsIt;
134 void PlaceSeed(
double x,
double y, vtkRenderWindowInteractor * interactor, vtkRenderer * renderer);
137 vtkHandleWidget * GetSeed(
int index);
154 vtkSmartPointer<vtkSeedWidget> SeedWidget;
156 std::vector<vtkSmartPointer<vtkHandleWidget> > HandleWidgetList;
158 typedef std::vector<vtkSmartPointer<vtkHandleWidget> >::iterator HandleWidgetListIt;
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetPointProjections
Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetIntersections
Map of vtkWidgets to reflect the Slice intersections indexed using associated node ID...
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetOverLineProjectionsIt
.. and its associated convenient typedef
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetIntersectionsIt
.. and its associated convenient typedef
std::vector< vtkMRMLAnnotationNode * > AnnotationNodeList
List of Nodes managed by the DisplayableManager.
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetPointProjectionsIt
.. and its associated convenient typedef
std::vector< vtkMRMLAnnotationNode * >::iterator AnnotationNodeListIt
.. and its associated convenient typedef
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > Widgets
Map of vtkWidget indexed using associated node ID.
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetUnderLineProjections
Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * > WidgetOverLineProjections
Map of vtkWidgets to reflect the Slice projection indexed using associated node ID.
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetUnderLineProjectionsIt
.. and its associated convenient typedef
std::map< vtkMRMLAnnotationNode *, vtkAbstractWidget * >::iterator WidgetsIt
.. and its associated convenient typedef