Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkLookupTablePropertySerializer.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 mitkLookupTablePropertySerializer_h
14 #define mitkLookupTablePropertySerializer_h
15 
18 
19 namespace mitk
20 {
32  {
33  public:
35  itkFactorylessNewMacro(Self)
36  itkCloneMacro(Self)
37 
50  tinyxml2::XMLElement *Serialize(tinyxml2::XMLDocument& doc) override;
51 
62  BaseProperty::Pointer Deserialize(const tinyxml2::XMLElement *element) override;
63 
64  protected:
67  };
68 }
69 // important to put this into the GLOBAL namespace (because it starts with 'namespace mitk')
70 MITK_REGISTER_SERIALIZER(LookupTablePropertySerializer);
71 
72 #endif
#define MITKSCENESERIALIZATIONBASE_EXPORT
Base class for objects that serialize and deserialize BaseProperty types to/from XML.
Abstract base class for properties.
Serializer for mitk::LookupTableProperty.
mitkClassMacro(LookupTablePropertySerializer, BasePropertySerializer) static Pointer New()
MITK_REGISTER_SERIALIZER(LookupTablePropertySerializer)
Find image slices visible on a given plane.