|
OpenSceneGraph
3.0.1
|
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. More...

Public Member Functions | |
| TransferFunction () | |
| TransferFunction (const TransferFunction &tf, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. | |
| META_Object (osg, TransferFunction) osg | |
| Get the image that is used for passing the transfer function data to the GPU. | |
| const osg::Image * | getImage () const |
| Get the const image that is used for passing the transfer function data to the GPU. | |
Protected Member Functions | |
| virtual | ~TransferFunction () |
Protected Attributes | |
| osg::ref_ptr< osg::Image > | _image |
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.
| 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] |
| const osg::Image* osg::TransferFunction::getImage | ( | ) | const [inline] |
Get the const image that is used for passing the transfer function data to the GPU.
| osg::TransferFunction::META_Object | ( | osg | , |
| TransferFunction | |||
| ) | [inline] |
Get the image that is used for passing the transfer function data to the GPU.
osg::ref_ptr<osg::Image> osg::TransferFunction::_image [protected] |
| Generated at Thu Sep 27 2012 17:03:05 for the OpenSceneGraph by doxygen 1.7.6.1. |