osg::TransferFunction Class Reference
List of all members.
Detailed Description
TransferFunction is a class that provide a 1D,2D or 3D colour look up table that can be used on the GPU as a 1D, 2D or 3D texture. Typically uses include mapping heights to colours when contouring terrain, or mapping intensities to colours when volume rendering.
Constructor & Destructor Documentation
osg::TransferFunction::TransferFunction |
( |
|
) |
|
osg::TransferFunction::TransferFunction |
( |
const TransferFunction & |
tf, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY | |
|
) |
| | |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::TransferFunction::~TransferFunction |
( |
|
) |
[protected, virtual] |
Member Function Documentation
const osg::Image* osg::TransferFunction::getImage |
( |
|
) |
const [inline] |
Get the const image that is used for passing the transfer function data to the GPU.
Get the image that is used for passing the transfer function data to the GPU.
Member Data Documentation
The documentation for this class was generated from the following file: