Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSceneFileReader.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 mitkSceneFileReader_h
14 #define mitkSceneFileReader_h
15 
16 #include <mitkAbstractFileReader.h>
17 
18 namespace mitk
19 {
27  {
28  public:
31 
33 
39  DataStorage::SetOfObjects::Pointer Read(DataStorage &ds) override;
40 
41  protected:
46  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
47 
48  private:
49  SceneFileReader *Clone() const override;
50  };
51 }
52 
53 #endif
Base class for creating mitk::BaseData objects from files or streams.
std::vector< itk::SmartPointer< BaseData > > Read() override
Read data and create a list of BaseData objects.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Reader service for legacy MITK scene files (.mitk, ZIP archive).
SceneFileReader()
Default constructor. Registers the reader for the MITK scene MIME type.
DataStorage::SetOfObjects::Pointer Read(DataStorage &ds) override
Read the scene file and add all nodes to the given DataStorage.
std::vector< itk::SmartPointer< BaseData > > DoRead() override
Perform the actual reading of scene file data.
Find image slices visible on a given plane.