Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

mitk::LookupTableProperty Class Reference
[Data Management Classes]

Property for LookupTable data. More...

#include <mitkLookupTableProperty.h>

Inheritance diagram for mitk::LookupTableProperty:
Inheritance graph
[legend]
Collaboration diagram for mitk::LookupTableProperty:
Collaboration graph
[legend]

List of all members.

Public Types

typedef LookupTableProperty Self
typedef BaseProperty Superclass
typedef itk::SmartPointer< SelfPointer
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 LookupTableGetLookupTable ()
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

Detailed Description

Property for LookupTable data.

Definition at line 32 of file mitkLookupTableProperty.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

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;    
}

Member Data Documentation

Definition at line 36 of file mitkLookupTableProperty.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines