15 #ifndef __vtkMRMLCrosshairNode_h 16 #define __vtkMRMLCrosshairNode_h 30 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36 CursorPositionModifiedEvent = 22000
43 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
47 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
55 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "Crosshair";};
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);
114 vtkSetMacro(Navigation,
int);
115 vtkGetMacro(Navigation,
int);
116 vtkBooleanMacro(Navigation,
int);
136 ShowSmallIntersection
149 CenteredJumpSlice = 2,
166 double CrosshairRAS[3];
171 double CursorPositionRAS[3];
174 double CursorPositionXYZ[3];
MRML node for storing a slice through RAS space.
MRML node for storing a crosshair through RAS space.
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()
vtkWeakPointer< vtkMRMLSliceNode > CursorSliceNode
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
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.