Public Member Functions | |
| ScalarProperty (const std::string &scaleName, float value) | |
| ScalarProperty (const ScalarProperty &scalarProperty, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgVolume, ScalarProperty) | |
| virtual void | accept (PropertyVisitor &pv) |
| virtual void | setValue (float v) |
| float | getValue () const |
| osg::Uniform * | getUniform () |
| const osg::Uniform * | getUniform () const |
Protected Member Functions | |
| virtual | ~ScalarProperty () |
| ScalarProperty () | |
Protected Attributes | |
| osg::ref_ptr< osg::Uniform > | _uniform |
| osgVolume::ScalarProperty::ScalarProperty | ( | const std::string & | scaleName, | |
| float | value | |||
| ) |
| osgVolume::ScalarProperty::ScalarProperty | ( | const ScalarProperty & | scalarProperty, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
| virtual osgVolume::ScalarProperty::~ScalarProperty | ( | ) | [inline, protected, virtual] |
| osgVolume::ScalarProperty::ScalarProperty | ( | ) | [protected] |
| virtual void osgVolume::ScalarProperty::accept | ( | PropertyVisitor & | pv | ) | [inline, virtual] |
Reimplemented from osgVolume::Property.
Reimplemented in osgVolume::IsoSurfaceProperty, osgVolume::AlphaFuncProperty, osgVolume::SampleDensityProperty, and osgVolume::TransparencyProperty.
References osgVolume::PropertyVisitor::apply().
| osg::Uniform* osgVolume::ScalarProperty::getUniform | ( | ) | [inline] |
Get the underlying uniform.
References osg::Uniform::get().
| const osg::Uniform* osgVolume::ScalarProperty::getUniform | ( | ) | const [inline] |
Get the underlying uniform.
References osg::Uniform::get().
| float osgVolume::ScalarProperty::getValue | ( | ) | const [inline] |
Get the value.
| osgVolume::ScalarProperty::META_Object | ( | osgVolume | , | |
| ScalarProperty | ||||
| ) |
| virtual void osgVolume::ScalarProperty::setValue | ( | float | v | ) | [inline, virtual] |
Set the value.
Reimplemented in osgVolume::AlphaFuncProperty.
osg::ref_ptr<osg::Uniform> osgVolume::ScalarProperty::_uniform [protected] |
1.7.1