Public Member Functions

ctkVTKColorTransferFunction Class Reference

#include <Libs/Visualization/VTK/Core/ctkVTKColorTransferFunction.h>

Inheritance diagram for ctkVTKColorTransferFunction:
Inheritance graph
[legend]
Collaboration diagram for ctkVTKColorTransferFunction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

vtkColorTransferFunction * colorTransferFunction () const
virtual ctkControlPointcontrolPoint (int index) const
virtual int count () const
 ctkVTKColorTransferFunction (vtkColorTransferFunction *colorTransferFunction, QObject *parent=0)
virtual int insertControlPoint (const ctkControlPoint &cp)
virtual QVariant maxValue () const
virtual QVariant minValue () const
virtual void range (qreal &minRange, qreal &maxRange) const
void setColorTransferFunction (vtkColorTransferFunction *colorTransferFunction)
virtual void setControlPointPos (int index, qreal pos)
virtual void setControlPointValue (int index, const QVariant &value)
virtual QVariant value (qreal pos) const
virtual ~ctkVTKColorTransferFunction ()

Detailed Description

Transfer function for a vtkColorTransferFunction. The value is an RGB QColor (no alpha supported)

Definition at line 36 of file ctkVTKColorTransferFunction.h.


Constructor & Destructor Documentation

ctkVTKColorTransferFunction::ctkVTKColorTransferFunction ( vtkColorTransferFunction *  colorTransferFunction,
QObject *  parent = 0 
)

Definition at line 39 of file ctkVTKColorTransferFunction.cpp.

ctkVTKColorTransferFunction::~ctkVTKColorTransferFunction (  )  [virtual]

Definition at line 48 of file ctkVTKColorTransferFunction.cpp.


Member Function Documentation

vtkColorTransferFunction * ctkVTKColorTransferFunction::colorTransferFunction (  )  const

Definition at line 256 of file ctkVTKColorTransferFunction.cpp.

ctkControlPoint * ctkVTKColorTransferFunction::controlPoint ( int  index  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 136 of file ctkVTKColorTransferFunction.cpp.

int ctkVTKColorTransferFunction::count (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 53 of file ctkVTKColorTransferFunction.cpp.

int ctkVTKColorTransferFunction::insertControlPoint ( const ctkControlPoint cp  )  [virtual]

Implements ctkTransferFunction.

Definition at line 194 of file ctkVTKColorTransferFunction.cpp.

QVariant ctkVTKColorTransferFunction::maxValue (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 109 of file ctkVTKColorTransferFunction.cpp.

QVariant ctkVTKColorTransferFunction::minValue (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 82 of file ctkVTKColorTransferFunction.cpp.

void ctkVTKColorTransferFunction::range ( qreal &  minRange,
qreal &  maxRange 
) const [virtual]

Implements ctkTransferFunction.

Definition at line 65 of file ctkVTKColorTransferFunction.cpp.

void ctkVTKColorTransferFunction::setColorTransferFunction ( vtkColorTransferFunction *  colorTransferFunction  ) 

Definition at line 246 of file ctkVTKColorTransferFunction.cpp.

void ctkVTKColorTransferFunction::setControlPointPos ( int  index,
qreal  pos 
) [virtual]

be careful with it, as changing the value might require more changes to ctkControlPoint.

Implements ctkTransferFunction.

Definition at line 219 of file ctkVTKColorTransferFunction.cpp.

void ctkVTKColorTransferFunction::setControlPointValue ( int  index,
const QVariant &  value 
) [virtual]

be careful with it, as changing the value might require more changes to ctkControlPoint.

Implements ctkTransferFunction.

Definition at line 231 of file ctkVTKColorTransferFunction.cpp.

QVariant ctkVTKColorTransferFunction::value ( qreal  pos  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 183 of file ctkVTKColorTransferFunction.cpp.


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