vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CatmullRomInterpolator.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Interpolator.h"
4 
6 {
7 public:
9  META_DAObject(CatmullRomInterpolator, "Catmull-Rom Interpolator")
10 
11  virtual Vec3ArrayPtr interpolate( const Vec3ArrayPtr array, unsigned int interpolationSteps, bool closed);
12 
14  osg::Vec3 interpolatePoint( const double& t, const osg::Vec3& p0, const osg::Vec3& p1, const osg::Vec3& p2, const osg::Vec3& p3 );
15 };
16