25 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
27 virtual bool LoadScene(TiXmlDocument &document,
28 const std::string &workingDirectory,
36 const std::string &workingDirectory,
63 TiXmlElement *baseDataNodeElem,
64 const std::string &workingDir);
Data management class that handles 'was created by' relations.
DataCollection - Class to facilitate loading/accessing structured data.
std::pair< DataNode::Pointer, std::list< std::string > > NodesAndParentsPair
Key-value list holding instances of BaseProperty.
void ClearNodePropertyListWithExceptions(DataNode &node, PropertyList &propertyList)
Clear a default property list and handle some exceptions.
NodeToIDMappingType m_IDForNode
std::map< DataNode *, std::string > NodeToIDMappingType
bool DecorateBaseDataWithProperties(BaseData::Pointer data, TiXmlElement *baseDataNodeElem, const std::string &workingDir)
reads all properties assigned to a base data element and assigns the list to the base data object ...
IDToNodeMappingType m_NodeForID
OrderedNodesList m_OrderedNodePairs
std::list< NodesAndParentsPair > OrderedNodesList
std::map< std::string, DataNode * > IDToNodeMappingType
bool DecorateNodeWithProperties(DataNode *node, TiXmlElement *nodeElement, const std::string &workingDirectory)
reads all the properties from the XML document and recreates them in node
mitkClassMacro(SceneReaderV1, SceneReader)
Class for nodes of the DataTree.
virtual bool LoadScene(TiXmlDocument &document, const std::string &workingDirectory, DataStorage *storage) override
DataNode::Pointer LoadBaseDataFromDataTag(TiXmlElement *dataElement, const std::string &workingDirectory, bool &error)
tries to create one DataNode from a given XML element