12 #ifndef mitkLevelWindowProperty_h
13 #define mitkLevelWindowProperty_h
22 #pragma warning(disable : 4522)
51 itkFactorylessNewMacro(Self);
70 using BaseProperty::operator=;
76 itk::LightObject::Pointer InternalClone()
const override;
78 bool IsEqual(
const BaseProperty &property)
const override;
Abstract base class for properties.
The LevelWindowProperty class Property for the mitk::LevelWindow.
const mitk::LevelWindow & GetValue() const
LevelWindowProperty(const LevelWindowProperty &other)
~LevelWindowProperty() override
void SetValue(const ValueType &levWin)
const mitk::LevelWindow & GetLevelWindow() const
std::string GetValueAsString() const override
bool FromJSON(const nlohmann::json &j) override
Deserialize property value(s) from JSON.
LevelWindowProperty(const mitk::LevelWindow &levWin)
mitkClassMacro(LevelWindowProperty, BaseProperty)
bool ToJSON(nlohmann::json &j) const override
Serialize property value(s) to JSON.
void SetLevelWindow(const LevelWindow &levWin)
The LevelWindow class Class to store level/window values.
#define mitkNewMacro1Param(classname, type)
Find image slices visible on a given plane.