OpenSceneGraph 2.8.4
|
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 | ( | ) |
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 Sun Jan 8 2012 13:16:24 for the OpenSceneGraph by doxygen 1.7.4. |