vtkMRMLAnnotationAngleNode Class Reference

#include <vtkMRMLAnnotationAngleNode.h>

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

List of all members.

Public Types

enum  { AngleNodeAddedEvent = 0, ValueModifiedEvent }

Public Member Functions

virtual void ApplyTransform (vtkAbstractTransform *transform)
virtual void ApplyTransform (vtkMatrix4x4 *transformMatrix)
virtual bool CanApplyNonLinearTransforms ()
virtual void Copy (vtkMRMLNode *node)
 Copy the node's attributes to this object.
virtual vtkMRMLStorageNodeCreateDefaultStorageNode ()
virtual vtkMRMLNodeCreateNodeInstance ()
 MRMLNode methods.
double GetAngleMeasurement ()
int GetArcVisibility ()
double GetLabelScale ()
double * GetLabelTextColour ()
int GetLabelVisibility ()
double * GetLineColour ()
virtual const charGetNodeTagName ()
double * GetPointColour ()
double * GetPosition1 ()
double * GetPosition2 ()
double * GetPositionCenter ()
int GetRay1Visibility ()
int GetRay2Visibility ()
int GetVisibility ()
void Initialize (vtkMRMLScene *mrmlScene)
void PrintAnnotationInfo (ostream &os, vtkIndent indent, int titleFlag=1)
virtual void ProcessMRMLEvents (vtkObject *, unsigned long, void *)
virtual void ReadXMLAttributes (const char **atts)
int SetAngle (vtkIdType line1Id, vtkIdType line2Id, int sel, int vis)
void SetAngleMeasurement (double val)
void SetArcVisibility (int flag)
void SetLabelScale (double init)
void SetLabelTextColour (double initColor[3])
void SetLabelVisibility (int flag)
void SetLineColour (double newColor[3])
void SetPointColour (double initColor[3])
int SetPosition1 (double nC1, double nC2, double nC3)
int SetPosition1 (double newControl[3])
int SetPosition2 (double nC1, double nC2, double nC3)
int SetPosition2 (double newControl[3])
int SetPositionCenter (double nC1, double nC2, double nC3)
int SetPositionCenter (double newControl[3])
void SetRay1Visibility (int flag)
void SetRay2Visibility (int flag)
void SetVisibility (int flag)
void UpdateScene (vtkMRMLScene *scene)
 vtkGetMacro (Resolution, int)
 vtkGetStringMacro (ModelIDCenter)
 vtkGetStringMacro (ModelID2)
 vtkGetStringMacro (ModelID1)
 vtkGetStringMacro (LabelFormat)
 vtkSetMacro (Resolution, int)
 vtkSetStringMacro (ModelIDCenter)
 vtkSetStringMacro (ModelID2)
 vtkSetStringMacro (ModelID1)
 vtkSetStringMacro (LabelFormat)
 vtkTypeMacro (vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationLinesNode)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static vtkMRMLAnnotationAngleNodeNew ()

Protected Member Functions

int AddControlPoint (double newControl[3], int selectedFlag, int visibleFlag)
void operator= (const vtkMRMLAnnotationAngleNode &)
int SetControlPoint (int id, double newControl[3])
 vtkMRMLAnnotationAngleNode (const vtkMRMLAnnotationAngleNode &)
 vtkMRMLAnnotationAngleNode ()
 ~vtkMRMLAnnotationAngleNode ()

Protected Attributes

double angleMeasurement
charLabelFormat
charModelID1
charModelID2
charModelIDCenter
int Resolution

Member Enumeration Documentation

anonymous enum
Enumerator:
AngleNodeAddedEvent 
ValueModifiedEvent 

Constructor & Destructor Documentation

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

Member Function Documentation

int vtkMRMLAnnotationAngleNode::AddControlPoint ( double  newControl[3],
int  selectedFlag,
int  visibleFlag 
) [protected]
void vtkMRMLAnnotationAngleNode::ApplyTransform ( vtkAbstractTransform *  transform  )  [virtual]
void vtkMRMLAnnotationAngleNode::ApplyTransform ( vtkMatrix4x4 *  transformMatrix  )  [virtual]
virtual bool vtkMRMLAnnotationAngleNode::CanApplyNonLinearTransforms (  )  [inline, virtual]

Reimplemented from vtkMRMLModelNode.

void vtkMRMLAnnotationAngleNode::Copy ( vtkMRMLNode node  )  [virtual]
vtkMRMLStorageNode * vtkMRMLAnnotationAngleNode::CreateDefaultStorageNode (  )  [virtual]

Create default storage node or NULL if does not have one

Reimplemented from vtkMRMLAnnotationLinesNode.

References vtkMRMLAnnotationAngleStorageNode::New().

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

MRMLNode methods.

Reimplemented from vtkMRMLAnnotationLinesNode.

References autoSlicerTracto2regions::ret.

double vtkMRMLAnnotationAngleNode::GetAngleMeasurement (  ) 
int vtkMRMLAnnotationAngleNode::GetArcVisibility (  )  [inline]
double vtkMRMLAnnotationAngleNode::GetLabelScale (  ) 
double * vtkMRMLAnnotationAngleNode::GetLabelTextColour (  ) 
int vtkMRMLAnnotationAngleNode::GetLabelVisibility (  ) 
double * vtkMRMLAnnotationAngleNode::GetLineColour (  ) 
virtual const char* vtkMRMLAnnotationAngleNode::GetNodeTagName (  )  [inline, virtual]

