Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMRMLAnnotationLinesNode Class Reference

#include <Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationLinesNode.h>

Inheritance diagram for vtkMRMLAnnotationLinesNode:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLAnnotationLinesNode:
Collaboration graph
[legend]

List of all members.

Public Types

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

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 char * GetAttributeTypesEnumAsString (int val)
virtual const char * GetClassName ()
int GetEndPointsId (vtkIdType lineID, vtkIdType ctrlPtID[2])
virtual const char * GetNodeTagName ()
 Get node XML tag name (like Volume, Model)
int GetNumberOfLines ()
void Initialize (vtkMRMLScene *mrmlScene)
virtual int IsA (const char *type)
virtual void PrintAnnotationInfo (ostream &os, vtkIndent indent, int titleFlag=1)
virtual void ProcessMRMLEvents (vtkObject *, unsigned long, void *)
 alternative method to propagate events generated in Display nodes
virtual void ReadXMLAttributes (const char **atts)
virtual void ResetAnnotations ()
int SetControlPoint (int id, double newControl[3], int selectedFlag, int visibleFlag)
int SetControlPointWorldCoordinates (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)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkMRMLAnnotationLinesNodeNew ()
static vtkMRMLAnnotationLinesNodeSafeDownCast (vtkObject *o)

Protected Member Functions

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

Protected Attributes

bool InitializeLinesFlag

Detailed Description

Definition at line 17 of file vtkMRMLAnnotationLinesNode.h.


Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
LINE_SELECTED 
LINE_VISIBLE 
NUM_LINE_ATTRIBUTE_TYPES 

Definition at line 87 of file vtkMRMLAnnotationLinesNode.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Create a storage node for this node type or NULL if it doesn't have one. Null by default. This must be overwritten by subclasses that use storage nodes.

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, and vtkMRMLAnnotationRulerNode.

virtual vtkMRMLNode* vtkMRMLAnnotationLinesNode::CreateNodeInstance ( ) [virtual]
void vtkMRMLAnnotationLinesNode::CreatePolyData ( ) [protected]
void vtkMRMLAnnotationLinesNode::DeleteLine ( int  id)
vtkMRMLAnnotationLineDisplayNode* vtkMRMLAnnotationLinesNode::GetAnnotationLineDisplayNode ( )
const char* vtkMRMLAnnotationLinesNode::GetAttributeTypesEnumAsString ( int  val) [virtual]
virtual const char* vtkMRMLAnnotationLinesNode::GetClassName ( ) [virtual]
int vtkMRMLAnnotationLinesNode::GetEndPointsId ( vtkIdType  lineID,
vtkIdType  ctrlPtID[2] 
)
virtual const char* vtkMRMLAnnotationLinesNode::GetNodeTagName ( ) [inline, virtual]
int vtkMRMLAnnotationLinesNode::GetNumberOfLines ( )
void vtkMRMLAnnotationLinesNode::Initialize ( vtkMRMLScene mrmlScene) [virtual]
virtual int vtkMRMLAnnotationLinesNode::IsA ( const char *  type) [virtual]
static int vtkMRMLAnnotationLinesNode::IsTypeOf ( const char *  type) [static]
static vtkMRMLAnnotationLinesNode* vtkMRMLAnnotationLinesNode::New ( ) [static]
void vtkMRMLAnnotationLinesNode::operator= ( const vtkMRMLAnnotationLinesNode ) [protected]
virtual void vtkMRMLAnnotationLinesNode::PrintAnnotationInfo ( ostream &  os,
vtkIndent  indent,
int  titleFlag = 1 
) [virtual]
virtual void vtkMRMLAnnotationLinesNode::ProcessMRMLEvents ( vtkObject *  ,
unsigned  long,
void *   
) [virtual]

alternative method to propagate events generated in Display nodes

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Reimplemented in vtkMRMLAnnotationAngleNode, vtkMRMLAnnotationBidimensionalNode, vtkMRMLAnnotationROINode, vtkMRMLAnnotationRulerNode, and vtkMRMLAnnotationSplineNode.

virtual void vtkMRMLAnnotationLinesNode::ReadXMLAttributes ( const char **  atts) [virtual]
virtual void vtkMRMLAnnotationLinesNode::ResetAnnotations ( ) [virtual]
void vtkMRMLAnnotationLinesNode::ResetLines ( ) [protected]
void vtkMRMLAnnotationLinesNode::ResetLinesAttributesAll ( ) [protected]
static vtkMRMLAnnotationLinesNode* vtkMRMLAnnotationLinesNode::SafeDownCast ( vtkObject *  o) [static]
int vtkMRMLAnnotationLinesNode::SetControlPoint ( int  id,
double  newControl[3],
int  selectedFlag,
int  visibleFlag 
)
int vtkMRMLAnnotationLinesNode::SetControlPointWorldCoordinates ( int  id,
double  newControl[3],
int  selectedFlag,
int  visibleFlag 
) [inline]

Reimplemented from vtkMRMLAnnotationControlPointsNode.

Definition at line 72 of file vtkMRMLAnnotationLinesNode.h.

int vtkMRMLAnnotationLinesNode::SetLine ( int  id,
int  ctrlPtIdStart,
int  ctrlPtIdEnd,
int  selectedFlag,
int  visibleFlag 
)
void vtkMRMLAnnotationLinesNode::UpdateScene ( vtkMRMLScene scene) [virtual]
virtual void vtkMRMLAnnotationLinesNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Member Data Documentation

Definition at line 120 of file vtkMRMLAnnotationLinesNode.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines