#include <vtkMRMLAnnotationPointDisplayNode.h>
Public Types | |
| enum | GlyphShapes { GlyphMin, Vertex2D = GlyphMin, Dash2D, Cross2D, ThickCross2D, Triangle2D, Square2D, Circle2D, Diamond2D, Arrow2D, ThickArrow2D, HookedArrow2D, StarBurst2D, Sphere3D, Diamond3D, GlyphMax = Diamond3D } |
Public Member Functions | |
| virtual void | Copy (vtkMRMLNode *node) |
| virtual vtkMRMLNode * | CreateNodeInstance () |
| MRMLNode methods. | |
| const char * | GetGlyphTypeAsString (int g) |
| const char * | GetGlyphTypeAsString () |
| Return a string representing the glyph type, set it from a string. | |
| int | GetMaximumGlyphType () |
| int | GetMinimumGlyphType () |
| Return the min/max glyph types, for iterating over them in tcl. | |
| virtual const char * | GetNodeTagName () |
| int | GlyphTypeIs3D () |
| int | GlyphTypeIs3D (int glyphType) |
| Returns 1 if the type is a 3d one, 0 else. | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | ProcessMRMLEvents (vtkObject *, unsigned long, void *) |
| virtual void | ReadXMLAttributes (const char **atts) |
| void | SetGlyphType (int type) |
| The glyph type used to display this fiducial. | |
| void | SetGlyphTypeFromString (const char *glyphString) |
| void | SetSymbolScale (double scale) |
| virtual void | UpdateScene (vtkMRMLScene *scene) |
| vtkGetMacro (SymbolScale, double) | |
| vtkGetMacro (GlyphType, int) | |
| vtkTypeMacro (vtkMRMLAnnotationPointDisplayNode, vtkMRMLAnnotationDisplayNode) | |
| virtual void | WriteXML (ostream &of, int indent) |
Static Public Member Functions | |
| static vtkMRMLAnnotationPointDisplayNode * | New () |
Protected Member Functions | |
| void | operator= (const vtkMRMLAnnotationPointDisplayNode &) |
| vtkMRMLAnnotationPointDisplayNode (const vtkMRMLAnnotationPointDisplayNode &) | |
| vtkMRMLAnnotationPointDisplayNode () | |
| ~vtkMRMLAnnotationPointDisplayNode () | |
Protected Attributes | |
| int | GlyphType |
| double | SymbolScale |
Static Protected Attributes | |
| static const char * | GlyphTypesNames [GlyphMax+1] |
| vtkMRMLAnnotationPointDisplayNode::vtkMRMLAnnotationPointDisplayNode | ( | ) | [protected] |
References GlyphType, StarBurst2D, and SymbolScale.
| vtkMRMLAnnotationPointDisplayNode::~vtkMRMLAnnotationPointDisplayNode | ( | ) | [inline, protected] |
| vtkMRMLAnnotationPointDisplayNode::vtkMRMLAnnotationPointDisplayNode | ( | const vtkMRMLAnnotationPointDisplayNode & | ) | [protected] |
| void vtkMRMLAnnotationPointDisplayNode::Copy | ( | vtkMRMLNode * | node | ) | [virtual] |
Copy the node's attributes to this object
Reimplemented from vtkMRMLAnnotationDisplayNode.
References vtkMRMLNode::EndModify(), GlyphType, SetGlyphType(), SetSymbolScale(), vtkMRMLNode::StartModify(), and SymbolScale.
Referenced by vtkMRMLAnnotationFiducialsStorageNode::ReadAnnotationFiducialsData(), SaveControlPoints(), qSlicermiAnnotationModuleAnnotationPropertyDialog::SaveControlPoints(), UndoControlPoints(), and qSlicermiAnnotationModuleAnnotationPropertyDialog::UndoControlPoints().
| vtkMRMLNode * vtkMRMLAnnotationPointDisplayNode::CreateNodeInstance | ( | void | ) | [virtual] |
MRMLNode methods.
Reimplemented from vtkMRMLAnnotationDisplayNode.
References autoSlicerTracto2regions::ret.
References GlyphMax, GlyphMin, and GlyphTypesNames.
| const char * vtkMRMLAnnotationPointDisplayNode::GetGlyphTypeAsString | ( | ) |
Return a string representing the glyph type, set it from a string.
References GlyphType.
Referenced by PrintSelf().
| int vtkMRMLAnnotationPointDisplayNode::GetMinimumGlyphType | ( | ) | [inline] |
Return the min/max glyph types, for iterating over them in tcl.
References GlyphMin.
| virtual const char* vtkMRMLAnnotationPointDisplayNode::GetNodeTagName | ( | ) | [inline, virtual] |
Get node XML tag name (like Volume, Model)
Reimplemented from vtkMRMLAnnotationDisplayNode.
| int vtkMRMLAnnotationPointDisplayNode::GlyphTypeIs3D | ( | ) | [inline] |
References GlyphTypeIs3D().
Referenced by GlyphTypeIs3D().
Returns 1 if the type is a 3d one, 0 else.
References Sphere3D.
| vtkMRMLAnnotationPointDisplayNode * vtkMRMLAnnotationPointDisplayNode::New | ( | ) | [static] |
Reimplemented from vtkMRMLAnnotationDisplayNode.
References autoSlicerTracto2regions::ret.
Referenced by SaveControlPoints(), and qSlicermiAnnotationModuleAnnotationPropertyDialog::SaveControlPoints().
| void vtkMRMLAnnotationPointDisplayNode::operator= | ( | const vtkMRMLAnnotationPointDisplayNode & | ) | [protected] |
Reimplemented from vtkMRMLAnnotationDisplayNode.
| void vtkMRMLAnnotationPointDisplayNode::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) |
Reimplemented from vtkMRMLAnnotationDisplayNode.
References GetGlyphTypeAsString(), GlyphType, and SymbolScale.
| void vtkMRMLAnnotationPointDisplayNode::ProcessMRMLEvents | ( | vtkObject * | caller, | |
| unsigned long | event, | |||
| void * | callData | |||
| ) | [virtual] |
Propagate Progress Event generated in ReadData
Reimplemented from vtkMRMLAnnotationDisplayNode.
| void vtkMRMLAnnotationPointDisplayNode::ReadXMLAttributes | ( | const char ** | atts | ) | [virtual] |
Read node attributes from XML file
Reimplemented from vtkMRMLAnnotationDisplayNode.
References vtkMRMLNode::EndModify(), GlyphType, vtkMRMLNode::StartModify(), and SymbolScale.
| void vtkMRMLAnnotationPointDisplayNode::SetGlyphType | ( | int | type | ) |
The glyph type used to display this fiducial.
References GlyphType.
Referenced by Copy(), vtkMRMLAnnotationControlPointsStorageNode::ReadAnnotationPointDisplayProperties(), and SetGlyphTypeFromString().
| void vtkMRMLAnnotationPointDisplayNode::SetGlyphTypeFromString | ( | const char * | glyphString | ) |
References GlyphMax, GlyphMin, GlyphTypesNames, vtkMRMLNode::ID, and SetGlyphType().
| void vtkMRMLAnnotationPointDisplayNode::SetSymbolScale | ( | double | scale | ) |
Get/Set for Symbol scale vtkSetMacro(SymbolScale,double);
References SymbolScale.
Referenced by Copy(), and vtkMRMLAnnotationControlPointsStorageNode::ReadAnnotationPointDisplayProperties().
| void vtkMRMLAnnotationPointDisplayNode::UpdateScene | ( | vtkMRMLScene * | scene | ) | [virtual] |
Finds the storage node and read the data
Reimplemented from vtkMRMLAnnotationDisplayNode.
| vtkMRMLAnnotationPointDisplayNode::vtkGetMacro | ( | SymbolScale | , | |
| double | ||||
| ) |
| vtkMRMLAnnotationPointDisplayNode::vtkTypeMacro | ( | vtkMRMLAnnotationPointDisplayNode | , | |
| vtkMRMLAnnotationDisplayNode | ||||
| ) |
| void vtkMRMLAnnotationPointDisplayNode::WriteXML | ( | ostream & | of, | |
| int | indent | |||
| ) | [virtual] |
Write this node's information to a MRML file in XML format.
Reimplemented from vtkMRMLAnnotationDisplayNode.
References GlyphType, and SymbolScale.
int vtkMRMLAnnotationPointDisplayNode::GlyphType [protected] |
Referenced by Copy(), GetGlyphTypeAsString(), PrintSelf(), ReadXMLAttributes(), SetGlyphType(), vtkMRMLAnnotationPointDisplayNode(), and WriteXML().
const char * vtkMRMLAnnotationPointDisplayNode::GlyphTypesNames [static, protected] |
{
"Vertex2D",
"Dash2D",
"Cross2D",
"ThickCross2D",
"Triangle2D",
"Square2D",
"Circle2D",
"Diamond2D",
"Arrow2D",
"ThickArrow2D",
"HookedArrow2D",
"StarBurst2D",
"Sphere3D",
"Diamond3D"
}
Referenced by GetGlyphTypeAsString(), and SetGlyphTypeFromString().
double vtkMRMLAnnotationPointDisplayNode::SymbolScale [protected] |
Referenced by Copy(), PrintSelf(), ReadXMLAttributes(), SetSymbolScale(), vtkMRMLAnnotationPointDisplayNode(), and WriteXML().
1.6.1