Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkSceneReaderV1_h
14 #define mitkSceneReaderV1_h
29 itkFactorylessNewMacro(Self);
32 bool LoadScene(tinyxml2::XMLDocument &document,
33 const std::string &workingDirectory,
42 const std::string &workingDirectory,
bool DecorateNodeWithProperties(DataNode *node, const tinyxml2::XMLElement *nodeElement, const std::string &workingDirectory)
reads all the properties from the XML document and recreates them in node
void ClearNodePropertyListWithExceptions(DataNode &node, PropertyList &propertyList)
Clear a default property list and handle some exceptions.
std::pair< DataNode::Pointer, std::list< std::string > > NodesAndParentsPair
std::list< NodesAndParentsPair > OrderedNodesList
bool LoadScene(tinyxml2::XMLDocument &document, const std::string &workingDirectory, DataStorage *storage) override
DataCollection - Class to facilitate loading/accessing structured data.
mitkClassMacro(SceneReaderV1, SceneReader)
std::map< DataNode *, std::string > NodeToIDMappingType
NodeToIDMappingType m_IDForNode
OrderedNodesList m_OrderedNodePairs
Key-value list holding instances of BaseProperty.
Data management class that handles 'was created by' relations.
std::map< std::string, DataNode * > IDToNodeMappingType
IDToNodeMappingType m_NodeForID
DataNode::Pointer LoadBaseDataFromDataTag(const tinyxml2::XMLElement *dataElement, const PropertyList *properties, const std::string &workingDirectory, bool &error)
tries to create one DataNode from a given XML <node> element
Class for nodes of the DataTree.