ctkVTKPiecewiseFunction Class Reference

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

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

List of all members.

Public Member Functions

virtual ctkControlPointcontrolPoint (int index) const
virtual int count () const
 ctkVTKPiecewiseFunction (vtkPiecewiseFunction *piecewiserFunction, 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
vtkPiecewiseFunction * piecewiseFunction () const
virtual void range (qreal &minRange, qreal &maxRange) const
virtual void setControlPointPos (int index, qreal pos)
virtual void setControlPointValue (int index, const QVariant &value)
void setPiecewiseFunction (vtkPiecewiseFunction *piecewiseFunction)
virtual QVariant value (qreal pos) const
virtual ~ctkVTKPiecewiseFunction ()

Private Member Functions

 CTK_DECLARE_PRIVATE (ctkVTKPiecewiseFunction)

Private Attributes

 QVTK_OBJECT

Detailed Description

Transfer function for a vtkPiecewiseFunction

Definition at line 36 of file ctkVTKPiecewiseFunction.h.


Constructor & Destructor Documentation

ctkVTKPiecewiseFunction::ctkVTKPiecewiseFunction ( vtkPiecewiseFunction *  piecewiserFunction,
QObject *  parent = 0 
)

Definition at line 39 of file ctkVTKPiecewiseFunction.cpp.

ctkVTKPiecewiseFunction::~ctkVTKPiecewiseFunction (  )  [virtual]

Definition at line 48 of file ctkVTKPiecewiseFunction.cpp.


Member Function Documentation

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

Implements ctkTransferFunction.

Definition at line 136 of file ctkVTKPiecewiseFunction.cpp.

int ctkVTKPiecewiseFunction::count (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 53 of file ctkVTKPiecewiseFunction.cpp.

ctkVTKPiecewiseFunction::CTK_DECLARE_PRIVATE ( ctkVTKPiecewiseFunction   )  [private]
int ctkVTKPiecewiseFunction::insertControlPoint ( qreal  pos  )  [virtual]

Implements ctkTransferFunction.

Definition at line 233 of file ctkVTKPiecewiseFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 208 of file ctkVTKPiecewiseFunction.cpp.

bool ctkVTKPiecewiseFunction::isDiscrete (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 65 of file ctkVTKPiecewiseFunction.cpp.

bool ctkVTKPiecewiseFunction::isEditable (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 71 of file ctkVTKPiecewiseFunction.cpp.

QVariant ctkVTKPiecewiseFunction::maxValue (  )  const [virtual]

TODO initialize with max value

Implements ctkTransferFunction.

Definition at line 115 of file ctkVTKPiecewiseFunction.cpp.

QVariant ctkVTKPiecewiseFunction::minValue (  )  const [virtual]

TODO initialize with max value

Implements ctkTransferFunction.

Definition at line 94 of file ctkVTKPiecewiseFunction.cpp.

vtkPiecewiseFunction * ctkVTKPiecewiseFunction::piecewiseFunction (  )  const

Definition at line 282 of file ctkVTKPiecewiseFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 77 of file ctkVTKPiecewiseFunction.cpp.

void ctkVTKPiecewiseFunction::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 247 of file ctkVTKPiecewiseFunction.cpp.

void ctkVTKPiecewiseFunction::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 259 of file ctkVTKPiecewiseFunction.cpp.

void ctkVTKPiecewiseFunction::setPiecewiseFunction ( vtkPiecewiseFunction *  piecewiseFunction  ) 

Definition at line 272 of file ctkVTKPiecewiseFunction.cpp.

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

Implements ctkTransferFunction.

Definition at line 197 of file ctkVTKPiecewiseFunction.cpp.


Member Data Documentation

Definition at line 38 of file ctkVTKPiecewiseFunction.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