Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkMRMLAnnotationROIDisplayableManager Class Reference

#include <Modules/Loadable/Annotations/MRMLDM/vtkMRMLAnnotationROIDisplayableManager.h>

Inheritance diagram for vtkMRMLAnnotationROIDisplayableManager:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLAnnotationROIDisplayableManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
 vtkTypeRevisionMacro (vtkMRMLAnnotationROIDisplayableManager, vtkMRMLAnnotationDisplayableManager)

Static Public Member Functions

static
vtkMRMLAnnotationROIDisplayableManager
New ()

Protected Member Functions

virtual vtkAbstractWidget * CreateWidget (vtkMRMLAnnotationNode *node)
 Create a widget.
virtual bool IsWidgetDisplayable (vtkMRMLSliceNode *sliceNode, vtkMRMLAnnotationNode *node)
 Check, if the widget is displayable in the current slice geometry.
virtual void OnClickInRenderWindow (double x, double y, const char *associatedNodeID)
 Callback for click in RenderWindow.
virtual void OnMRMLSceneNodeRemoved (vtkMRMLNode *node)
virtual void OnMRMLSliceNodeModifiedEvent (vtkMRMLSliceNode *sliceNode)
 Handler for specific SliceView actions.
virtual void OnWidgetCreated (vtkAbstractWidget *widget, vtkMRMLAnnotationNode *node)
 Gets called when widget was created.
virtual void PropagateMRMLToWidget (vtkMRMLAnnotationNode *node, vtkAbstractWidget *widget)
 Propagate properties of MRML node to widget.
virtual void PropagateMRMLToWidget2D (vtkMRMLAnnotationNode *node, vtkAbstractWidget *widget)
virtual void PropagateWidgetToMRML (vtkAbstractWidget *widget, vtkMRMLAnnotationNode *node)
 Propagate properties of widget to MRML node.
virtual void SetParentTransformToWidget (vtkMRMLAnnotationNode *node, vtkAbstractWidget *widget)
 Set mrml parent transform to widgets.
virtual void UpdatePosition (vtkAbstractWidget *widget, vtkMRMLNode *node)
 Update just the position for the widget, implemented by subclasses.
 vtkMRMLAnnotationROIDisplayableManager ()
virtual ~vtkMRMLAnnotationROIDisplayableManager ()

Detailed Description

Definition at line 30 of file vtkMRMLAnnotationROIDisplayableManager.h.


Constructor & Destructor Documentation

vtkMRMLAnnotationROIDisplayableManager::vtkMRMLAnnotationROIDisplayableManager ( ) [inline, protected]

Definition at line 42 of file vtkMRMLAnnotationROIDisplayableManager.h.

virtual vtkMRMLAnnotationROIDisplayableManager::~vtkMRMLAnnotationROIDisplayableManager ( ) [protected, virtual]

Member Function Documentation

virtual vtkAbstractWidget* vtkMRMLAnnotationROIDisplayableManager::CreateWidget ( vtkMRMLAnnotationNode node) [protected, virtual]

Create a widget.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

virtual bool vtkMRMLAnnotationROIDisplayableManager::IsWidgetDisplayable ( vtkMRMLSliceNode sliceNode,
vtkMRMLAnnotationNode node 
) [protected, virtual]

Check, if the widget is displayable in the current slice geometry.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

static vtkMRMLAnnotationROIDisplayableManager* vtkMRMLAnnotationROIDisplayableManager::New ( ) [static]
virtual void vtkMRMLAnnotationROIDisplayableManager::OnClickInRenderWindow ( double  x,
double  y,
const char *  associatedNodeID 
) [protected, virtual]

Callback for click in RenderWindow.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

virtual void vtkMRMLAnnotationROIDisplayableManager::OnMRMLSceneNodeRemoved ( vtkMRMLNode ) [protected, virtual]

If vtkMRMLScene::NodeRemovedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event

See also:
ProcessMRMLSceneEvents, SetMRMLSceneInternal
OnMRMLSceneNodeAdded, vtkMRMLScene::NodeAboutToBeRemoved

Reimplemented from vtkMRMLAnnotationDisplayableManager.

virtual void vtkMRMLAnnotationROIDisplayableManager::OnMRMLSliceNodeModifiedEvent ( vtkMRMLSliceNode sliceNode) [protected, virtual]

Handler for specific SliceView actions.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

virtual void vtkMRMLAnnotationROIDisplayableManager::OnWidgetCreated ( vtkAbstractWidget *  widget,
vtkMRMLAnnotationNode node 
) [protected, virtual]

Gets called when widget was created.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

void vtkMRMLAnnotationROIDisplayableManager::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkMRMLAnnotationROIDisplayableManager::PropagateMRMLToWidget ( vtkMRMLAnnotationNode node,
vtkAbstractWidget *  widget 
) [protected, virtual]

Propagate properties of MRML node to widget.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

virtual void vtkMRMLAnnotationROIDisplayableManager::PropagateMRMLToWidget2D ( vtkMRMLAnnotationNode node,
vtkAbstractWidget *  widget 
) [protected, virtual]
virtual void vtkMRMLAnnotationROIDisplayableManager::PropagateWidgetToMRML ( vtkAbstractWidget *  widget,
vtkMRMLAnnotationNode node 
) [protected, virtual]

Propagate properties of widget to MRML node.

Reimplemented from vtkMRMLAnnotationDisplayableManager.

virtual void vtkMRMLAnnotationROIDisplayableManager::SetParentTransformToWidget ( vtkMRMLAnnotationNode node,
vtkAbstractWidget *  widget 
) [protected, virtual]

Set mrml parent transform to widgets.

virtual void vtkMRMLAnnotationROIDisplayableManager::UpdatePosition ( vtkAbstractWidget *  widget,
vtkMRMLNode node 
) [protected, virtual]

Update just the position for the widget, implemented by subclasses.

vtkMRMLAnnotationROIDisplayableManager::vtkTypeRevisionMacro ( vtkMRMLAnnotationROIDisplayableManager  ,
vtkMRMLAnnotationDisplayableManager   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines