OpenSceneGraph  3.4.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
osgVolume::VolumeSettings Class Reference
Inheritance diagram for osgVolume::VolumeSettings:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Technique { FixedFunction, RayTraced, MultiPass }
enum  ShadingModel { Standard, Light, Isosurface, MaximumIntensityProjection }

Public Member Functions

 VolumeSettings ()
 VolumeSettings (const VolumeSettings &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osgVolume, VolumeSettings)
virtual void accept (PropertyVisitor &pv)
virtual void traverse (PropertyVisitor &pv)
void setFilename (const std::string &str)
const std::string & getFilename () const
void setTechnique (Technique technique)
Technique getTechnique () const
void setShadingModel (ShadingModel sm)
ShadingModel getShadingModel () const
void setSampleRatio (float sr)
float getSampleRatio () const
void setSampleRatioWhenMoving (float sr)
float getSampleRatioWhenMoving () const
void setCutoff (float co)
float getCutoff () const
void setTransparency (float t)
float getTransparency () const
SampleRatioPropertygetSampleRatioProperty ()
const SampleRatioPropertygetSampleRatioProperty () const
SampleRatioWhenMovingPropertygetSampleRatioWhenMovingProperty ()
const
SampleRatioWhenMovingProperty
getSampleRatioWhenMovingProperty () const
AlphaFuncPropertygetCutoffProperty ()
const AlphaFuncPropertygetCutoffProperty () const
TransparencyPropertygetTransparencyProperty ()
const TransparencyPropertygetTransparencyProperty () const
IsoSurfacePropertygetIsoSurfaceProperty ()
const IsoSurfacePropertygetIsoSurfaceProperty () const

Protected Member Functions

virtual ~VolumeSettings ()

Protected Attributes

std::string _filename
Technique _technique
ShadingModel _shadingModel
osg::ref_ptr< SampleRatioProperty_sampleRatioProperty
osg::ref_ptr
< SampleRatioWhenMovingProperty
_sampleRatioWhenMovingProperty
osg::ref_ptr< AlphaFuncProperty_cutoffProperty
osg::ref_ptr
< TransparencyProperty
_transparencyProperty
osg::ref_ptr< IsoSurfaceProperty_isoSurfaceProperty

Member Enumeration Documentation

Enumerator:
Standard 
Light 
Isosurface 
MaximumIntensityProjection 
Enumerator:
FixedFunction 
RayTraced 
MultiPass 

Constructor & Destructor Documentation

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osgVolume::VolumeSettings::~VolumeSettings ( ) [inline, protected, virtual]

Member Function Documentation

virtual void osgVolume::VolumeSettings::accept ( PropertyVisitor pv) [virtual]

Reimplemented from osgVolume::Property.

float osgVolume::VolumeSettings::getCutoff ( ) const [inline]
const std::string& osgVolume::VolumeSettings::getFilename ( ) const [inline]
void osgVolume::VolumeSettings::setFilename ( const std::string &  str) [inline]
void osgVolume::VolumeSettings::setSampleRatio ( float  sr) [inline]
void osgVolume::VolumeSettings::setTechnique ( Technique  technique) [inline]
void osgVolume::VolumeSettings::setTransparency ( float  t) [inline]
virtual void osgVolume::VolumeSettings::traverse ( PropertyVisitor pv) [virtual]

Reimplemented from osgVolume::Property.


Member Data Documentation

std::string osgVolume::VolumeSettings::_filename [protected]

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

osg logo
Generated at Tue Dec 8 2015 00:14:32 for the OpenSceneGraph by doxygen 1.7.6.1.