Kanzi 4.1.0
interpolation.hpp File Reference

Namespaces

namespace  kanzi
 

Typedefs

using kanzi::ResourceSharedPtr
 Resource shared pointer type.
 

Functions

bool kanzi::animationBlend (bool lhs, bool rhs, float alpha)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns lhs when alpha is 0, rhs when alpha is 1, and lhs || rhs when alpha is strictly between 0 and 1.
 
SRTValue2D kanzi::animationBlend (const SRTValue2D &lhs, const SRTValue2D &rhs, float alpha)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
SRTValue3D kanzi::animationBlend (const SRTValue3D &lhs, const SRTValue3D &rhs, float alpha)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Uses spherical linear interpolation for rotation blending.
 
template<typename T >
T kanzi::animationBlend (const T &lhs, const T &rhs, float alpha)
 Blends two animated values based on a blend weight.
 
ResourceSharedPtr kanzi::animationBlend (ResourceSharedPtr, ResourceSharedPtr rhs, float)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Blending is not defined for resources.
 
bool kanzi::animationConcatenate (bool lhs, bool rhs)
 
SRTValue2D kanzi::animationConcatenate (const SRTValue2D &lhs, const SRTValue2D &rhs)
 
SRTValue3D kanzi::animationConcatenate (const SRTValue3D &lhs, const SRTValue3D &rhs)
 
template<typename T >
T kanzi::animationConcatenate (const T &lhs, const T &rhs)
 
ResourceSharedPtr kanzi::animationConcatenate (ResourceSharedPtr, ResourceSharedPtr rhs)
 
bool kanzi::animationInterpolate (bool from, bool to, float phase)
 
Quaternion kanzi::animationInterpolate (const Quaternion &from, const Quaternion &to, float phase)
 
QuaternionLongerPath kanzi::animationInterpolate (const QuaternionLongerPath &from, const QuaternionLongerPath &to, float phase)
 
ResourceID kanzi::animationInterpolate (const ResourceID &from, const ResourceID &to, float phase)
 
const ResourceSharedPtrkanzi::animationInterpolate (const ResourceSharedPtr &from, const ResourceSharedPtr &to, float phase)
 
SRTValue2D kanzi::animationInterpolate (const SRTValue2D &from, const SRTValue2D &to, float phase)
 
SRTValue3D kanzi::animationInterpolate (const SRTValue3D &from, const SRTValue3D &to, float phase)
 
SRTValue3DLongerPath kanzi::animationInterpolate (const SRTValue3DLongerPath &from, const SRTValue3DLongerPath &to, float phase)
 
string kanzi::animationInterpolate (const string &from, const string &to, float phase)
 
template<typename T >
T kanzi::animationInterpolate (const T &from, const T &to, float phase)
 
int kanzi::animationInterpolate (int from, int to, float phase)