Implements iATransferFunction and owns both color and opacity transfer function.
More...
#include <iATransferFunctionOwner.h>
Implements iATransferFunction and owns both color and opacity transfer function.
◆ iATransferFunctionOwner() [1/3]
| iATransferFunctionOwner::iATransferFunctionOwner |
( |
| ) |
|
Create an "empty" transfer function.
◆ iATransferFunctionOwner() [2/3]
| iATransferFunctionOwner::iATransferFunctionOwner |
( |
vtkSmartPointer< vtkColorTransferFunction > |
ctf, |
|
|
vtkSmartPointer< vtkPiecewiseFunction > |
otf, |
|
|
bool |
opacityRamp = true |
|
) |
| |
Create from the given transfer functions, taking on co-ownership; the transfer functions are assumed to be initialized already.
- Parameters
-
| ctf | a smart pointer to an (allocated and initialized) color transfer function |
| otf | a smart pointer to an (allocated and initialized) opacity transfer function |
| opacityRamp | whether, in case the function is reset through resetFunction, the opacity transfer function should go from 0..1 (true) or always be 1 (false) |
◆ iATransferFunctionOwner() [3/3]
| iATransferFunctionOwner::iATransferFunctionOwner |
( |
double const |
range[2], |
|
|
bool |
opacityRamp = true |
|
) |
| |
Create own transfer functions and initialize to default for the given range.
- Parameters
-
| range | the range of values for which the transfer function applies |
| opacityRamp | whether the created default transfer function (and in case the function is reset through resetFunction), the opacity transfer function should go from 0..1 (true) or always be 1 (false) |
◆ colorTF()
| vtkColorTransferFunction * iATransferFunctionOwner::colorTF |
( |
| ) |
|
|
overridevirtual |
◆ opacityTF()
| vtkPiecewiseFunction * iATransferFunctionOwner::opacityTF |
( |
| ) |
|
|
overridevirtual |
◆ resetFunctions()
| void iATransferFunctionOwner::resetFunctions |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: