osg::TransferFunction1D Class Reference

1D variant of TransferFunction. More...

Inheritance diagram for osg::TransferFunction1D:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 TransferFunction1D ()
void setInputRange (float minimum, float maximum)
void setMinimum (float value)
float getMinimum () const
void setMaximum (float value)
float getMaximum () const
void allocate (unsigned int numX)
void clear (const osg::Vec4 &color=osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f))
unsigned int getNumberCellsX () const
void setValue (unsigned int i, const osg::Vec4 &color)
const osg::Vec4getValue (unsigned int i) const

Protected Attributes

float _minimum
float _maximum


Detailed Description

1D variant of TransferFunction.


Constructor & Destructor Documentation

osg::TransferFunction1D::TransferFunction1D (  ) 


Member Function Documentation

void osg::TransferFunction1D::setInputRange ( float  minimum,
float  maximum 
)

void osg::TransferFunction1D::setMinimum ( float  value  )  [inline]

float osg::TransferFunction1D::getMinimum (  )  const [inline]

void osg::TransferFunction1D::setMaximum ( float  value  )  [inline]

float osg::TransferFunction1D::getMaximum (  )  const [inline]

void osg::TransferFunction1D::allocate ( unsigned int  numX  ) 

void osg::TransferFunction1D::clear ( const osg::Vec4 color = osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f)  ) 

unsigned int osg::TransferFunction1D::getNumberCellsX (  )  const [inline]

void osg::TransferFunction1D::setValue ( unsigned int  i,
const osg::Vec4 color 
) [inline]

const osg::Vec4& osg::TransferFunction1D::getValue ( unsigned int  i  )  const [inline]


Member Data Documentation

float osg::TransferFunction1D::_minimum [protected]

float osg::TransferFunction1D::_maximum [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:18 2007 for the OpenSceneGraph by doxygen 1.5.3.