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
SampleRatioProperty * getSampleRatioProperty ()
const SampleRatioProperty * getSampleRatioProperty () const
SampleRatioWhenMovingProperty * getSampleRatioWhenMovingProperty ()
const
SampleRatioWhenMovingProperty * 
getSampleRatioWhenMovingProperty () const
AlphaFuncProperty * getCutoffProperty ()
const AlphaFuncProperty * getCutoffProperty () const
TransparencyProperty * getTransparencyProperty ()
const TransparencyProperty * getTransparencyProperty () const
IsoSurfaceProperty * getIsoSurfaceProperty ()
const IsoSurfaceProperty * getIsoSurfaceProperty () 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:16:52 for the OpenSceneGraph by doxygen 1.7.6.1.