28 #ifndef __vtkMRMLSubjectHierarchyLegacyNode_h 29 #define __vtkMRMLSubjectHierarchyLegacyNode_h 67 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
72 virtual
void ReadXMLAttributes(const
char** atts) VTK_OVERRIDE;
75 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
81 virtual const
char* GetNodeTagName() VTK_OVERRIDE;
101 static
void DeserializeUIDList(
std::
string uidListString,
std::vector<
std::
string>& deserializedUIDList);
111 vtkSetStringMacro(Level);
113 vtkGetStringMacro(Level);
116 vtkSetStringMacro(OwnerPluginName);
118 vtkGetStringMacro(OwnerPluginName);
122 std::
string GetUID(
std::
string uidName);
125 std::map<
std::
string,
std::
string> GetUIDs()const;
132 char* OwnerPluginName;
140 ~vtkMRMLSubjectHierarchyLegacyNode();
141 vtkMRMLSubjectHierarchyLegacyNode(const vtkMRMLSubjectHierarchyLegacyNode&);
142 void operator=(const vtkMRMLSubjectHierarchyLegacyNode&);
Legacy subject hierarchy node to allow loading older MRML scenes.
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
static const std::string SUBJECTHIERARCHY_UID_ITEM_SEPARATOR
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract class representing a hierarchy member.
A set of MRML Nodes that supports serialization and undo/redo.
static vtkMRMLHierarchyNode * New()
static const std::string SUBJECTHIERARCHY_UID_NAME_VALUE_SEPARATOR
Abstract Superclass for all specific types of MRML nodes.