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)
 ctkVTKColorTransferFunction (QObject *parent=0)
virtual int insertControlPoint (qreal pos)
virtual int insertControlPoint (const ctkControlPoint &cp)
virtual bool isDiscrete () const
virtual bool isEditable () const
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 ( QObject *  parent = 0  ) 

Definition at line 40 of file ctkVTKColorTransferFunction.cpp.

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

Definition at line 47 of file ctkVTKColorTransferFunction.cpp.

ctkVTKColorTransferFunction::~ctkVTKColorTransferFunction (  )  [virtual]

Definition at line 56 of file ctkVTKColorTransferFunction.cpp.


Member Function Documentation

vtkColorTransferFunction * ctkVTKColorTransferFunction::colorTransferFunction (  )  const

Definition at line 292 of file ctkVTKColorTransferFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 156 of file ctkVTKColorTransferFunction.cpp.

int ctkVTKColorTransferFunction::count (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 61 of file ctkVTKColorTransferFunction.cpp.

int ctkVTKColorTransferFunction::insertControlPoint ( qreal  pos  )  [virtual]

Implements ctkTransferFunction.

Definition at line 247 of file ctkVTKColorTransferFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 222 of file ctkVTKColorTransferFunction.cpp.

bool ctkVTKColorTransferFunction::isDiscrete (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 73 of file ctkVTKColorTransferFunction.cpp.

bool ctkVTKColorTransferFunction::isEditable (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 79 of file ctkVTKColorTransferFunction.cpp.

QVariant ctkVTKColorTransferFunction::maxValue (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 129 of file ctkVTKColorTransferFunction.cpp.

QVariant ctkVTKColorTransferFunction::minValue (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 102 of file ctkVTKColorTransferFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 85 of file ctkVTKColorTransferFunction.cpp.

void ctkVTKColorTransferFunction::setColorTransferFunction ( vtkColorTransferFunction *  colorTransferFunction  ) 

Definition at line 282 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 255 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 267 of file ctkVTKColorTransferFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 211 of file ctkVTKColorTransferFunction.cpp.


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

Generated on 21 May 2010 for CTK by  doxygen 1.6.1