Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osgParticle::LinearInterpolator Class Reference

A linear interpolator. More...

Inheritance diagram for osgParticle::LinearInterpolator:

Inheritance graph
[legend]
List of all members.

Public Methods

 LinearInterpolator ()
 LinearInterpolator (const LinearInterpolator &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgParticle, LinearInterpolator)
virtual float interpolate (float t, float y1, float y2) const
 Interpolate between floats. Must be overriden in descendant classes.


Protected Methods

virtual ~LinearInterpolator ()

Detailed Description

A linear interpolator.


Constructor & Destructor Documentation

osgParticle::LinearInterpolator::LinearInterpolator   [inline]
 

osgParticle::LinearInterpolator::LinearInterpolator const LinearInterpolator &    copy,
const osg::CopyOp   copyop = osg::CopyOp::SHALLOW_COPY
[inline]
 

virtual osgParticle::LinearInterpolator::~LinearInterpolator   [inline, protected, virtual]
 


Member Function Documentation

virtual float osgParticle::LinearInterpolator::interpolate float    t,
float    y1,
float    y2
const [inline, virtual]
 

Interpolate between floats. Must be overriden in descendant classes.

Implements osgParticle::Interpolator.

osgParticle::LinearInterpolator::META_Object osgParticle   ,
LinearInterpolator   
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:51 2002 for the Open Scene Graph by doxygen 1.2.16.