3ds Max C++ API Reference
Loading...
Searching...
No Matches
euler.h File Reference
#include "GeomExport.h"
#include "matrix3.h"
#include "quat.h"

Classes

class  RotationValue
 

Macros

#define EULERTYPE_XYZ   0
 
#define EULERTYPE_XZY   1
 
#define EULERTYPE_YZX   2
 
#define EULERTYPE_YXZ   3
 
#define EULERTYPE_ZXY   4
 
#define EULERTYPE_ZYX   5
 
#define EULERTYPE_XYX   6
 
#define EULERTYPE_YZY   7
 
#define EULERTYPE_ZXZ   8
 
#define EULERTYPE_RF   16
 

Functions

void QuatToEuler (const Quat &q, float *ang, int type, bool flag=false)
 
void EulerToQuat (float *ang, Quat &q, int type)
 
void MatrixToEuler (const Matrix3 &mat, float *ang, int type, bool flag=false)
 
void EulerToMatrix (float *ang, Matrix3 &mat, int type)
 
float GetEulerQuatAngleRatio (Quat &quat1, Quat &quat2, float *euler1, float *euler2, int type=EULERTYPE_XYZ)
 
float GetEulerMatAngleRatio (Matrix3 &mat1, Matrix3 &mat2, float *euler1, float *euler2, int type=EULERTYPE_XYZ)
 
void ContinuousQuatToEuler (const Quat &quat, float ang[3], int order)
 

Macro Definition Documentation

◆ EULERTYPE_XYZ

#define EULERTYPE_XYZ   0

◆ EULERTYPE_XZY

#define EULERTYPE_XZY   1

◆ EULERTYPE_YZX

#define EULERTYPE_YZX   2

◆ EULERTYPE_YXZ

#define EULERTYPE_YXZ   3

◆ EULERTYPE_ZXY

#define EULERTYPE_ZXY   4

◆ EULERTYPE_ZYX

#define EULERTYPE_ZYX   5

◆ EULERTYPE_XYX

#define EULERTYPE_XYX   6

◆ EULERTYPE_YZY

#define EULERTYPE_YZY   7

◆ EULERTYPE_ZXZ

#define EULERTYPE_ZXZ   8

◆ EULERTYPE_RF

#define EULERTYPE_RF   16

Function Documentation

◆ QuatToEuler()

void QuatToEuler ( const Quat q,
float *  ang,
int  type,
bool  flag = false 
)

◆ EulerToQuat()

void EulerToQuat ( float *  ang,
Quat q,
int  type 
)

◆ MatrixToEuler()

void MatrixToEuler ( const Matrix3 mat,
float *  ang,
int  type,
bool  flag = false 
)

◆ EulerToMatrix()

void EulerToMatrix ( float *  ang,
Matrix3 mat,
int  type 
)

◆ GetEulerQuatAngleRatio()

float GetEulerQuatAngleRatio ( Quat quat1,
Quat quat2,
float *  euler1,
float *  euler2,
int  type = EULERTYPE_XYZ 
)

◆ GetEulerMatAngleRatio()

float GetEulerMatAngleRatio ( Matrix3 mat1,
Matrix3 mat2,
float *  euler1,
float *  euler2,
int  type = EULERTYPE_XYZ 
)

◆ ContinuousQuatToEuler()

void ContinuousQuatToEuler ( const Quat quat,
float  ang[3],
int  order 
)