Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkTransferFunction Class Reference

mitkTransferFunction - an abstract class to map the data property to opacity More...

#include <mitkTransferFunction.h>

Inherits mitkObject.

Inherited by mitkTransferFunction1D, and mitkTransferFunction2DRGBA.

Inheritance diagram for mitkTransferFunction:

Inheritance graph
[legend]
Collaboration diagram for mitkTransferFunction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
float * GetData ()
virtual int GetDimension ()=0
bool IsModified () const
void SetUnmodified ()

Detailed Description

mitkTransferFunction - an abstract class to map the data property to opacity

mitkTransferFunction is an abstract transfer function to map the data property, including scalar value, gradient value, etc., to opacity. MITK supports multi-dimensional transfer function by subclassing it.

See also:
mitkTransferFunction1D


Member Function Documentation

float* mitkTransferFunction::GetData void   )  [inline]
 

Get the address of the opacity in the transfer function.

Returns:
Return a pointer to the address of the opacity in the transfer function. It may be a multi-dimensiona array, which depends on the dimensionality of this transfer function.

virtual int mitkTransferFunction::GetDimension  )  [pure virtual]
 

Get the dimensionality of this transfer function.

Note:
Pure virtual function. Its concrete subclass must implement this function

Implemented in mitkTransferFunction1D, and mitkTransferFunction2DRGBA.

bool mitkTransferFunction::IsModified  )  const [inline]
 

Test if some of the transfer function is modified.

Returns:
Return true if some of the properties are modified. Otherwise return false.

virtual void mitkTransferFunction::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkObject.

Reimplemented in mitkTransferFunction1D.

void mitkTransferFunction::SetUnmodified  )  [inline]
 

Reset to unmodified after changes have been done according to the new transfer function.

Reimplemented in mitkTransferFunction2DRGBA.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:06:54 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3