OpenSceneGraph 2.8.4
|
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) |
Set the value. | |
float | getValue () const |
Get the value. | |
osg::Uniform * | getUniform () |
Get the underlying uniform. | |
const osg::Uniform * | getUniform () const |
Get the underlying uniform. | |
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] |
![]() | Generated at Sun Jan 8 2012 13:17:06 for the OpenSceneGraph by doxygen 1.7.4. |