Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
The LookupTableProperty class Property to associate mitk::LookupTable to an mitk::DataNode. More...
#include <mitkLookupTableProperty.h>
Public Types | |
typedef LookupTable::Pointer | ValueType |
typedef LookupTableProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
typedef BaseProperty | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual LookupTable * | GetLookupTable () |
ValueType | GetValue () const |
void | SetLookupTable (const mitk::LookupTable::Pointer aLookupTable) |
void | SetValue (const ValueType &) |
std::string | GetValueAsString () const override |
![]() | |
Pointer | Clone () const |
bool | operator== (const BaseProperty &property) const |
Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More... | |
BaseProperty & | operator= (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
bool | AssignProperty (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
static Pointer | New (const mitk::LookupTable::Pointer _arg) |
![]() | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
LookupTableProperty () | |
LookupTableProperty (const LookupTableProperty &) | |
LookupTableProperty (const mitk::LookupTable::Pointer lut) | |
![]() | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
~BaseProperty () override | |
Protected Attributes | |
LookupTable::Pointer | m_LookupTable |
Additional Inherited Members | |
![]() | |
static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
Default return value if a property which can not be returned as string. More... | |
The LookupTableProperty class Property to associate mitk::LookupTable to an mitk::DataNode.
Definition at line 38 of file mitkLookupTableProperty.h.
typedef itk::SmartPointer<const Self> mitk::LookupTableProperty::ConstPointer |
Definition at line 52 of file mitkLookupTableProperty.h.
Definition at line 52 of file mitkLookupTableProperty.h.
Definition at line 52 of file mitkLookupTableProperty.h.
Definition at line 52 of file mitkLookupTableProperty.h.
Definition at line 50 of file mitkLookupTableProperty.h.
|
protected |
Definition at line 15 of file mitkLookupTableProperty.cpp.
References mitk::LookupTable::New(), and SetLookupTable().
|
protected |
Definition at line 21 of file mitkLookupTableProperty.cpp.
|
protected |
Definition at line 26 of file mitkLookupTableProperty.cpp.
References m_LookupTable, and SetLookupTable().
Pointer mitk::LookupTableProperty::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 52 of file mitkLookupTableProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
|
virtual |
Referenced by mitk::GizmoInteractor::SetManipulatedObjectNode().
|
inlinestatic |
Definition at line 52 of file mitkLookupTableProperty.h.
mitk::LookupTableProperty::ValueType mitk::LookupTableProperty::GetValue | ( | ) | const |
Definition at line 49 of file mitkLookupTableProperty.cpp.
References m_LookupTable.
|
overridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 42 of file mitkLookupTableProperty.cpp.
References m_LookupTable.
|
static |
Referenced by mitk::Tool::CreateSegmentationNode(), mitk::LookupTablePropertySerializer::Deserialize(), QmitkDataNodeColorMapAction::InitializeAction(), mitkImageVtkMapper2DLookupTableTest(), mitkPropertySerializationTest(), mitk::OtsuTool3D::RunSegmentation(), mitk::GizmoMapper2D::SetDefaultProperties(), mitk::RegEvaluationMapper2D::SetDefaultProperties(), mitk::ImageVtkMapper2D::SetDefaultProperties(), mitk::DoseImageVtkMapper2D::SetDefaultProperties(), and mitk::ColorBarAnnotation::SetLookupTable().
|
inlinestatic |
Definition at line 57 of file mitkLookupTableProperty.h.
void mitk::LookupTableProperty::SetLookupTable | ( | const mitk::LookupTable::Pointer | aLookupTable | ) |
Definition at line 54 of file mitkLookupTableProperty.cpp.
References m_LookupTable.
Referenced by LookupTableProperty(), and SetValue().
void mitk::LookupTableProperty::SetValue | ( | const ValueType & | value | ) |
Definition at line 63 of file mitkLookupTableProperty.cpp.
References SetLookupTable().
|
protected |
Definition at line 41 of file mitkLookupTableProperty.h.
Referenced by GetValue(), GetValueAsString(), LookupTableProperty(), and SetLookupTable().