Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSceneJsonReader.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 mitkSceneJsonReader_h
14 #define mitkSceneJsonReader_h
15 
17 
19 
20 namespace mitk
21 {
43  {
44  public:
46  itkFactorylessNewMacro(Self);
47  itkCloneMacro(Self);
48 
65  bool LoadScene(const std::string &sceneSourcePath, DataStorage *storage, bool clearStorageFirst = false) override;
66 
67  protected:
69  ~SceneJsonReader() override;
70  };
71 }
72 
73 #endif
#define MITKSCENESERIALIZATION_EXPORT
Base class for scene-graph aware readers.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Reader for MITK JSON scene files (.mitkscene.json).
bool LoadScene(const std::string &sceneSourcePath, DataStorage *storage, bool clearStorageFirst=false) override
Load a JSON scene file.
mitkClassMacro(SceneJsonReader, AbstractSceneReader)
~SceneJsonReader() override
Find image slices visible on a given plane.