15 #ifndef __vtkMRMLCrosshairNode_h 16 #define __vtkMRMLCrosshairNode_h 30 void PrintSelf(ostream& os, vtkIndent indent)
override;
36 CursorPositionModifiedEvent = 22000
47 void WriteXML(ostream& of,
int indent)
override;
59 vtkGetMacro (CrosshairMode,
int );
60 vtkSetMacro (CrosshairMode,
int );
61 vtkGetMacro (CrosshairBehavior,
int );
62 vtkSetMacro (CrosshairBehavior,
int );
63 vtkSetClampMacro (CrosshairThickness,
int, 1, 3);
64 vtkGetMacro (CrosshairThickness,
int);
76 void SetCursorPositionRAS(
double ras[3]);
85 void SetCursorPositionInvalid();
91 bool GetCursorPositionRAS(
double ras[3]);
101 vtkSetVector3Macro(CrosshairRAS,
double);
102 vtkGetVector3Macro(CrosshairRAS,
double);
106 void SetCrosshairRAS(
double ras[3],
int id);
109 vtkGetMacro(LightBoxPane,
int);
130 ShowSmallIntersection
143 CenteredJumpSlice = 2,
158 double CrosshairRAS[3];
163 double CursorPositionRAS[3];
166 double CursorPositionXYZ[3];
MRML node for storing a slice through RAS space.
MRML node for storing a crosshair through RAS space.
virtual void ReadXMLAttributes(const char **atts)
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
void SetCrosshairName(const char *name)
Name of the layout
char * GetCrosshairName()
virtual char * GetSingletonTag()
void SetCrosshairToMedium()
void SetCrosshairToFine()
void SetCrosshairToThick()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
vtkWeakPointer< vtkMRMLSliceNode > CursorSliceNode
virtual void WriteXML(ostream &of, int indent)
void PrintSelf(ostream &os, vtkIndent indent) override
#define vtkMRMLCopyContentMacro(thisClassName)
Abstract Superclass for all specific types of MRML nodes.
virtual void SetSingletonTag(const char *)
Tag that make this node a singleton in the scene.
bool CursorPositionRASValid
Set to false if the cursor is not in a view.