An abstract base class for implementing interpolators.
Definition osgParticle/Interpolator:30
A linear interpolator.
Definition LinearInterpolator:30
virtual osg::Vec2 interpolate(float t, const osg::Vec2 &y1, const osg::Vec2 &y2) const
Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separate...
Definition LinearInterpolator:45
LinearInterpolator(const LinearInterpolator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Definition LinearInterpolator:35
virtual osg::Vec4 interpolate(float t, const osg::Vec4 &y1, const osg::Vec4 &y2) const
Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separate...
Definition LinearInterpolator:55
META_Object(osgParticle, LinearInterpolator)
virtual ~LinearInterpolator()
Definition LinearInterpolator:61
virtual float interpolate(float t, float y1, float y2) const
Interpolate between floats. Must be overridden in descendant classes.
Definition LinearInterpolator:40
virtual osg::Vec3 interpolate(float t, const osg::Vec3 &y1, const osg::Vec3 &y2) const
Interpolate between 3-dimensional vectors. Default behavior is to interpolate each component separate...
Definition LinearInterpolator:50
LinearInterpolator()
Definition LinearInterpolator:32
Definition AccelOperator:27