Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkBasePropertySerializer.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 mitkBasePropertySerializer_h
14
#define mitkBasePropertySerializer_h
15
16
#include "
mitkSerializerMacros.h
"
17
#include <
MitkSceneSerializationBaseExports.h
>
18
19
#include "
mitkBaseProperty.h
"
20
#include <itkObjectFactoryBase.h>
21
22
namespace
tinyxml2
23
{
24
class
XMLDocument;
25
class
XMLElement;
26
}
27
28
namespace
mitk
29
{
41
class
MITKSCENESERIALIZATIONBASE_EXPORT
BasePropertySerializer
:
public
itk::Object
42
{
43
public
:
44
mitkClassMacroItkParent
(
BasePropertySerializer
, itk::Object);
45
46
itkSetConstObjectMacro(Property,
BaseProperty
);
47
54
virtual
tinyxml2::XMLElement *Serialize(tinyxml2::XMLDocument& doc);
55
63
virtual
BaseProperty::Pointer
Deserialize(
const
tinyxml2::XMLElement*);
64
65
protected
:
66
BasePropertySerializer
();
67
~
BasePropertySerializer
()
override
;
68
69
BaseProperty::ConstPointer
m_Property
;
70
};
71
72
}
// namespace
73
74
#endif
MitkSceneSerializationBaseExports.h
mitk::BaseProperty
Abstract base class for properties.
Definition:
mitkBaseProperty.h:36
mitk::BasePropertySerializer
Base class for objects that serialize BaseProperty types.
Definition:
mitkBasePropertySerializer.h:41
itk::SmartPointer< Self >
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::BasePropertySerializer::m_Property
BaseProperty::ConstPointer m_Property
Definition:
mitkBasePropertySerializer.h:69
mitkSerializerMacros.h
tinyxml2
Definition:
mitkContourModelReader.h:25
MITKSCENESERIALIZATIONBASE_EXPORT
#define MITKSCENESERIALIZATIONBASE_EXPORT
Definition:
MitkSceneSerializationBaseExports.h:15
mitkBaseProperty.h
src
MITK
Modules
SceneSerializationBase
include
mitkBasePropertySerializer.h
Generated on Mon Dec 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17