21#ifndef __vtkMRMLCrosshairDisplayableManager_h
22#define __vtkMRMLCrosshairDisplayableManager_h
26#include "vtkMRMLDisplayableManagerExport.h"
42 void PrintSelf(ostream& os, vtkIndent indent)
override;
79 void UnobserveMRMLScene()
override;
80 void ObserveMRMLScene()
override;
81 void UpdateFromMRMLScene()
override;
82 void OnMRMLNodeModified(
vtkMRMLNode* node)
override;
85 vtkInternal * Internal;
Superclass for displayable manager classes.
Displayable manager for the crosshair on slice (2D) views.
vtkMRMLSliceIntersectionWidget * GetSliceIntersectionWidget()
bool CanProcessInteractionEvent(vtkMRMLInteractionEventData *eventData, double &closestDistance2) override
~vtkMRMLCrosshairDisplayableManager() override
static vtkMRMLCrosshairDisplayableManager * New()
int GetMouseCursor() override
Displayable manager returns ID of the mouse cursor shape that should be displayed.
vtkMRMLCrosshairDisplayableManager()
void PrintSelf(ostream &os, vtkIndent indent) override
void SetHasFocus(bool hasFocus, vtkMRMLInteractionEventData *eventData) override
Set if the widget gets/loses focus (interaction events are processed by this displayable manager).
bool ProcessInteractionEvent(vtkMRMLInteractionEventData *eventData) override
void OnMRMLSliceNodeModifiedEvent() override
Called when the SliceNode is modified. May cause Crosshair to remap its position on screen.
static vtkMRMLCrosshairNode * FindCrosshairNode(vtkMRMLScene *scene)
void SetActionsEnabled(int actions)
void AdditionalInitializeStep() override
Method to perform additional initialization.
MRML node for storing a crosshair through RAS space.
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.