Candy
|
This is a position interpolator that is using the x-spline to define the path. More...
Classes | |
struct | SFValue |
Public Member Functions | |
XSplinePositionInterpolator (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFFloat > _set_fraction=0, H3D::Inst< H3D::MFFloat > _key=0, H3D::Inst< H3D::MFVec3f > _keyValue=0, H3D::Inst< H3D::MFFloat > _keyWeight=0, H3D::Inst< SFValue > _value_changed=0, H3D::Inst< H3D::SFBool > _closed=0) | |
Public Attributes | |
std::auto_ptr< H3D::MFVec3f > | keyValue |
std::auto_ptr< H3D::MFFloat > | keyWeight |
std::auto_ptr< SFValue > | value_changed |
std::auto_ptr< H3D::SFBool > | closed |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
This is a position interpolator that is using the x-spline to define the path.
X-Spline is an alternative to traditional splines and was introduced by Carole Blanc and Christophe Schlick in 1995. It is capable of defining a mixture of corners that are of various softness so that both a smooth bend and hard corners can be defined in the same path.