Rumba C++ SDK
ImathMatrixAlgo.h File Reference
#include "ImathMatrix.h"
#include "ImathQuat.h"
#include "ImathEuler.h"
#include "ImathExc.h"
#include "ImathVec.h"
#include <math.h>

Go to the source code of this file.

Namespaces

 Imath
 

Macros

#define IMATH_EXPORT_CONST   extern const
 

Functions

template<class T >
bool Imath::extractScaling (const Matrix44< T > &mat, Vec3< T > &scl, bool exc=true)
 
template<class T >
Matrix44< T > Imath::sansScaling (const Matrix44< T > &mat, bool exc=true)
 
template<class T >
bool Imath::removeScaling (Matrix44< T > &mat, bool exc=true)
 
template<class T >
bool Imath::extractScalingAndShear (const Matrix44< T > &mat, Vec3< T > &scl, Vec3< T > &shr, bool exc=true)
 
template<class T >
Matrix44< T > Imath::sansScalingAndShear (const Matrix44< T > &mat, bool exc=true)
 
template<class T >
bool Imath::removeScalingAndShear (Matrix44< T > &mat, bool exc=true)
 
template<class T >
bool Imath::extractAndRemoveScalingAndShear (Matrix44< T > &mat, Vec3< T > &scl, Vec3< T > &shr, bool exc=true)
 
template<class T >
void Imath::extractEulerXYZ (const Matrix44< T > &mat, Vec3< T > &rot)
 
template<class T >
void Imath::extractEulerZYX (const Matrix44< T > &mat, Vec3< T > &rot)
 
template<class T >
Quat< T > Imath::extractQuat (const Matrix44< T > &mat)
 
template<class T >
bool Imath::extractSHRT (const Matrix44< T > &mat, Vec3< T > &s, Vec3< T > &h, Vec3< T > &r, Vec3< T > &t, bool exc, typename Euler< T >::Order rOrder)
 
template<class T >
bool Imath::extractSHRT (const Matrix44< T > &mat, Vec3< T > &s, Vec3< T > &h, Vec3< T > &r, Vec3< T > &t, bool exc=true)
 
template<class T >
bool Imath::extractSHRT (const Matrix44< T > &mat, Vec3< T > &s, Vec3< T > &h, Euler< T > &r, Vec3< T > &t, bool exc=true)
 
template<class T >
bool Imath::checkForZeroScaleInRow (const T &scl, const Vec3< T > &row, bool exc=true)
 
template<class T >
Matrix44< T > Imath::rotationMatrix (const Vec3< T > &fromDirection, const Vec3< T > &toDirection)
 
template<class T >
Matrix44< T > Imath::rotationMatrixWithUpDir (const Vec3< T > &fromDir, const Vec3< T > &toDir, const Vec3< T > &upDir)
 
template<class T >
Matrix44< T > Imath::alignZAxisWithTargetDir (Vec3< T > targetDir, Vec3< T > upDir)
 
template<class T >
bool Imath::extractScaling (const Matrix33< T > &mat, Vec2< T > &scl, bool exc=true)
 
template<class T >
Matrix33< T > Imath::sansScaling (const Matrix33< T > &mat, bool exc=true)
 
template<class T >
bool Imath::removeScaling (Matrix33< T > &mat, bool exc=true)
 
template<class T >
bool Imath::extractScalingAndShear (const Matrix33< T > &mat, Vec2< T > &scl, T &h, bool exc=true)
 
template<class T >
Matrix33< T > Imath::sansScalingAndShear (const Matrix33< T > &mat, bool exc=true)
 
template<class T >
bool Imath::removeScalingAndShear (Matrix33< T > &mat, bool exc=true)
 
template<class T >
bool Imath::extractAndRemoveScalingAndShear (Matrix33< T > &mat, Vec2< T > &scl, T &shr, bool exc=true)
 
template<class T >
void Imath::extractEuler (const Matrix33< T > &mat, T &rot)
 
template<class T >
bool Imath::extractSHRT (const Matrix33< T > &mat, Vec2< T > &s, T &h, T &r, Vec2< T > &t, bool exc=true)
 
template<class T >
bool Imath::checkForZeroScaleInRow (const T &scl, const Vec2< T > &row, bool exc=true)
 

Variables

IMATH_EXPORT_CONST M33f Imath::identity33f
 
IMATH_EXPORT_CONST M44f Imath::identity44f
 
IMATH_EXPORT_CONST M33d Imath::identity33d
 
IMATH_EXPORT_CONST M44d Imath::identity44d
 

Macro Definition Documentation

◆ IMATH_EXPORT_CONST

#define IMATH_EXPORT_CONST   extern const