9 #ifndef __vtkMRMLAnnotationPointDisplayNode_h 10 #define __vtkMRMLAnnotationPointDisplayNode_h 14 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 22 void PrintSelf ( ostream& os, vtkIndent indent )
override;
36 void WriteXML ( ostream& of,
int indent )
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];
148 this->SetSliceProjection( this->GetSliceProjection() |
156 this->SetSliceProjection( this->GetSliceProjection() &
164 this->SetSliceProjection( this->GetSliceProjection() |
172 this->SetSliceProjection( this->GetSliceProjection() &
void UpdateScene(vtkMRMLScene *scene) override
Finds the storage node and read the data.
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void CreateBackup()
Creates a backup of the current MRML state of this node and keeps a reference.
void SliceProjectionUseFiducialColorOn()
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void SliceProjectionUseFiducialColorOff()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
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()
void Copy(vtkMRMLNode *node) override
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
void SliceProjectionOutlinedBehindSlicePlaneOff()
void operator=(const vtkMRMLAnnotationDisplayNode &)
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
static vtkMRMLAnnotationDisplayNode * New()
Abstract Superclass for all specific types of MRML nodes.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
void SliceProjectionOutlinedBehindSlicePlaneOn()
int GetMaximumGlyphType()