vtkMRMLAnnotationControlPointsNode Class Reference

#include <vtkMRMLAnnotationControlPointsNode.h>

Inheritance diagram for vtkMRMLAnnotationControlPointsNode:
vtkMRMLAnnotationNode vtkMRMLModelNode vtkMRMLDisplayableNode vtkMRMLStorableNode vtkMRMLTransformableNode vtkMRMLNode vtkObject vtkMRMLAnnotationFiducialNode vtkMRMLAnnotationLinesNode vtkMRMLAnnotationAngleNode vtkMRMLAnnotationRulerNode

List of all members.

Public Types

enum  { ControlPointModifiedEvent = 19010 }
enum  { CP_SELECTED = vtkMRMLAnnotationNode::NUM_TEXT_ATTRIBUTE_TYPES, CP_VISIBLE, NUM_CP_ATTRIBUTE_TYPES }
enum  NumberingSchemes {
  SchemeMin = 0, UseID = SchemeMin, UseIndex, UsePrevious,
  SchemeMax = UsePrevious
}
 

flags to determine how the next fiducial added to the list is labelled

More...

Public Member Functions

int AddControlPoint (double newControl[3], int selectedFlag, int visibleFlag)
virtual void Copy (vtkMRMLNode *node)
 Copy the node's attributes to this object.
void CreateAnnotationPointDisplayNode ()
virtual vtkMRMLStorageNodeCreateDefaultStorageNode ()
virtual vtkMRMLNodeCreateNodeInstance ()
 MRMLNode methods.
void DeleteControlPoint (int id)
vtkMRMLAnnotationPointDisplayNodeGetAnnotationPointDisplayNode ()
const charGetAttributeTypesEnumAsString (int val)
double * GetControlPointCoordinates (vtkIdType id)
virtual const charGetNodeTagName ()
const charGetNumberingSchemeAsString (int g)
const charGetNumberingSchemeAsString ()
 Return a string representing the numbering scheme, set it from a string.
int GetNumberOfControlPoints ()
virtual void PrintAnnotationInfo (ostream &os, vtkIndent indent, int titleFlag=1)
virtual void ProcessMRMLEvents (vtkObject *, unsigned long, void *)
virtual void ReadXMLAttributes (const char **atts)
virtual void ResetAnnotations ()
int SetControlPoint (int id, double newControl[3], int selectedFlag, int visibleFlag)
void SetNumberingSchemeFromString (const char *schemeString)
void UpdateScene (vtkMRMLScene *scene)
 vtkGetMacro (NumberingScheme, int)
 vtkSetMacro (NumberingScheme, int)
 Flag determining how to number the next added fiducial.
 vtkTypeMacro (vtkMRMLAnnotationControlPointsNode, vtkMRMLAnnotationNode)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static
vtkMRMLAnnotationControlPointsNode
New ()

Protected Member Functions

void CreatePolyData ()
void operator= (const vtkMRMLAnnotationControlPointsNode &)
void ResetControlPoints ()
void ResetControlPointsAttributesAll ()
 vtkMRMLAnnotationControlPointsNode (const vtkMRMLAnnotationControlPointsNode &)
 vtkMRMLAnnotationControlPointsNode ()
 ~vtkMRMLAnnotationControlPointsNode ()

Protected Attributes

int NumberingScheme
 How the next annotation will be numbered in it's Text field.

Member Enumeration Documentation

anonymous enum
Enumerator:
ControlPointModifiedEvent 
anonymous enum
Enumerator:
CP_SELECTED 
CP_VISIBLE 
NUM_CP_ATTRIBUTE_TYPES 

flags to determine how the next fiducial added to the list is labelled

Enumerator:
SchemeMin 
UseID 
UseIndex 
UsePrevious 
SchemeMax 

Constructor & Destructor Documentation

vtkMRMLAnnotationControlPointsNode::vtkMRMLAnnotationControlPointsNode (  )  [protected]

References NumberingScheme, and UseID.

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

Member Function Documentation

int vtkMRMLAnnotationControlPointsNode::AddControlPoint ( double  newControl[3],
int  selectedFlag,
int  visibleFlag 
)
virtual void vtkMRMLAnnotationControlPointsNode::Copy ( vtkMRMLNode node  )  [inline, virtual]

Copy the node's attributes to this object.

Description:

Reimplemented from vtkMRMLAnnotationNode.

Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLinesNode, and vtkMRMLAnnotationRulerNode.

