vtkMRMLEMSCollectionNode Class Reference

#include <vtkMRMLEMSCollectionNode.h>

Inheritance diagram for vtkMRMLEMSCollectionNode:
vtkMRMLNode vtkObject vtkMRMLEMSVolumeCollectionNode vtkMRMLEMSAtlasNode vtkMRMLEMSTargetNode

List of all members.

Public Member Functions

virtual int AddNode (const char *key, const char *volumeNodeID)
virtual void Copy (vtkMRMLNode *node)
virtual vtkMRMLNodeCreateNodeInstance ()
virtual int GetIndexByKey (const char *key) const
virtual int GetIndexByNodeID (const char *nodeID) const
virtual const charGetKeyByNodeID (const char *nodeID) const
virtual const charGetNodeIDByKey (const char *key) const
virtual const charGetNodeTagName ()
virtual const charGetNthKey (int n) const
virtual vtkMRMLNodeGetNthNode (int n) const
virtual const charGetNthNodeID (int n) const
virtual int GetNumberOfNodes () const
virtual void MoveNthNode (int n, int toIndex)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReadXMLAttributes (const char **atts)
virtual void RemoveAllNodes ()
virtual void RemoveNodeByKey (const char *key)
virtual void RemoveNodeByNodeID (const char *key)
virtual void RemoveNthNode (int n)
virtual void SetNthNodeID (int n, const char *nodeID)
virtual void UpdateReferenceID (const char *oldID, const char *newID)
virtual void UpdateReferences ()
 vtkTypeMacro (vtkMRMLEMSCollectionNode, vtkMRMLNode)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static vtkMRMLEMSCollectionNodeNew ()

Protected Types

typedef KeyListType::const_iterator KeyConstIterator
typedef KeyListType::iterator KeyIterator
typedef vtkstd::list< KeyTypeKeyListType
typedef vtkstd::string KeyType
typedef vtkstd::map< KeyType,
ValueType
MapType
typedef vtkstd::string ValueType

Protected Member Functions

void operator= (const vtkMRMLEMSCollectionNode &)
 vtkMRMLEMSCollectionNode (const vtkMRMLEMSCollectionNode &)
 vtkMRMLEMSCollectionNode ()
 ~vtkMRMLEMSCollectionNode ()

Protected Attributes

KeyListType KeyList
MapType KeyToNodeIDMap
MapType NodeIDToKeyMap

Member Typedef Documentation

typedef KeyListType::const_iterator vtkMRMLEMSCollectionNode::KeyConstIterator [protected]
typedef KeyListType::iterator vtkMRMLEMSCollectionNode::KeyIterator [protected]
typedef vtkstd::list<KeyType> vtkMRMLEMSCollectionNode::KeyListType [protected]
typedef vtkstd::string vtkMRMLEMSCollectionNode::KeyType [protected]
typedef vtkstd::map<KeyType, ValueType> vtkMRMLEMSCollectionNode::MapType [protected]
typedef vtkstd::string vtkMRMLEMSCollectionNode::ValueType [protected]

Constructor & Destructor Documentation

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

Member Function Documentation

int vtkMRMLEMSCollectionNode::AddNode ( const char key,
const char volumeNodeID 
) [virtual]
void vtkMRMLEMSCollectionNode::Copy ( vtkMRMLNode node  )  [virtual]
vtkMRMLNode * vtkMRMLEMSCollectionNode::CreateNodeInstance (  )  [virtual]

Create instance of the default node. Like New only virtual NOTE: Subclasses should implement this method

Implements vtkMRMLNode.

Reimplemented in vtkMRMLEMSAtlasNode, vtkMRMLEMSTargetNode, and vtkMRMLEMSVolumeCollectionNode.

References autoSlicerTracto2regions::ret.

