|
const char * | LeapUtil::BoolToStr (uint32_t bVal) |
|
Leap::Vector | LeapUtil::CartesianToSpherical (const Leap::Vector &vCartesian) |
|
template<typename T > |
T | LeapUtil::Clamp (T inVal, T minVal, T maxVal) |
|
Leap::Vector | LeapUtil::ComponentWiseMax (const Leap::Vector &vLHS, const Leap::Vector &vRHS) |
|
Leap::Vector | LeapUtil::ComponentWiseMin (const Leap::Vector &vLHS, const Leap::Vector &vRHS) |
|
Leap::Vector | LeapUtil::ComponentWiseReciprocal (const Leap::Vector &vVec) |
|
Leap::Vector | LeapUtil::ComponentWiseScale (const Leap::Vector &vLHS, const Leap::Vector &vRHS) |
|
float | LeapUtil::Elevation (const Leap::Vector &vVec) |
| compute the spherical elevation of a vector direction in y above the z/x plane More...
|
|
Leap::Matrix | LeapUtil::ExtractRotation (const Leap::Matrix &mtxTransform) |
| create a new matrix with just the rotation block from the argument matrix More...
|
|
template<class Vec2 > |
Leap::Vector | LeapUtil::FromVector2 (const Vec2 &vIn, float fZ=0.0f) |
| requires that the source vector type have direct member access with names x, y More...
|
|
template<class Vec3 > |
Leap::Vector | LeapUtil::FromVector3 (const Vec3 &vIn) |
| requires that the source vector type have direct member access with names x, y, z More...
|
|
float | LeapUtil::Heading (const Leap::Vector &vVec) |
| compute the polar/spherical heading of a vector direction in z/x plane More...
|
|
template<typename T > |
bool | LeapUtil::IsNearEqual (const T &a, const T &b) |
| works with Vectors as well as floats More...
|
|
bool | LeapUtil::IsNearZero (float fVal) |
|
bool | LeapUtil::IsNearZero (const Leap::Vector &vVec) |
|
template<typename InterpType , typename ParamType > |
InterpType | LeapUtil::Linterp (InterpType a, InterpType b, ParamType t) |
| works with Vector as well as floating point scalar types. More...
|
|
template<typename T > |
T | LeapUtil::Max (T lhs, T rhs) |
|
float | LeapUtil::MaxComponent (const Leap::Vector &vVec) |
|
template<typename T > |
T | LeapUtil::Min (T lhs, T rhs) |
|
float | LeapUtil::MinComponent (const Leap::Vector &vVec) |
|
Leap::Vector | LeapUtil::NormalizeSpherical (const Leap::Vector &vSpherical) |
| set magnitude to 1 and bring heading to (-Pi,Pi], elevation into [-Pi/2, Pi/2] More...
|
|
Leap::Matrix | LeapUtil::RigidInverse (const Leap::Matrix &mtxTransform) |
|
Leap::Matrix | LeapUtil::RotationInverse (const Leap::Matrix &mtxRot) |
| returns a matrix representing the inverse rotation by simple transposition of the rotation block. More...
|
|
Leap::Vector | LeapUtil::SphericalToCartesian (const Leap::Vector &vSpherical) |
|