vrecko
virtual reality framework
|
#include <FilletSpline.h>
Public Member Functions | |
FilletSpline (double filletRadius, unsigned int filletSteps, SplinePtr decoratedSpline) | |
META_DAObjectDecorator (_decoratedSpline, FilletSpline,"Fillet Spline") virtual Vec3ArrayPtr getPoints() | |
Protected Member Functions | |
void | generateAllFilletPoints (Vec3ArrayPtr result, osg::Vec3 p1, osg::Vec3 p2, osg::Vec3 p3) |
void | getFilletPoints (osg::Vec3 p1, osg::Vec3 p2, osg::Vec3 p3, osg::Vec3 &f1, osg::Vec3 &f2) |
Protected Attributes | |
double | _filletRadius |
unsigned int | _filletSteps |
Spline decorator
Each of origin points is replaced by two new points creating fillet with given radius. fillet is interpolated by Catmull-Rom interpolation by given interpolation steps
FilletSpline::FilletSpline | ( | double | filletRadius, |
unsigned int | filletSteps, | ||
SplinePtr | decoratedSpline | ||
) |
|
protected |
|
protected |
FilletSpline::META_DAObjectDecorator | ( | _decoratedSpline | , |
FilletSpline | , | ||
"Fillet Spline" | |||
) |
Inherited methods
|
protected |
|
protected |