ctkVTKLookupTable Class Reference

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

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

List of all members.

Public Member Functions

virtual ctkControlPointcontrolPoint (int index) const
virtual int count () const
 ctkVTKLookupTable (vtkLookupTable *lookupTable, QObject *parent=0)
 ctkVTKLookupTable (QObject *parent=0)
virtual int insertControlPoint (qreal pos)
virtual int insertControlPoint (const ctkControlPoint &cp)
virtual bool isDiscrete () const
virtual bool isEditable () const
vtkLookupTable * lookupTable () const
virtual QVariant maxValue () const
virtual QVariant minValue () 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 setLookupTable (vtkLookupTable *lookupTable)
virtual QVariant value (qreal pos) const
virtual ~ctkVTKLookupTable ()

Protected Member Functions

qreal indexToPos (int index) const
int posToIndex (qreal pos) const

Private Member Functions

 CTK_DECLARE_PRIVATE (ctkVTKLookupTable)

Private Attributes

 QVTK_OBJECT

Detailed Description

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

Definition at line 36 of file ctkVTKLookupTable.h.


Constructor & Destructor Documentation

ctkVTKLookupTable::ctkVTKLookupTable ( QObject *  parent = 0  ) 

Definition at line 40 of file ctkVTKLookupTable.cpp.

ctkVTKLookupTable::ctkVTKLookupTable ( vtkLookupTable *  lookupTable,
QObject *  parent = 0 
)

Definition at line 47 of file ctkVTKLookupTable.cpp.

ctkVTKLookupTable::~ctkVTKLookupTable (  )  [virtual]

Definition at line 56 of file ctkVTKLookupTable.cpp.


Member Function Documentation

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

Implements ctkTransferFunction.

Definition at line 152 of file ctkVTKLookupTable.cpp.

int ctkVTKLookupTable::count (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 61 of file ctkVTKLookupTable.cpp.

ctkVTKLookupTable::CTK_DECLARE_PRIVATE ( ctkVTKLookupTable   )  [private]
qreal ctkVTKLookupTable::indexToPos ( int  index  )  const [protected]

Definition at line 136 of file ctkVTKLookupTable.cpp.

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

Implements ctkTransferFunction.

Definition at line 182 of file ctkVTKLookupTable.cpp.

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

Implements ctkTransferFunction.

Definition at line 173 of file ctkVTKLookupTable.cpp.

bool ctkVTKLookupTable::isDiscrete (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 73 of file ctkVTKLookupTable.cpp.

bool ctkVTKLookupTable::isEditable (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 79 of file ctkVTKLookupTable.cpp.

vtkLookupTable * ctkVTKLookupTable::lookupTable (  )  const

Definition at line 218 of file ctkVTKLookupTable.cpp.

QVariant ctkVTKLookupTable::maxValue (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 119 of file ctkVTKLookupTable.cpp.

QVariant ctkVTKLookupTable::minValue (  )  const [virtual]

Implements ctkTransferFunction.

Definition at line 102 of file ctkVTKLookupTable.cpp.

int ctkVTKLookupTable::posToIndex ( qreal  pos  )  const [protected]

Definition at line 144 of file ctkVTKLookupTable.cpp.

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

Implements ctkTransferFunction.

Definition at line 85 of file ctkVTKLookupTable.cpp.

void ctkVTKLookupTable::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 190 of file ctkVTKLookupTable.cpp.

void ctkVTKLookupTable::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 199 of file ctkVTKLookupTable.cpp.

void ctkVTKLookupTable::setLookupTable ( vtkLookupTable *  lookupTable  ) 

Definition at line 208 of file ctkVTKLookupTable.cpp.

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

Implements ctkTransferFunction.

Definition at line 162 of file ctkVTKLookupTable.cpp.


Member Data Documentation

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