Public Member Functions | |
TransferFunction () | |
osg::Image * | getImage () |
const osg::Image * | getImage () const |
osg::Texture * | getTexture () |
const osg::Texture * | getTexture () const |
osg::Shader * | getShader () |
const osg::Shader * | getShader () const |
Protected Types | |
typedef std::vector < osg::Vec4 > | Colors |
Protected Member Functions | |
virtual | ~TransferFunction () |
Protected Attributes | |
Colors | _colors |
osg::ref_ptr < osg::Image > | _image |
osg::ref_ptr < osg::Texture > | _texture |
osg::ref_ptr < osg::Shader > | _shader |
Typically uses include mapping heights to colours when contouring terrain, or mapping intensities to colours when volume rendering.
typedef std::vector<osg::Vec4> osg::TransferFunction::Colors [protected] |
osg::TransferFunction::TransferFunction | ( | ) |
virtual osg::TransferFunction::~TransferFunction | ( | ) | [protected, virtual] |
osg::Image* osg::TransferFunction::getImage | ( | ) | [inline] |
const osg::Image* osg::TransferFunction::getImage | ( | ) | const [inline] |
osg::Texture* osg::TransferFunction::getTexture | ( | ) | [inline] |
const osg::Texture* osg::TransferFunction::getTexture | ( | ) | const [inline] |
osg::Shader* osg::TransferFunction::getShader | ( | ) | [inline] |
const osg::Shader* osg::TransferFunction::getShader | ( | ) | const [inline] |
Colors osg::TransferFunction::_colors [protected] |
osg::ref_ptr<osg::Image> osg::TransferFunction::_image [protected] |
osg::ref_ptr<osg::Texture> osg::TransferFunction::_texture [protected] |
osg::ref_ptr<osg::Shader> osg::TransferFunction::_shader [protected] |