Property for LookupTable data. More...
#include <mitkLookupTableProperty.h>
Public Types | |
typedef LookupTableProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual | ~LookupTableProperty () |
virtual bool | operator== (const BaseProperty &property) const |
Subclasses must implement this operator==. Operator== which is used by PropertyList to check whether a property has been changed. | |
virtual LookupTable * | GetLookupTable () |
void | SetLookupTable (const mitk::LookupTable::Pointer aLookupTable) |
Static Public Member Functions | |
static Pointer | New () |
static Pointer | New (const mitk::LookupTable::Pointer _arg) |
Protected Member Functions | |
LookupTableProperty () | |
LookupTableProperty (const mitk::LookupTable::Pointer lut) | |
Protected Attributes | |
LookupTable::Pointer | m_LookupTable |
Property for LookupTable data.
Definition at line 32 of file mitkLookupTableProperty.h.
typedef itk::SmartPointer<const Self> mitk::LookupTableProperty::ConstPointer |
Reimplemented from mitk::BaseProperty.
Definition at line 45 of file mitkLookupTableProperty.h.
typedef itk::SmartPointer<Self> mitk::LookupTableProperty::Pointer |
Reimplemented from mitk::BaseProperty.
Definition at line 45 of file mitkLookupTableProperty.h.
Reimplemented from mitk::BaseProperty.
Definition at line 45 of file mitkLookupTableProperty.h.
Reimplemented from mitk::BaseProperty.
Definition at line 45 of file mitkLookupTableProperty.h.
mitk::LookupTableProperty::LookupTableProperty | ( | ) | [protected] |
Definition at line 21 of file mitkLookupTableProperty.cpp.
{ }
mitk::LookupTableProperty::LookupTableProperty | ( | const mitk::LookupTable::Pointer | lut ) | [protected] |
Definition at line 25 of file mitkLookupTableProperty.cpp.
{ this->SetLookupTable(lut); }
mitk::LookupTableProperty::~LookupTableProperty | ( | ) | [virtual] |
Definition at line 35 of file mitkLookupTableProperty.cpp.
{ }
virtual const char* mitk::LookupTableProperty::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::BaseProperty.
virtual LookupTable* mitk::LookupTableProperty::GetLookupTable | ( | ) | [virtual] |
static Pointer mitk::LookupTableProperty::New | ( | ) | [static] |
static Pointer mitk::LookupTableProperty::New | ( | const mitk::LookupTable::Pointer | _arg ) | [inline, static] |
Definition at line 48 of file mitkLookupTableProperty.h.
bool mitk::LookupTableProperty::operator== | ( | const BaseProperty & | property ) | const [virtual] |
Subclasses must implement this operator==. Operator== which is used by PropertyList to check whether a property has been changed.
Implements mitk::BaseProperty.
Definition at line 39 of file mitkLookupTableProperty.cpp.
{ const Self *other = dynamic_cast<const Self*>(&property); if(other==NULL) return false; return *(other->m_LookupTable.GetPointer())==*(m_LookupTable.GetPointer()); }
void mitk::LookupTableProperty::SetLookupTable | ( | const mitk::LookupTable::Pointer | aLookupTable ) |
Definition at line 49 of file mitkLookupTableProperty.cpp.
Referenced by mitk::VectorImageVtkGlyphMapper3D::GenerateData().
{ // MITK_INFO << "setting LUT property ... " << std::endl; if((m_LookupTable != aLookupTable) || (*m_LookupTable != *aLookupTable)) { m_LookupTable = aLookupTable; Modified(); } // MITK_INFO << "setting LUT property OK! " << std::endl; }
Definition at line 36 of file mitkLookupTableProperty.h.