13 #ifndef mitkScalarListLookupTablePropertySerializer_h
14 #define mitkScalarListLookupTablePropertySerializer_h
34 tinyxml2::XMLElement*
Serialize(tinyxml2::XMLDocument& doc)
override;
35 BaseProperty::Pointer
Deserialize(
const tinyxml2::XMLElement* element)
override;
42 namespace PropertyPersistenceSerialization
48 namespace PropertyPersistenceDeserialization
#define MITKMODELFIT_EXPORT
Base class for objects that serialize and deserialize BaseProperty types to/from XML.
Abstract base class for properties.
Serializer for the ScalarListLookupTableProperty so it can be written and read from file.
mitkClassMacro(ScalarListLookupTablePropertySerializer, BasePropertySerializer)
~ScalarListLookupTablePropertySerializer() override
tinyxml2::XMLElement * Serialize(tinyxml2::XMLDocument &doc) override
Serializes the previously set BaseProperty object into an XML element.
ScalarListLookupTablePropertySerializer()
BaseProperty::Pointer Deserialize(const tinyxml2::XMLElement *element) override
Deserializes an XML element back into a BaseProperty object.
MITKMODELFIT_EXPORT mitk::BaseProperty::Pointer deserializeXMLToScalarListLookupTableProperty(const std::string &value)
MITKMODELFIT_EXPORT ::std::string serializeScalarListLookupTablePropertyToXML(const mitk::BaseProperty *prop)
Find image slices visible on a given plane.