16 #ifndef __vtkMRMLAnnotationStickyDisplayableManager_h 17 #define __vtkMRMLAnnotationStickyDisplayableManager_h 21 #include "vtkSlicerAnnotationsModuleMRMLDisplayableManagerExport.h" 24 class vtkSlicerViewerWidget;
30 class VTK_SLICER_ANNOTATIONS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT
38 void PrintSelf(ostream& os, vtkIndent indent);
virtual void OnClickInRenderWindow(double x, double y, const char *associatedNodeID=nullptr)
Callback for click in RenderWindow.
virtual ~vtkMRMLAnnotationStickyDisplayableManager()
virtual void OnWidgetCreated(vtkAbstractWidget *widget, vtkMRMLAnnotationNode *node)
Gets called when widget was created.
virtual void PropagateWidgetToMRML(vtkAbstractWidget *widget, vtkMRMLAnnotationNode *node)
Propagate properties of widget to MRML node.
vtkMRMLAnnotationStickyDisplayableManager()
virtual vtkAbstractWidget * CreateWidget(vtkMRMLAnnotationNode *node)
Create a widget.
virtual void PropagateMRMLToWidget(vtkMRMLAnnotationNode *node, vtkAbstractWidget *widget)
Propagate properties of MRML node to widget.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkMRMLAnnotationDisplayableManager * New()