The LookupTableProperty class Property to associate mitk::LookupTable to an mitk::DataNode.
More...
#include <mitkLookupTableProperty.h>
The LookupTableProperty class Property to associate mitk::LookupTable to an mitk::DataNode.
- Note
- If you want to use this property to colorize an mitk::Image, make sure to set the mitk::RenderingModeProperty to a mode which supports lookup tables (e.g. LOOKUPTABLE_COLOR). Make sure to check the documentation of the mitk::RenderingModeProperty. For a code example how to use the mitk::LookupTable and this property check the mitkImageVtkMapper2DLookupTableTest.cpp in Core/Code/Testing.
Definition at line 38 of file mitkLookupTableProperty.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ ValueType
◆ LookupTableProperty() [1/3]
mitk::LookupTableProperty::LookupTableProperty |
( |
| ) |
|
|
protected |
◆ LookupTableProperty() [2/3]
◆ LookupTableProperty() [3/3]
◆ Clone()
Pointer mitk::LookupTableProperty::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::LookupTableProperty::GetClassHierarchy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetClassName()
virtual const char* mitk::LookupTableProperty::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetLookupTable()
virtual LookupTable* mitk::LookupTableProperty::GetLookupTable |
( |
| ) |
|
|
virtual |
◆ GetStaticNameOfClass()
static const char* mitk::LookupTableProperty::GetStaticNameOfClass |
( |
| ) |
|
|
inlinestatic |
◆ GetValue()
ValueType mitk::LookupTableProperty::GetValue |
( |
| ) |
const |
◆ GetValueAsString()
std::string mitk::LookupTableProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ New() [1/2]
static Pointer mitk::LookupTableProperty::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.
◆ SetLookupTable()
◆ SetValue()
void mitk::LookupTableProperty::SetValue |
( |
const ValueType & |
| ) |
|
◆ 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_LookupTable
The documentation for this class was generated from the following file: