vtkMRMLAnnotationLinesNode Class Reference

#include <vtkMRMLAnnotationLinesNode.h>

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

List of all members.

Public Types

enum  { LINE_SELECTED = vtkMRMLAnnotationControlPointsNode::NUM_CP_ATTRIBUTE_TYPES, LINE_VISIBLE, NUM_LINE_ATTRIBUTE_TYPES }

Public Member Functions

int AddLine (int ctrlPtIdStart, int ctrlPtIdEnd, int selectedFlag, int visibleFlag)
virtual void Copy (vtkMRMLNode *node)
 Copy the node's attributes to this object.
void CreateAnnotationLineDisplayNode ()
virtual vtkMRMLStorageNodeCreateDefaultStorageNode ()
virtual vtkMRMLNodeCreateNodeInstance ()
 MRMLNode methods.
void DeleteLine (int id)
vtkMRMLAnnotationLineDisplayNodeGetAnnotationLineDisplayNode ()
const charGetAttributeTypesEnumAsString (int val)
int GetEndPointsId (vtkIdType lineID, vtkIdType ctrlPtID[2])
virtual const charGetNodeTagName ()
int GetNumberOfLines ()
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)
int SetLine (int id, int ctrlPtIdStart, int ctrlPtIdEnd, int selectedFlag, int visibleFlag)
void UpdateScene (vtkMRMLScene *scene)
 vtkTypeMacro (vtkMRMLAnnotationLinesNode, vtkMRMLAnnotationControlPointsNode)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static vtkMRMLAnnotationLinesNodeNew ()

Protected Member Functions

void CreatePolyData ()
void operator= (const vtkMRMLAnnotationLinesNode &)
void ResetLines ()
void ResetLinesAttributesAll ()
 vtkMRMLAnnotationLinesNode (const vtkMRMLAnnotationLinesNode &)
 vtkMRMLAnnotationLinesNode ()
 ~vtkMRMLAnnotationLinesNode ()

Protected Attributes

bool InitializeLinesFlag

Member Enumeration Documentation

anonymous enum
Enumerator:
LINE_SELECTED 
LINE_VISIBLE 
NUM_LINE_ATTRIBUTE_TYPES 

Constructor & Destructor Documentation

vtkMRMLAnnotationLinesNode::vtkMRMLAnnotationLinesNode (  )  [protected]

References InitializeLinesFlag.

vtkMRMLAnnotationLinesNode::~vtkMRMLAnnotationLinesNode (  )  [protected]
vtkMRMLAnnotationLinesNode::vtkMRMLAnnotationLinesNode ( const vtkMRMLAnnotationLinesNode  )  [protected]

Member Function Documentation

int vtkMRMLAnnotationLinesNode::AddLine ( int  ctrlPtIdStart,
int  ctrlPtIdEnd,
int  selectedFlag,
int  visibleFlag 
)
void vtkMRMLAnnotationLinesNode::Copy ( vtkMRMLNode node  )  [virtual]

Copy the node's attributes to this object.

Description:

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

void vtkMRMLAnnotationLinesNode::CreateAnnotationLineDisplayNode (  ) 
vtkMRMLStorageNode * vtkMRMLAnnotationLinesNode::CreateDefaultStorageNode (  )  [virtual]

Create default storage node or NULL if does not have one

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

References vtkMRMLAnnotationLinesStorageNode::New().

vtkMRMLNode * vtkMRMLAnnotationLinesNode::CreateNodeInstance ( void   )  [virtual]

MRMLNode methods.

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

References autoSlicerTracto2regions::ret.

void vtkMRMLAnnotationLinesNode::CreatePolyData (  )  [protected]
void vtkMRMLAnnotationLinesNode::DeleteLine ( int  id  ) 
vtkMRMLAnnotationLineDisplayNode * vtkMRMLAnnotationLinesNode::GetAnnotationLineDisplayNode (  ) 
const char * vtkMRMLAnnotationLinesNode::GetAttributeTypesEnumAsString ( int  val  )  [virtual]
int vtkMRMLAnnotationLinesNode::GetEndPointsId ( vtkIdType  lineID,
vtkIdType  ctrlPtID[2] 
)
virtual const char* vtkMRMLAnnotationLinesNode::GetNodeTagName (  )  [inline, virtual]

Get node XML tag name (like Volume, Model)

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

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

alternative method to propagate events generated in Display nodes

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

void vtkMRMLAnnotationLinesNode::ReadXMLAttributes ( const char **  atts  )  [virtual]
void vtkMRMLAnnotationLinesNode::ResetAnnotations (  )  [virtual]
void vtkMRMLAnnotationLinesNode::ResetLines (  )  [protected]
void vtkMRMLAnnotationLinesNode::ResetLinesAttributesAll (  )  [protected]
int vtkMRMLAnnotationLinesNode::SetControlPoint ( int  id,
double  newControl[3],
int  selectedFlag,
int  visibleFlag 
)
int vtkMRMLAnnotationLinesNode::SetLine ( int  id,
int  ctrlPtIdStart,
int  ctrlPtIdEnd,
int  selectedFlag,
int  visibleFlag 
)
void vtkMRMLAnnotationLinesNode::UpdateScene ( vtkMRMLScene scene  )  [virtual]

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

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

vtkMRMLAnnotationLinesNode::vtkTypeMacro ( vtkMRMLAnnotationLinesNode  ,
vtkMRMLAnnotationControlPointsNode   
)
void vtkMRMLAnnotationLinesNode::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