
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::Vec4 & | getValue (unsigned int i) const |
Protected Attributes | |
| float | _minimum |
| float | _maximum |
| osg::TransferFunction1D::TransferFunction1D | ( | ) |
| 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 | ) |
| 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] |
float osg::TransferFunction1D::_minimum [protected] |
float osg::TransferFunction1D::_maximum [protected] |