MeVisLabToolboxReference
|
The CSOGeneratePathPoints namespace offers interpolation methods (computing path points between seed points) as a linear interpolation, a spline interpolation and a spline approximation. More...
Functions | |
MLCSO_EXPORT void | fillAllPathPointsLinear (CSO *cso, unsigned int steps=1) |
Fills all CSOPathPoints of the given CSO by a linear interpolation method. | |
MLCSO_EXPORT void | fillAllPathPointsSpline (CSO *cso, unsigned int steps=1, int splineMode=0) |
Fills all CSOPathPoints of the given CSO by a spline method splineMode . | |
MLCSO_EXPORT void | fillAllPathPointsSplineInterpolation (CSO *cso, unsigned int steps=1) |
Fills all CSOPathPoints of the given CSO by a spline interpolation method. | |
MLCSO_EXPORT void | fillAllPathPointsSplineApproximation (CSO *cso, unsigned int steps=1) |
Fills all CSOPathPoints of the given CSO by a spline approximation method. | |
MLCSO_EXPORT void | fillPathPointsLinear (CSO *cso, CSOPathPoints *pPoints, unsigned int steps=1) |
Fills up the given CSOPathPoints of the given CSO by a linear interpolation method. | |
MLCSO_EXPORT void | fillPathPointsHermite (CSO *cso, CSOPathPoints *pPoints, const Vector3 &tangentTail, const Vector3 &tangentHead, unsigned int steps=1) |
Fills up the given CSOPathPoints of the given CSO by a hermite interpolation method using the given tangents for the head and the tail of the path. | |
MLCSO_EXPORT void | fillPathPointsSpline (CSO *cso, CSOPathPoints *pPoints, unsigned int steps=1, int splineMode=0) |
Fills up the given CSOPathPoints of the given CSO by a spline method splineMode . | |
MLCSO_EXPORT void | fillPathPointsSplineInterpolation (CSO *cso, CSOPathPoints *pPoints, unsigned int steps=1) |
Fills up the given CSOPathPoints of the given CSO by a spline interpolation method. | |
MLCSO_EXPORT void | fillPathPointsSplineApproximation (CSO *cso, CSOPathPoints *pPoints, unsigned int steps=1) |
Fills up the given CSOPathPoints of the given CSO by a spline approximation method. | |
MLCSO_EXPORT void | fillPathPointsSplineInterpolation (CSO *cso, CSOPathPoints *pPoints, const std::vector< Vector3 > &positions, unsigned int steps=1) |
Fills up the given CSOPathPoints of the given CSO by a spline interpolation method on base of the given positions. | |
MLCSO_EXPORT void | fillPathPointsSplineApproximation (CSO *cso, CSOPathPoints *pPoints, const std::vector< Vector3 > &positions, unsigned int steps=1) |
Fills up the given CSOPathPoints of the given CSO by a spline approximation method on base of the given positions. | |
MLCSO_EXPORT void | fillPathPointsSpline (CSO *cso, CSOPathPoints *pPoints, const std::vector< Vector3 > &positions, unsigned int steps=1, int splineMode=0) |
Fills up the given CSOPathPoints of the given CSO by a spline method splineMode on base of the given positions. | |
double | _catmullRomBasisFunc (int i, double t) |
Computes value of a basis function at section i of a Catmull-Rom spline. | |
void | _computeSingleCatmullRomPoint (int i, double t, Vector3 &pos, double *xCoords, double *yCoords, double *zCoords) |
Computes a single point for the Catmull-Rom spline interpolation. | |
double | _B_SplineBasisFunc (int i, double t) |
Computes value of a basis function at section i of a B-Spline. | |
void | _computeSingleB_SplinePoint (int i, double t, Vector3 &pos, double *xCoords, double *yCoords, double *zCoords) |
Computes a single point for the B-Spline approximation. |
The CSOGeneratePathPoints namespace offers interpolation methods (computing path points between seed points) as a linear interpolation, a spline interpolation and a spline approximation.
double ml::CSOGeneratePathPoints::_B_SplineBasisFunc | ( | int | i, |
double | t | ||
) |
Computes value of a basis function at section i
of a B-Spline.
double ml::CSOGeneratePathPoints::_catmullRomBasisFunc | ( | int | i, |
double | t | ||
) |
Computes value of a basis function at section i
of a Catmull-Rom spline.
void ml::CSOGeneratePathPoints::_computeSingleB_SplinePoint | ( | int | i, |
double | t, | ||
Vector3 & | pos, | ||
double * | xCoords, | ||
double * | yCoords, | ||
double * | zCoords | ||
) |
Computes a single point for the B-Spline approximation.
void ml::CSOGeneratePathPoints::_computeSingleCatmullRomPoint | ( | int | i, |
double | t, | ||
Vector3 & | pos, | ||
double * | xCoords, | ||
double * | yCoords, | ||
double * | zCoords | ||
) |
Computes a single point for the Catmull-Rom spline interpolation.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillAllPathPointsLinear | ( | CSO * | cso, |
unsigned int | steps = 1 |
||
) |
Fills all CSOPathPoints of the given CSO by a linear interpolation method.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillAllPathPointsSpline | ( | CSO * | cso, |
unsigned int | steps = 1 , |
||
int | splineMode = 0 |
||
) |
Fills all CSOPathPoints of the given CSO by a spline method splineMode
.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillAllPathPointsSplineApproximation | ( | CSO * | cso, |
unsigned int | steps = 1 |
||
) |
Fills all CSOPathPoints of the given CSO by a spline approximation method.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillAllPathPointsSplineInterpolation | ( | CSO * | cso, |
unsigned int | steps = 1 |
||
) |
Fills all CSOPathPoints of the given CSO by a spline interpolation method.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsHermite | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
const Vector3 & | tangentTail, | ||
const Vector3 & | tangentHead, | ||
unsigned int | steps = 1 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a hermite interpolation method using the given tangents for the head and the tail of the path.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsLinear | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
unsigned int | steps = 1 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a linear interpolation method.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsSpline | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
const std::vector< Vector3 > & | positions, | ||
unsigned int | steps = 1 , |
||
int | splineMode = 0 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a spline method splineMode
on base of the given positions.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsSpline | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
unsigned int | steps = 1 , |
||
int | splineMode = 0 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a spline method splineMode
.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsSplineApproximation | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
const std::vector< Vector3 > & | positions, | ||
unsigned int | steps = 1 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a spline approximation method on base of the given positions.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsSplineApproximation | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
unsigned int | steps = 1 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a spline approximation method.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsSplineInterpolation | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
const std::vector< Vector3 > & | positions, | ||
unsigned int | steps = 1 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a spline interpolation method on base of the given positions.
MLCSO_EXPORT void ml::CSOGeneratePathPoints::fillPathPointsSplineInterpolation | ( | CSO * | cso, |
CSOPathPoints * | pPoints, | ||
unsigned int | steps = 1 |
||
) |
Fills up the given CSOPathPoints of the given CSO by a spline interpolation method.