Medical Imaging Interaction Toolkit  2023.12.99-63768887
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 {
33  {
34  public:
36  itkFactorylessNewMacro(Self)
37  itkCloneMacro(Self)
38 
39 
45  tinyxml2::XMLElement *Serialize(tinyxml2::XMLDocument& doc) override;
46 
47  BaseProperty::Pointer Deserialize(const tinyxml2::XMLElement *element) override;
48 
49  protected:
52  };
53 }
54 // important to put this into the GLOBAL namespace (because it starts with 'namespace mitk')
55 MITK_REGISTER_SERIALIZER(LookupTablePropertySerializer);
56 
57 #endif
MitkSceneSerializationBaseExports.h
mitkBasePropertySerializer.h
mitk::BasePropertySerializer
Base class for objects that serialize BaseProperty types.
Definition: mitkBasePropertySerializer.h:41
itk::SmartPointer< Self >
mitk::LookupTablePropertySerializer
Base class for objects that serialize BaseData types.
Definition: mitkLookupTablePropertySerializer.h:32
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::LookupTablePropertySerializer::~LookupTablePropertySerializer
~LookupTablePropertySerializer() override
Definition: mitkLookupTablePropertySerializer.h:51
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::LookupTablePropertySerializer::LookupTablePropertySerializer
LookupTablePropertySerializer()
Definition: mitkLookupTablePropertySerializer.h:50
MITKSCENESERIALIZATIONBASE_EXPORT
#define MITKSCENESERIALIZATIONBASE_EXPORT
Definition: MitkSceneSerializationBaseExports.h:15
MITK_REGISTER_SERIALIZER
#define MITK_REGISTER_SERIALIZER(classname)
Definition: mitkSerializerMacros.h:19