OpenSceneGraph 2.8.3

osgVolume::ScalarProperty Class Reference

Inheritance diagram for osgVolume::ScalarProperty:

List of all members.

Public Member Functions

 ScalarProperty (const std::string &scaleName, float value)
 ScalarProperty (const ScalarProperty &scalarProperty, const osg::CopyOp &copyop=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::UniformgetUniform ()
 Get the underlying uniform.
const osg::UniformgetUniform () const
 Get the underlying uniform.

Protected Member Functions

virtual ~ScalarProperty ()
 ScalarProperty ()

Protected Attributes

osg::ref_ptr< osg::Uniform_uniform

Constructor & Destructor Documentation

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]

Member Function Documentation

virtual void osgVolume::ScalarProperty::accept ( PropertyVisitor pv) [inline, virtual]
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.


Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:31 for the OpenSceneGraph by doxygen 1.7.3.