Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::LookupTableProperty Class Reference

The LookupTableProperty class Property to associate mitk::LookupTable to an mitk::DataNode. More...

#include <mitkLookupTableProperty.h>

Inheritance diagram for mitk::LookupTableProperty:
Collaboration diagram for mitk::LookupTableProperty:

Public Types

typedef LookupTable::Pointer ValueType
 
typedef LookupTableProperty Self
 
typedef BaseProperty Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::BaseProperty
typedef BaseProperty Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
virtual LookupTableGetLookupTable ()
 
ValueType GetValue () const
 
void SetLookupTable (const mitk::LookupTable::Pointer aLookupTable)
 
void SetValue (const ValueType &)
 
virtual std::string GetValueAsString () const override
 
- Public Member Functions inherited from mitk::BaseProperty
Pointer Clone () const
 
bool operator== (const BaseProperty &property) const
 Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More...
 
BasePropertyoperator= (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 Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 LookupTableProperty ()
 
 LookupTableProperty (const LookupTableProperty &)
 
 LookupTableProperty (const mitk::LookupTable::Pointer lut)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
virtual ~BaseProperty ()
 

Protected Attributes

LookupTable::Pointer m_LookupTable
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::BaseProperty
static const std::string VALUE_CANNOT_BE_CONVERTED_TO_STRING
 Default return value if a property which can not be returned as string. More...
 

Detailed Description

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.

Definition at line 42 of file mitkLookupTableProperty.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::LookupTableProperty::LookupTableProperty ( )
protected

Definition at line 19 of file mitkLookupTableProperty.cpp.

References mitk::LookupTable::New(), and SetLookupTable().

mitk::LookupTableProperty::LookupTableProperty ( const LookupTableProperty other)
protected

Definition at line 25 of file mitkLookupTableProperty.cpp.

mitk::LookupTableProperty::LookupTableProperty ( const mitk::LookupTable::Pointer  lut)
protected

Definition at line 30 of file mitkLookupTableProperty.cpp.

Member Function Documentation

Pointer mitk::LookupTableProperty::Clone ( ) const
virtual std::vector<std::string> mitk::LookupTableProperty::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 56 of file mitkLookupTableProperty.h.

virtual const char* mitk::LookupTableProperty::GetClassName ( ) const
virtual

Reimplemented from mitk::BaseProperty.

virtual LookupTable* mitk::LookupTableProperty::GetLookupTable ( )
virtual
static const char* mitk::LookupTableProperty::GetStaticNameOfClass ( )
inlinestatic

Definition at line 56 of file mitkLookupTableProperty.h.

mitk::LookupTableProperty::ValueType mitk::LookupTableProperty::GetValue ( ) const

Definition at line 53 of file mitkLookupTableProperty.cpp.

std::string mitk::LookupTableProperty::GetValueAsString ( ) const
overridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 46 of file mitkLookupTableProperty.cpp.

static Pointer mitk::LookupTableProperty::New ( const mitk::LookupTable::Pointer  _arg)
inlinestatic

Definition at line 59 of file mitkLookupTableProperty.h.

void mitk::LookupTableProperty::SetLookupTable ( const mitk::LookupTable::Pointer  aLookupTable)
void mitk::LookupTableProperty::SetValue ( const ValueType value)

Definition at line 67 of file mitkLookupTableProperty.cpp.

Member Data Documentation

LookupTable::Pointer mitk::LookupTableProperty::m_LookupTable
protected

Definition at line 45 of file mitkLookupTableProperty.h.


The documentation for this class was generated from the following files: