28 #ifndef __vtkMRMLSubjectHierarchyLegacyNode_h 29 #define __vtkMRMLSubjectHierarchyLegacyNode_h 67 void PrintSelf(ostream& os, vtkIndent indent)
override;
75 void WriteXML(ostream& of,
int indent)
override;
101 static void DeserializeUIDList(std::string uidListString, std::vector<std::string>& deserializedUIDList);
107 std::vector<vtkMRMLSubjectHierarchyLegacyNode*> GetSubjectHierarchyNodesReferencedByDICOM();
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;
129 char* Level{
nullptr};
132 char* OwnerPluginName{
nullptr};
136 std::map<std::string, std::string>
UIDs;
Legacy subject hierarchy node to allow loading older MRML scenes.
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
vtkMRMLNode * CreateNodeInstance() 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) override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
Abstract class representing a hierarchy member.
void operator=(const vtkMRMLHierarchyNode &)
A set of MRML Nodes that supports serialization and undo/redo.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
static vtkMRMLHierarchyNode * New()
static const std::string SUBJECTHIERARCHY_UID_NAME_VALUE_SEPARATOR
Abstract Superclass for all specific types of MRML nodes.
std::map< std::string, std::string > UIDs