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

The TransferFunctionProperty class Property class for the mitk::TransferFunction. More...

#include <mitkTransferFunctionProperty.h>

Inheritance diagram for mitk::TransferFunctionProperty:
Collaboration diagram for mitk::TransferFunctionProperty:

Public Types

typedef mitk::TransferFunction::Pointer ValueType
 
typedef TransferFunctionProperty 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 void SetValue (mitk::TransferFunction::Pointer _arg)
 
virtual mitk::TransferFunction::Pointer GetValue () const
 
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 (mitk::TransferFunction::Pointer _arg)
 
- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 TransferFunctionProperty ()
 
 TransferFunctionProperty (const TransferFunctionProperty &other)
 
 TransferFunctionProperty (mitk::TransferFunction::Pointer value)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
virtual ~BaseProperty ()
 

Protected Attributes

mitk::TransferFunction::Pointer m_Value
 

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 TransferFunctionProperty class Property class for the mitk::TransferFunction.

Note
If you want to use this property for an mitk::Image, make sure to set the mitk::RenderingModeProperty to a mode which supports transfer functions (e.g. COLORTRANSFERFUNCTION_COLOR). Make sure to check the documentation of the mitk::RenderingModeProperty. For a code example how to use the mitk::TransferFunction check the mitkImageVtkMapper2DTransferFunctionTest.cpp in Core.

Definition at line 40 of file mitkTransferFunctionProperty.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::TransferFunctionProperty::TransferFunctionProperty ( )
protected

Definition at line 39 of file mitkTransferFunctionProperty.cpp.

mitk::TransferFunctionProperty::TransferFunctionProperty ( const TransferFunctionProperty other)
protected

Definition at line 40 of file mitkTransferFunctionProperty.cpp.

mitk::TransferFunctionProperty::TransferFunctionProperty ( mitk::TransferFunction::Pointer  value)
protected

Definition at line 45 of file mitkTransferFunctionProperty.cpp.

Member Function Documentation

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

Reimplemented from mitk::BaseProperty.

Definition at line 45 of file mitkTransferFunctionProperty.h.

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

Reimplemented from mitk::BaseProperty.

static const char* mitk::TransferFunctionProperty::GetStaticNameOfClass ( )
inlinestatic

Definition at line 45 of file mitkTransferFunctionProperty.h.

virtual mitk::TransferFunction::Pointer mitk::TransferFunctionProperty::GetValue ( ) const
virtual
std::string mitk::TransferFunctionProperty::GetValueAsString ( ) const
overridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 32 of file mitkTransferFunctionProperty.cpp.

References GetValue().

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

Definition at line 48 of file mitkTransferFunctionProperty.h.

virtual void mitk::TransferFunctionProperty::SetValue ( mitk::TransferFunction::Pointer  _arg)
virtual

Member Data Documentation

mitk::TransferFunction::Pointer mitk::TransferFunctionProperty::m_Value
protected

Definition at line 58 of file mitkTransferFunctionProperty.h.


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