16 #ifndef __vtkMRMLAnnotationROIDisplayableManager_h 17 #define __vtkMRMLAnnotationROIDisplayableManager_h 23 class vtkSlicerViewerWidget;
24 class vtkMRMLAnnotationROIDisplayNode;
30 class VTK_SLICER_ANNOTATIONS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT
38 void PrintSelf(ostream& os, vtkIndent indent)
override;
virtual void OnClickInRenderWindow(double x, double y, const char *associatedNodeID=nullptr)
Callback for click in RenderWindow.
virtual void SetParentTransformToWidget(vtkMRMLAnnotationNode *vtkNotUsed(node), vtkAbstractWidget *vtkNotUsed(widget))
Set mrml parent transform to widgets.
void OnMRMLSceneNodeRemoved(vtkMRMLNode *node) override
virtual bool IsWidgetDisplayable(vtkMRMLSliceNode *sliceNode, vtkMRMLAnnotationNode *node)
Check, if the widget is displayable in the current slice geometry.
MRML node for storing a slice through RAS space.
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 vtkAbstractWidget * CreateWidget(vtkMRMLAnnotationNode *node)
Create a widget.
virtual void OnMRMLSliceNodeModifiedEvent(vtkMRMLSliceNode *sliceNode)
Handler for specific SliceView actions.
virtual void PropagateMRMLToWidget(vtkMRMLAnnotationNode *node, vtkAbstractWidget *widget)
Propagate properties of MRML node to widget.
Abstract Superclass for all specific types of MRML nodes.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMRMLAnnotationROIDisplayableManager()
virtual void UpdatePosition(vtkAbstractWidget *vtkNotUsed(widget), vtkMRMLNode *vtkNotUsed(node))
Update just the position for the widget, implemented by subclasses.
static vtkMRMLAnnotationDisplayableManager * New()