vtkMRMLAnnotationPointDisplayNode Class Reference

#include <vtkMRMLAnnotationPointDisplayNode.h>

Inheritance diagram for vtkMRMLAnnotationPointDisplayNode:
vtkMRMLAnnotationDisplayNode vtkMRMLModelDisplayNode vtkMRMLDisplayNode vtkMRMLNode vtkObject

List of all members.

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 vtkMRMLNodeCreateNodeInstance ()
 MRMLNode methods.
const charGetGlyphTypeAsString (int g)
const charGetGlyphTypeAsString ()
 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 charGetNodeTagName ()
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 charGlyphTypesNames [GlyphMax+1]

Member Enumeration Documentation

Which kind of glyph should be used to display this fiducial? Vertex2D is supposed to start at 1

Enumerator:
GlyphMin 
Vertex2D 
Dash2D 
Cross2D 
ThickCross2D 
Triangle2D 
Square2D 
Circle2D 
Diamond2D 
Arrow2D 
ThickArrow2D 
HookedArrow2D 
StarBurst2D 
Sphere3D 
Diamond3D 
GlyphMax 

Constructor & Destructor Documentation

vtkMRMLAnnotationPointDisplayNode::vtkMRMLAnnotationPointDisplayNode (  )  [protected]

References GlyphType, StarBurst2D, and SymbolScale.

vtkMRMLAnnotationPointDisplayNode::~vtkMRMLAnnotationPointDisplayNode (  )  [inline, protected]
vtkMRMLAnnotationPointDisplayNode::vtkMRMLAnnotationPointDisplayNode ( const vtkMRMLAnnotationPointDisplayNode  )  [protected]

Member Function Documentation

void vtkMRMLAnnotationPointDisplayNode::Copy ( vtkMRMLNode node  )  [virtual]
vtkMRMLNode * vtkMRMLAnnotationPointDisplayNode::CreateNodeInstance ( void   )  [virtual]

MRMLNode methods.

Reimplemented from vtkMRMLAnnotationDisplayNode.

References autoSlicerTracto2regions::ret.

const char * vtkMRMLAnnotationPointDisplayNode::GetGlyphTypeAsString ( int  g  ) 

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::GetMaximumGlyphType (  )  [inline]

References GlyphMax.

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().

int vtkMRMLAnnotationPointDisplayNode::GlyphTypeIs3D ( int  glyphType  ) 

Returns 1 if the type is a 3d one, 0 else.

References Sphere3D.

vtkMRMLAnnotationPointDisplayNode * vtkMRMLAnnotationPointDisplayNode::New (  )  [static]
void vtkMRMLAnnotationPointDisplayNode::operator= ( const vtkMRMLAnnotationPointDisplayNode  )  [protected]

Reimplemented from vtkMRMLAnnotationDisplayNode.

void vtkMRMLAnnotationPointDisplayNode::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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  ) 
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::vtkGetMacro ( GlyphType  ,
int   
)
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.


Member Data Documentation

Initial value:
 
{ 
  "Vertex2D",
  "Dash2D",
  "Cross2D",
  "ThickCross2D",
  "Triangle2D",
  "Square2D",
  "Circle2D",
  "Diamond2D",
  "Arrow2D",
  "ThickArrow2D",
  "HookedArrow2D",
  "StarBurst2D",
  "Sphere3D",
  "Diamond3D"
}

Referenced by GetGlyphTypeAsString(), and SetGlyphTypeFromString().


The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1