16 #ifndef __vtkMRMLAnnotationTextDisplayableManager_h 17 #define __vtkMRMLAnnotationTextDisplayableManager_h 21 #include "vtkSlicerAnnotationsModuleMRMLDisplayableManagerExport.h" 24 class vtkSlicerViewerWidget;
31 class VTK_SLICER_ANNOTATIONS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT
39 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
64 void BestGuessForNewCaptionCoordinates(
double bestGuess[2]);
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
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.
virtual ~vtkMRMLAnnotationTextDisplayableManager()
vtkMRMLAnnotationTextDisplayableManager()
virtual vtkAbstractWidget * CreateWidget(vtkMRMLAnnotationNode *node)
Create a widget.
virtual void PropagateMRMLToWidget(vtkMRMLAnnotationNode *node, vtkAbstractWidget *widget)
Propagate properties of MRML node to widget.
Abstract Superclass for all specific types of MRML nodes.
virtual void OnClickInRenderWindow(double x, double y, const char *associatedNodeID=NULL)
Callback for click in RenderWindow.
virtual void UpdatePosition(vtkAbstractWidget *vtkNotUsed(widget), vtkMRMLNode *vtkNotUsed(node))
Update just the position for the widget, implemented by subclasses.
static vtkMRMLAnnotationDisplayableManager * New()