21#ifndef __vtkMRMLCrosshairDisplayableManager_h
22#define __vtkMRMLCrosshairDisplayableManager_h
26#include "vtkMRMLDisplayableManagerExport.h"
42 void PrintSelf(ostream& os, vtkIndent indent)
override;
virtual void OnMRMLNodeModified(vtkMRMLNode *)
virtual void UpdateFromMRMLScene()
virtual void UnobserveMRMLScene()
virtual void ObserveMRMLScene()
vtkMRMLAbstractSliceViewDisplayableManager()
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.