Candy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Candy::XSplinePositionInterpolator Class Reference

This is a position interpolator that is using the x-spline to define the path. More...

Inheritance diagram for Candy::XSplinePositionInterpolator:
Inheritance graph
[legend]

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::MFVec3fkeyValue
 
std::auto_ptr< H3D::MFFloatkeyWeight
 
std::auto_ptr< SFValuevalue_changed
 
std::auto_ptr< H3D::SFBoolclosed
 

Static Public Attributes

static H3D::H3DNodeDatabase database
 

Detailed Description

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.