Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSceneReader.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkSceneReader_h
14 #define mitkSceneReader_h
15 
17 
18 #include <itkObjectFactory.h>
19 
20 #include <mitkDataStorage.h>
21 
22 namespace tinyxml2
23 {
24  class XMLDocument;
25 }
26 
27 namespace mitk
28 {
40  class MITKSCENESERIALIZATION_EXPORT SceneReader : public itk::Object
41  {
42  public:
44  itkFactorylessNewMacro(Self);
45  itkCloneMacro(Self);
46 
63  virtual bool LoadScene(tinyxml2::XMLDocument &document, const std::string &workingDirectory, DataStorage *storage);
64  };
65 }
66 
67 #endif
#define MITKSCENESERIALIZATION_EXPORT
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Reads a MITK scene from an XML document and populates a DataStorage.
virtual bool LoadScene(tinyxml2::XMLDocument &document, const std::string &workingDirectory, DataStorage *storage)
Loads a scene from a parsed XML document into the given DataStorage.
mitkClassMacroItkParent(SceneReader, itk::Object)
Find image slices visible on a given plane.