1 #ifndef COIN_SBCUBICSPLINE_H 2 #define COIN_SBCUBICSPLINE_H 36 #include <Inventor/lists/SbList.h> 37 #include <Inventor/SbMatrix.h> 38 #include <Inventor/SbVec3f.h> 39 #include <Inventor/SbVec4f.h> 41 #include <SmallChange/basic.h> 55 void setBasisMatrix(
const Type type);
56 void setBasisMatrix(
const SbMatrix & m);
57 const SbMatrix & getBasisMatrix(
void)
const;
58 void setLoop(
const SbBool loop);
59 void setControlPoints(
const SbVec3f * ptr,
const int num);
60 void setControlPoints(
const SbVec4f * pts,
const int num);
64 SbVec3f getPoint(
const float t);
65 SbVec3f getTangent(
const float t);
66 int getSegmentInfo(
const float t,
float & segt)
const;
67 float getSegmentLength(
const int idx);
71 int getSegdata(
const float t,
float & segt);
74 void initMatrix(
const int seg,
SbMatrix & m);
75 void initialize(
void);
76 int getSegnum(
const float time)
const;
77 int clampSegnum(
const int q)
const;
93 #endif // COIN_SBCUBICSPLINE_H
Type
Definition: SbCubicSpline.h:49
Definition: SbCubicSpline.h:44
Definition: SbCubicSpline.h:51