Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkImageSerializer.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 mitkImageSerializer_h
14 #define mitkImageSerializer_h
15 
16 #include <mitkBaseDataSerializer.h>
17 
18 namespace mitk
19 {
30  {
31  public:
33  itkFactorylessNewMacro(Self);
34  itkCloneMacro(Self);
35 
46  std::string Serialize() override;
47 
48  protected:
50  ~ImageSerializer() override;
51  };
52 
53 } // namespace
54 
55 #endif
Base class for objects that serialize BaseData types to files.
Serializes mitk::Image for mitk::SceneIO.
std::string Serialize() override
Serialize the Image object to a .nrrd file.
mitkClassMacro(ImageSerializer, BaseDataSerializer)
~ImageSerializer() override
Find image slices visible on a given plane.