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

mitk::TransferFunctionProperty Class Reference

#include <mitkTransferFunctionProperty.h>

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

List of all members.

Public Types

typedef TransferFunctionProperty Self
typedef BaseProperty Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
virtual void SetValue (mitk::TransferFunction::Pointer _arg)
virtual
mitk::TransferFunction::Pointer 
GetValue () const
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.
std::string GetValueAsString () const

Static Public Member Functions

static Pointer New ()
static Pointer New (mitk::TransferFunction::Pointer _arg)

Protected Member Functions

 TransferFunctionProperty ()
virtual ~TransferFunctionProperty ()
 TransferFunctionProperty (mitk::TransferFunction::Pointer value)

Protected Attributes

mitk::TransferFunction::Pointer m_Value

Detailed Description

Definition at line 28 of file mitkTransferFunctionProperty.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::TransferFunctionProperty::ConstPointer

Reimplemented from mitk::BaseProperty.

Definition at line 31 of file mitkTransferFunctionProperty.h.

typedef itk::SmartPointer<Self> mitk::TransferFunctionProperty::Pointer

Reimplemented from mitk::BaseProperty.

Definition at line 31 of file mitkTransferFunctionProperty.h.

Reimplemented from mitk::BaseProperty.

Definition at line 31 of file mitkTransferFunctionProperty.h.

Reimplemented from mitk::BaseProperty.

Definition at line 31 of file mitkTransferFunctionProperty.h.


Constructor & Destructor Documentation

mitk::TransferFunctionProperty::TransferFunctionProperty (  ) [inline, protected]

Definition at line 64 of file mitkTransferFunctionProperty.h.

          : BaseProperty()
        {};
virtual mitk::TransferFunctionProperty::~TransferFunctionProperty (  ) [inline, protected, virtual]

Definition at line 68 of file mitkTransferFunctionProperty.h.

        {
        };
mitk::TransferFunctionProperty::TransferFunctionProperty ( mitk::TransferFunction::Pointer  value ) [inline, protected]

Definition at line 72 of file mitkTransferFunctionProperty.h.

          : BaseProperty(), m_Value( value )
        {};

Member Function Documentation

virtual const char* mitk::TransferFunctionProperty::GetClassName (  ) const [virtual]

Reimplemented from mitk::BaseProperty.

virtual mitk::TransferFunction::Pointer mitk::TransferFunctionProperty::GetValue (  ) const [virtual]
std::string mitk::TransferFunctionProperty::GetValueAsString (  ) const [inline, virtual]

Reimplemented from mitk::BaseProperty.

Definition at line 55 of file mitkTransferFunctionProperty.h.

                                         {
        std::stringstream myStr;
        myStr << GetValue() ;
        return myStr.str(); 
      }
static Pointer mitk::TransferFunctionProperty::New (  ) [static]
static Pointer mitk::TransferFunctionProperty::New ( mitk::TransferFunction::Pointer  _arg ) [inline, static]

Definition at line 34 of file mitkTransferFunctionProperty.h.

virtual bool mitk::TransferFunctionProperty::operator== ( const BaseProperty property ) const [inline, 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 42 of file mitkTransferFunctionProperty.h.

                                                                  {

        const Self *other = dynamic_cast<const Self*>(&property);

        if(other==NULL) 
          return false;
        else
          return *(m_Value.GetPointer()) == *(other->m_Value.GetPointer());
      }
virtual void mitk::TransferFunctionProperty::SetValue ( mitk::TransferFunction::Pointer  _arg ) [virtual]

Member Data Documentation

Definition at line 62 of file mitkTransferFunctionProperty.h.


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