void vtkMRMLAnnotationControlPointsNode::CreateAnnotationPointDisplayNode (  ) 
vtkMRMLStorageNode * vtkMRMLAnnotationControlPointsNode::CreateDefaultStorageNode (  )  [virtual]

Create default storage node or NULL if does not have one

Reimplemented from vtkMRMLAnnotationNode.

Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLinesNode, and vtkMRMLAnnotationRulerNode.

References vtkMRMLAnnotationControlPointsStorageNode::New().

vtkMRMLNode * vtkMRMLAnnotationControlPointsNode::CreateNodeInstance ( void   )  [virtual]
void vtkMRMLAnnotationControlPointsNode::CreatePolyData (  )  [protected]

Reimplemented from vtkMRMLAnnotationNode.

Reimplemented in vtkMRMLAnnotationLinesNode.

References New().

Referenced by ResetControlPoints().

void vtkMRMLAnnotationControlPointsNode::DeleteControlPoint ( int  id  ) 
vtkMRMLAnnotationPointDisplayNode * vtkMRMLAnnotationControlPointsNode::GetAnnotationPointDisplayNode (  ) 
const char * vtkMRMLAnnotationControlPointsNode::GetAttributeTypesEnumAsString ( int  val  )  [virtual]
double * vtkMRMLAnnotationControlPointsNode::GetControlPointCoordinates ( vtkIdType  id  ) 
virtual const char* vtkMRMLAnnotationControlPointsNode::GetNodeTagName (  )  [inline, virtual]

Get node XML tag name (like Volume, Model)

Reimplemented from vtkMRMLAnnotationNode.

Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationFiducialNode, vtkMRMLAnnotationLinesNode, and vtkMRMLAnnotationRulerNode.

const char * vtkMRMLAnnotationControlPointsNode::GetNumberingSchemeAsString ( int  g  ) 

References UseID, UseIndex, and UsePrevious.

const char * vtkMRMLAnnotationControlPointsNode::GetNumberingSchemeAsString (  ) 

Return a string representing the numbering scheme, set it from a string.

References NumberingScheme.

Referenced by PrintAnnotationInfo().

int vtkMRMLAnnotationControlPointsNode::GetNumberOfControlPoints (  ) 
vtkMRMLAnnotationControlPointsNode * vtkMRMLAnnotationControlPointsNode::New (  )  [static]
void vtkMRMLAnnotationControlPointsNode::operator= ( const vtkMRMLAnnotationControlPointsNode  )  [protected]
void vtkMRMLAnnotationControlPointsNode::PrintAnnotationInfo ( ostream &  os,
vtkIndent  indent,
int  titleFlag = 1 
) [virtual]
void vtkMRMLAnnotationControlPointsNode::ProcessMRMLEvents ( vtkObject caller,
unsigned long  event,
void *  callData 
) [virtual]

alternative method to propagate events generated in Display nodes

Reimplemented from vtkMRMLAnnotationNode.

Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLinesNode, and vtkMRMLAnnotationRulerNode.

void vtkMRMLAnnotationControlPointsNode::ReadXMLAttributes ( const char **  atts  )  [virtual]
void vtkMRMLAnnotationControlPointsNode::ResetAnnotations (  )  [virtual]
void vtkMRMLAnnotationControlPointsNode::ResetControlPoints (  )  [protected]
void vtkMRMLAnnotationControlPointsNode::ResetControlPointsAttributesAll (  )  [protected]
int vtkMRMLAnnotationControlPointsNode::SetControlPoint ( int  id,
double  newControl[3],
int  selectedFlag,
int  visibleFlag 
)
void vtkMRMLAnnotationControlPointsNode::SetNumberingSchemeFromString ( const char schemeString  ) 

References UseID, UseIndex, and UsePrevious.

void vtkMRMLAnnotationControlPointsNode::UpdateScene ( vtkMRMLScene scene  )  [virtual]

Clears out the list of display nodes, and updates them from teh lsit of display node ids

Reimplemented from vtkMRMLAnnotationNode.

Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLinesNode, and vtkMRMLAnnotationRulerNode.

vtkMRMLAnnotationControlPointsNode::vtkGetMacro ( NumberingScheme  ,
int   
)
vtkMRMLAnnotationControlPointsNode::vtkSetMacro ( NumberingScheme  ,
int   
)

Flag determining how to number the next added fiducial.

vtkMRMLAnnotationControlPointsNode::vtkTypeMacro ( vtkMRMLAnnotationControlPointsNode  ,
vtkMRMLAnnotationNode   
)
void vtkMRMLAnnotationControlPointsNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Member Data Documentation


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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1