9 #ifndef __vtkMRMLAnnotationPointDisplayNode_h 10 #define __vtkMRMLAnnotationPointDisplayNode_h 14 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 22 void PrintSelf ( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
32 virtual
void ReadXMLAttributes ( const
char** atts ) VTK_OVERRIDE;
36 virtual
void WriteXML ( ostream& of,
int indent ) VTK_OVERRIDE;
41 virtual
void Copy (
vtkMRMLNode *node ) VTK_OVERRIDE;
45 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "AnnotationPointDisplay";}
55 void * ) VTK_OVERRIDE;
83 void SetGlyphType(
int type);
84 vtkGetMacro(GlyphType,
int);
86 int GlyphTypeIs3D(
int glyphType);
90 const char* GetGlyphTypeAsString();
91 const char* GetGlyphTypeAsString(
int g);
92 void SetGlyphTypeFromString(
const char *glyphString);
96 void SetGlyphScale(
double scale);
97 vtkGetMacro(GlyphScale,
double);
106 inline void SliceProjectionUseFiducialColorOn();
110 inline void SliceProjectionUseFiducialColorOff();
115 inline void SliceProjectionOutlinedBehindSlicePlaneOn();
120 inline void SliceProjectionOutlinedBehindSlicePlaneOff();
129 ProjectionUseFiducialColor = 0x02,
130 ProjectionOutlinedBehindSlicePlane = 0x04
141 static const char* GlyphTypesNames[GlyphMax+2];
~vtkMRMLAnnotationPointDisplayNode()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int GetSliceProjection()
virtual void SetSliceProjection(int)
virtual void CreateBackup()
Creates a backup of the current MRML state of this node and keeps a reference.
void SliceProjectionUseFiducialColorOn()
void SliceProjectionUseFiducialColorOff()
int GetMinimumGlyphType()
Return the min/max glyph types, for iterating over them in tcl.
A set of MRML Nodes that supports serialization and undo/redo.
virtual void RestoreBackup()
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
void SliceProjectionOutlinedBehindSlicePlaneOff()
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
void operator=(const vtkMRMLAnnotationDisplayNode &)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
static vtkMRMLAnnotationDisplayNode * New()
Abstract Superclass for all specific types of MRML nodes.
void SliceProjectionOutlinedBehindSlicePlaneOn()
int GetMaximumGlyphType()