Get node XML tag name (like Volume, Model)

Reimplemented from vtkMRMLAnnotationLinesNode.

double * vtkMRMLAnnotationAngleNode::GetPointColour (  ) 
double* vtkMRMLAnnotationAngleNode::GetPosition1 (  )  [inline]
double* vtkMRMLAnnotationAngleNode::GetPosition2 (  )  [inline]
double* vtkMRMLAnnotationAngleNode::GetPositionCenter (  )  [inline]
int vtkMRMLAnnotationAngleNode::GetRay1Visibility (  )  [inline]
int vtkMRMLAnnotationAngleNode::GetRay2Visibility (  )  [inline]
int vtkMRMLAnnotationAngleNode::GetVisibility (  )  [inline]
void vtkMRMLAnnotationAngleNode::Initialize ( vtkMRMLScene mrmlScene  ) 
vtkMRMLAnnotationAngleNode * vtkMRMLAnnotationAngleNode::New (  )  [static]
void vtkMRMLAnnotationAngleNode::operator= ( const vtkMRMLAnnotationAngleNode  )  [protected]

Reimplemented from vtkMRMLAnnotationLinesNode.

void vtkMRMLAnnotationAngleNode::PrintAnnotationInfo ( ostream &  os,
vtkIndent  indent,
int  titleFlag = 1 
) [virtual]
void vtkMRMLAnnotationAngleNode::ProcessMRMLEvents ( vtkObject caller,
unsigned long  event,
void *  callData 
) [virtual]

alternative method to propagate events generated in Display nodes

Reimplemented from vtkMRMLAnnotationLinesNode.

void vtkMRMLAnnotationAngleNode::ReadXMLAttributes ( const char **  atts  )  [virtual]
int vtkMRMLAnnotationAngleNode::SetAngle ( vtkIdType  line1Id,
vtkIdType  line2Id,
int  sel,
int  vis 
)
void vtkMRMLAnnotationAngleNode::SetAngleMeasurement ( double  val  ) 
void vtkMRMLAnnotationAngleNode::SetArcVisibility ( int  flag  )  [inline]

Referenced by Initialize().

int vtkMRMLAnnotationAngleNode::SetControlPoint ( int  id,
double  newControl[3] 
) [protected]
void vtkMRMLAnnotationAngleNode::SetLabelScale ( double  init  ) 
void vtkMRMLAnnotationAngleNode::SetLabelTextColour ( double  initColor[3]  ) 
void vtkMRMLAnnotationAngleNode::SetLabelVisibility ( int  flag  ) 
void vtkMRMLAnnotationAngleNode::SetLineColour ( double  newColor[3]  ) 
void vtkMRMLAnnotationAngleNode::SetPointColour ( double  initColor[3]  ) 
int vtkMRMLAnnotationAngleNode::SetPosition1 ( double  nC1,
double  nC2,
double  nC3 
) [inline]
int vtkMRMLAnnotationAngleNode::SetPosition1 ( double  newControl[3]  )  [inline]
int vtkMRMLAnnotationAngleNode::SetPosition2 ( double  nC1,
double  nC2,
double  nC3 
) [inline]
int vtkMRMLAnnotationAngleNode::SetPosition2 ( double  newControl[3]  )  [inline]
int vtkMRMLAnnotationAngleNode::SetPositionCenter ( double  nC1,
double  nC2,
double  nC3 
) [inline]
int vtkMRMLAnnotationAngleNode::SetPositionCenter ( double  newControl[3]  )  [inline]
void vtkMRMLAnnotationAngleNode::SetRay1Visibility ( int  flag  )  [inline]
void vtkMRMLAnnotationAngleNode::SetRay2Visibility ( int  flag  )  [inline]
void vtkMRMLAnnotationAngleNode::SetVisibility ( int  flag  )  [inline]
void vtkMRMLAnnotationAngleNode::UpdateScene ( vtkMRMLScene scene  )  [virtual]

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

Reimplemented from vtkMRMLAnnotationLinesNode.

vtkMRMLAnnotationAngleNode::vtkGetMacro ( Resolution  ,
int   
)
vtkMRMLAnnotationAngleNode::vtkGetStringMacro ( ModelIDCenter   ) 
vtkMRMLAnnotationAngleNode::vtkGetStringMacro ( ModelID2   ) 
vtkMRMLAnnotationAngleNode::vtkGetStringMacro ( ModelID1   ) 
vtkMRMLAnnotationAngleNode::vtkGetStringMacro ( LabelFormat   ) 
vtkMRMLAnnotationAngleNode::vtkSetMacro ( Resolution  ,
int   
)
vtkMRMLAnnotationAngleNode::vtkSetStringMacro ( ModelIDCenter   ) 
vtkMRMLAnnotationAngleNode::vtkSetStringMacro ( ModelID2   ) 
vtkMRMLAnnotationAngleNode::vtkSetStringMacro ( ModelID1   ) 
vtkMRMLAnnotationAngleNode::vtkSetStringMacro ( LabelFormat   ) 
vtkMRMLAnnotationAngleNode::vtkTypeMacro ( vtkMRMLAnnotationAngleNode  ,
vtkMRMLAnnotationLinesNode   
)
void vtkMRMLAnnotationAngleNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Write this node's information to a MRML file in XML format.

Reimplemented from vtkMRMLAnnotationLinesNode.

References LabelFormat, ModelID1, ModelID2, ModelIDCenter, and Resolution.


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