#include <mitkSceneReaderV1.h>
|
static Pointer | New () |
|
static Pointer | New () |
|
Definition at line 22 of file mitkSceneReaderV1.h.
◆ IDToNodeMappingType
◆ NodesAndParentsPair
◆ NodeToIDMappingType
◆ OrderedNodesList
◆ ClearNodePropertyListWithExceptions()
void mitk::SceneReaderV1::ClearNodePropertyListWithExceptions |
( |
DataNode & |
node, |
|
|
PropertyList & |
propertyList |
|
) |
| |
|
protected |
Clear a default property list and handle some exceptions.
Called after assigning a BaseData object to a fresh DataNode via SetData(). This call to SetData() would create default properties that have not been there when saving the scene. Since they can produce problems, we clear the list and use only those properties that we read from the scene file.
This method also handles some exceptions for backwards compatibility. Those exceptions are documented directly in the code of the method.
◆ Clone()
Pointer mitk::SceneReaderV1::Clone |
( |
| ) |
const |
◆ DecorateBaseDataWithProperties()
bool mitk::SceneReaderV1::DecorateBaseDataWithProperties |
( |
BaseData::Pointer |
data, |
|
|
const tinyxml2::XMLElement * |
baseDataNodeElem, |
|
|
const std::string & |
workingDir |
|
) |
| |
|
protected |
reads all properties assigned to a base data element and assigns the list to the base data object
The baseDataNodeElem is supposed to be the <properties
file="..."> element.
◆ DecorateNodeWithProperties()
bool mitk::SceneReaderV1::DecorateNodeWithProperties |
( |
DataNode * |
node, |
|
|
const tinyxml2::XMLElement * |
nodeElement, |
|
|
const std::string & |
workingDirectory |
|
) |
| |
|
protected |
reads all the properties from the XML document and recreates them in node
◆ LoadBaseDataFromDataTag()
DataNode::Pointer mitk::SceneReaderV1::LoadBaseDataFromDataTag |
( |
const tinyxml2::XMLElement * |
dataElement, |
|
|
const std::string & |
workingDirectory, |
|
|
bool & |
error |
|
) |
| |
|
protected |
tries to create one DataNode from a given XML <node> element
◆ LoadScene()
bool mitk::SceneReaderV1::LoadScene |
( |
tinyxml2::XMLDocument & |
document, |
|
|
const std::string & |
workingDirectory, |
|
|
DataStorage * |
storage |
|
) |
| |
|
overridevirtual |
◆ mitkClassMacro()
◆ New()
static Pointer mitk::SceneReaderV1::New |
( |
| ) |
|
|
static |
◆ m_IDForNode
◆ m_NodeForID
◆ m_OrderedNodePairs
◆ m_UIDGen
The documentation for this class was generated from the following file: