ctkTransferFunction Class Reference

#include <Libs/Core/ctkTransferFunction.h>

Inheritance diagram for ctkTransferFunction:
Inheritance graph
[legend]

List of all members.

Signals

void changed ()

Public Member Functions

virtual ctkControlPointcontrolPoint (int index) const =0
virtual int count () const =0
 ctkTransferFunction (QObject *parent=0)
virtual int insertControlPoint (qreal pos)=0
virtual int insertControlPoint (const ctkControlPoint &cp)=0
virtual bool isDiscrete () const =0
virtual bool isEditable () const =0
virtual QVariant maxValue () const =0
virtual QVariant minValue () const =0
virtual void range (qreal &minRange, qreal &maxRange) const =0
void range (qreal rangeValues[2]) const
virtual void setControlPointPos (int index, qreal pos)=0
virtual void setControlPointValue (int index, const QVariant &value)=0
virtual QVariant value (qreal pos) const =0
QVariant value (int index) const
void valueRange (QVariant range[2]) const
virtual ~ctkTransferFunction ()

Detailed Description

Definition at line 73 of file ctkTransferFunction.h.


Constructor & Destructor Documentation

ctkTransferFunction::ctkTransferFunction ( QObject *  parent = 0  ) 

Definition at line 39 of file ctkTransferFunction.cpp.

ctkTransferFunction::~ctkTransferFunction (  )  [virtual]

Definition at line 45 of file ctkTransferFunction.cpp.


Member Function Documentation

void ctkTransferFunction::changed (  )  [signal]
virtual ctkControlPoint* ctkTransferFunction::controlPoint ( int  index  )  const [pure virtual]
virtual int ctkTransferFunction::count (  )  const [pure virtual]
virtual int ctkTransferFunction::insertControlPoint ( qreal  pos  )  [pure virtual]
virtual int ctkTransferFunction::insertControlPoint ( const ctkControlPoint cp  )  [pure virtual]
virtual bool ctkTransferFunction::isDiscrete (  )  const [pure virtual]
virtual bool ctkTransferFunction::isEditable (  )  const [pure virtual]
virtual QVariant ctkTransferFunction::maxValue (  )  const [pure virtual]
virtual QVariant ctkTransferFunction::minValue (  )  const [pure virtual]
virtual void ctkTransferFunction::range ( qreal &  minRange,
qreal &  maxRange 
) const [pure virtual]
void ctkTransferFunction::range ( qreal  rangeValues[2]  )  const [inline]

Definition at line 117 of file ctkTransferFunction.h.

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

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

Implemented in ctkVTKColorTransferFunction, ctkVTKCompositeFunction, ctkVTKLookupTable, and ctkVTKPiecewiseFunction.

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

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

Implemented in ctkVTKColorTransferFunction, ctkVTKCompositeFunction, ctkVTKLookupTable, and ctkVTKPiecewiseFunction.

virtual QVariant ctkTransferFunction::value ( qreal  pos  )  const [pure virtual]
QVariant ctkTransferFunction::value ( int  index  )  const [inline]

Definition at line 110 of file ctkTransferFunction.h.

void ctkTransferFunction::valueRange ( QVariant  range[2]  )  const [inline]

Definition at line 123 of file ctkTransferFunction.h.


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