The LevelWindowProperty class Property for the mitk::LevelWindow.
More...
#include <mitkLevelWindowProperty.h>
The LevelWindowProperty class Property for the mitk::LevelWindow.
- Note
- If you want to apply the mitk::LevelWindowProperty to an mitk::Image, make sure to set the mitk::RenderingModeProperty to a mode which supports level window (e.g. LEVELWINDOW_COLOR). Make sure to check the documentation of the mitk::RenderingModeProperty. For a code example how to use the mitk::LevelWindowProperty check the mitkImageVtkMapper2DLevelWindowTest.cpp in Core/Code/Testing.
Definition at line 37 of file mitkLevelWindowProperty.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ ValueType
◆ LevelWindowProperty() [1/3]
mitk::LevelWindowProperty::LevelWindowProperty |
( |
| ) |
|
|
protected |
◆ LevelWindowProperty() [2/3]
◆ LevelWindowProperty() [3/3]
◆ ~LevelWindowProperty()
mitk::LevelWindowProperty::~LevelWindowProperty |
( |
| ) |
|
|
override |
◆ Clone()
Pointer mitk::LevelWindowProperty::Clone |
( |
| ) |
const |
◆ FromJSON()
Deserialize property value(s) from JSON.
Rely on exceptions for error handling when implementing deserialization.
- Returns
- False if not deserializable by design, true otherwise.
Implements mitk::BaseProperty.
◆ GetClassHierarchy()
virtual std::vector<std::string> mitk::LevelWindowProperty::GetClassHierarchy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetClassName()
virtual const char* mitk::LevelWindowProperty::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetLevelWindow()
◆ GetStaticNameOfClass()
static const char* mitk::LevelWindowProperty::GetStaticNameOfClass |
( |
| ) |
|
|
inlinestatic |
◆ GetValue()
◆ GetValueAsString()
std::string mitk::LevelWindowProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ New() [1/2]
static Pointer mitk::LevelWindowProperty::New |
( |
| ) |
|
|
static |
◆ New() [2/2]
◆ operator=()
Assigns property to this BaseProperty instance.
Subclasses must implement Assign(const BaseProperty&) and call the superclass Assign method for proper handling of polymorphic assignments. The assignment operator of the subclass should be disabled and the baseclass operator should be made visible using "using" statements.
◆ SetLevelWindow()
void mitk::LevelWindowProperty::SetLevelWindow |
( |
const LevelWindow & |
levWin | ) |
|
◆ SetValue()
void mitk::LevelWindowProperty::SetValue |
( |
const ValueType & |
levWin | ) |
|
◆ ToJSON()
Serialize property value(s) to JSON.
Rely on exceptions for error handling when implementing serialization.
- Returns
- False if not serializable by design, true otherwise.
Implements mitk::BaseProperty.
◆ m_LevWin
The documentation for this class was generated from the following file: