osg::TransferFunction Class Reference

Inheritance diagram for osg::TransferFunction:

osg::Referenced osg::TransferFunction1D

List of all members.

Public Member Functions

 TransferFunction ()
osg::ImagegetImage ()
const osg::ImagegetImage () const
osg::TexturegetTexture ()
const osg::TexturegetTexture () const
osg::ShadergetShader ()
const osg::ShadergetShader () const

Protected Types

typedef std::vector< osg::Vec4Colors

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


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.

Member Typedef Documentation

typedef std::vector<osg::Vec4> osg::TransferFunction::Colors [protected]


Constructor & Destructor Documentation

osg::TransferFunction::TransferFunction (  ) 

virtual osg::TransferFunction::~TransferFunction (  )  [protected, virtual]


Member Function Documentation

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]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Wed Aug 13 17:03:35 2008 for openscenegraph by  doxygen 1.5.6