int vtkMRMLEMSCollectionNode::GetIndexByKey ( const char key  )  const [virtual]
int vtkMRMLEMSCollectionNode::GetIndexByNodeID ( const char nodeID  )  const [virtual]
const char * vtkMRMLEMSCollectionNode::GetKeyByNodeID ( const char nodeID  )  const [virtual]

References NodeIDToKeyMap.

const char * vtkMRMLEMSCollectionNode::GetNodeIDByKey ( const char key  )  const [virtual]
virtual const char* vtkMRMLEMSCollectionNode::GetNodeTagName (  )  [inline, virtual]

Get node XML tag name (like Volume, Model) NOTE: Subclasses should implement this method

Implements vtkMRMLNode.

Reimplemented in vtkMRMLEMSAtlasNode, vtkMRMLEMSTargetNode, and vtkMRMLEMSVolumeCollectionNode.

const char * vtkMRMLEMSCollectionNode::GetNthKey ( int  n  )  const [virtual]

References KeyList.

Referenced by LoadUserDefinedAtlas().

vtkMRMLNode * vtkMRMLEMSCollectionNode::GetNthNode ( int  n  )  const [virtual]
const char * vtkMRMLEMSCollectionNode::GetNthNodeID ( int  n  )  const [virtual]
int vtkMRMLEMSCollectionNode::GetNumberOfNodes (  )  const [virtual]
void vtkMRMLEMSCollectionNode::MoveNthNode ( int  n,
int  toIndex 
) [virtual]
vtkMRMLEMSCollectionNode * vtkMRMLEMSCollectionNode::New (  )  [static]
void vtkMRMLEMSCollectionNode::operator= ( const vtkMRMLEMSCollectionNode  )  [protected]
void vtkMRMLEMSCollectionNode::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Reimplemented from vtkMRMLNode.

Reimplemented in vtkMRMLEMSAtlasNode.

References KeyList, and KeyToNodeIDMap.

void vtkMRMLEMSCollectionNode::ReadXMLAttributes ( const char **  atts  )  [virtual]

Set node attributes NOTE: Subclasses should implement this method NOTE: Call this method in the subclass impementation

Reimplemented from vtkMRMLNode.

Reimplemented in vtkMRMLEMSAtlasNode, and vtkMRMLEMSVolumeCollectionNode.

References AddNode(), and ModifyHeader::val.

void vtkMRMLEMSCollectionNode::RemoveAllNodes (  )  [virtual]
void vtkMRMLEMSCollectionNode::RemoveNodeByKey ( const char key  )  [virtual]
void vtkMRMLEMSCollectionNode::RemoveNodeByNodeID ( const char key  )  [virtual]
void vtkMRMLEMSCollectionNode::RemoveNthNode ( int  n  )  [virtual]
void vtkMRMLEMSCollectionNode::SetNthNodeID ( int  n,
const char nodeID 
) [virtual]
void vtkMRMLEMSCollectionNode::UpdateReferenceID ( const char oldID,
const char newID 
) [virtual]

Update the stored reference to another node in the scene

Reimplemented from vtkMRMLNode.

References KeyList, KeyToNodeIDMap, and NodeIDToKeyMap.

void vtkMRMLEMSCollectionNode::UpdateReferences (  )  [virtual]

Updates this node if it depends on other nodes when the node is deleted in the scene

Reimplemented from vtkMRMLNode.

References vtkMRMLScene::GetNodeByID(), KeyList, KeyToNodeIDMap, NodeIDToKeyMap, and vtkMRMLNode::Scene.

vtkMRMLEMSCollectionNode::vtkTypeMacro ( vtkMRMLEMSCollectionNode  ,
vtkMRMLNode   
)

Reimplemented in vtkMRMLEMSVolumeCollectionNode.

void vtkMRMLEMSCollectionNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Write this node's information to a MRML file in XML format. NOTE: Subclasses should implement this method NOTE: Call this method in the subclass impementation

Reimplemented from vtkMRMLNode.

Reimplemented in vtkMRMLEMSAtlasNode.

References KeyList, and KeyToNodeIDMap.


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