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