SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SbCubicSpline Class Reference

Public Types

enum  Type { CATMULL_ROM = 0 , B_SPLINE , BEZIER }
 

Public Member Functions

 SbCubicSpline (const int approxcount=256)
 
const SbMatrix & getBasisMatrix (void) const
 
SbVec3f getPoint (const float t)
 
int getSegmentInfo (const float t, float &segt) const
 
float getSegmentLength (const int idx)
 
SbVec3f getTangent (const float t)
 
void setBasisMatrix (const SbMatrix &m)
 
void setBasisMatrix (const Type type)
 
void setControlPoints (const SbVec3f *ptr, const int num)
 
void setControlPoints (const SbVec4f *pts, const int num)
 
void setLoop (const SbBool loop)
 

The documentation for this class was generated from the following files: