#include "SO3SCOL.h"#include "../SO3SceneGraph/SO3NodeScol.h"Go to the source code of this file.
Defines | |
| #define | SO3MathsNbPKG 42 |
Functions | |
| int | SO3MathsQuatToEulerXYZ (mmachine m) |
| Main include. | |
| int | SO3MathsQuatToEulerXZY (mmachine m) |
| SO3MathsQuatToEulerXZY : Scol function to transform quaternion vector in euler angles (XZY). | |
| int | SO3MathsQuatToEulerYXZ (mmachine m) |
| SO3MathsQuatToEulerYXZ : Scol function to transform quaternion vector in euler angles (YXZ). | |
| int | SO3MathsQuatToEulerYZX (mmachine m) |
| SO3MathsQuatToEulerYZX : Scol function to transform quaternion vector in euler angles (YZX). | |
| int | SO3MathsQuatToEulerZXY (mmachine m) |
| SO3MathsQuatToEulerZXY : Scol function to transform quaternion vector in euler angles (ZXY). | |
| int | SO3MathsQuatToEulerZYX (mmachine m) |
| SO3MathsQuatToEulerZYX : Scol function to transform quaternion vector in euler angles (ZYX). | |
| int | SO3MathsQuatToEulerDegreeXYZ (mmachine m) |
| SO3MathsQuatToEulerDegreeXYZ : Scol function to transform quaternion vector in euler angles (degree) (XYZ). | |
| int | SO3MathsQuatToEulerDegreeXZY (mmachine m) |
| SO3MathsQuatToEulerDegreeXZY : Scol function to transform quaternion vector in euler angles (degree) (XZY). | |
| int | SO3MathsQuatToEulerDegreeYXZ (mmachine m) |
| SO3MathsQuatToEulerDegreeYXZ : Scol function to transform quaternion vector in euler angles (degree) (YXZ). | |
| int | SO3MathsQuatToEulerDegreeYZX (mmachine m) |
| SO3MathsQuatToEulerDegreeYZX : Scol function to transform quaternion vector in euler angles (degree) (YZX). | |
| int | SO3MathsQuatToEulerDegreeZXY (mmachine m) |
| SO3MathsQuatToEulerDegreeZXY : Scol function to transform quaternion vector in euler angles (degree) (ZXY). | |
| int | SO3MathsQuatToEulerDegreeZYX (mmachine m) |
| SO3MathsQuatToEulerDegreeZYX : Scol function to transform quaternion vector in euler angles (degree) (ZYX). | |
| int | SO3MathsEulerXYZToQuat (mmachine m) |
| SO3MathsEulerXYZToQuat : Scol function to transform euler angles (XYZ) (radians) in a quaternion. | |
| int | SO3MathsEulerXZYToQuat (mmachine m) |
| SO3MathsEulerXZYToQuat : Scol function to transform euler angles (XZY) (radians) in a quaternion. | |
| int | SO3MathsEulerYXZToQuat (mmachine m) |
| SO3MathsEulerYXZToQuat : Scol function to transform euler angles (YXZ) (radians) in a quaternion. | |
| int | SO3MathsEulerYZXToQuat (mmachine m) |
| SO3MathsEulerYZXToQuat : Scol function to transform euler angles (YZX) (radians) in a quaternion. | |
| int | SO3MathsEulerZYXToQuat (mmachine m) |
| SO3MathsEulerZYXToQuat : Scol function to transform euler angles (ZYX) (radians) in a quaternion. | |
| int | SO3MathsEulerZXYToQuat (mmachine m) |
| SO3MathsEulerZXYToQuat : Scol function to transform euler angles (ZXY) (radians) in a quaternion. | |
| int | SO3MathsQuatDiff (mmachine m) |
| SO3MathsQuatDiff : Scol function to make the mathematical difference between two quaternions. | |
| int | SO3MathsQuatSubstract (mmachine m) |
| SO3MathsQuatSubstract : Scol function to substract two quaternions. | |
| int | SO3MathsQuatAdd (mmachine m) |
| SO3MathsQuatAdd : Scol function to add two quaternions. | |
| int | SO3MathsQuatInterpolate (mmachine m) |
| SO3MathsQuatInterpolate : function to interpolate two quaternions. | |
| int | SO3MathsDegreeToRadian (mmachine m) |
| SO3MathsDegreeToRadian : function to convert a value from degrees to radians. | |
| int | SO3MathsRadianToDegree (mmachine m) |
| SO3MathsRadianToDegree : function to convert a value from radians to degrees. | |
| int | SO3MathsQuatGetRoll (mmachine m) |
| SO3MathsQuatGetRoll : function to get the roll value from quaternion. | |
| int | SO3MathsQuatGetYaw (mmachine m) |
| SO3MathsQuatGetYaw : function to get the yaw value from quaternion. | |
| int | SO3MathsQuatGetPitch (mmachine m) |
| SO3MathsQuatGetPitch : function to get the pitch value from quaternion. | |
| int | SO3MathsQuatGetDegreeRoll (mmachine m) |
| SO3MathsQuatGetDegreeRoll : function to get the roll value in degree from quaternion. | |
| int | SO3MathsQuatGetDegreeYaw (mmachine m) |
| SO3MathsQuatGetDegreeYaw : function to get the yaw value in degree from quaternion. | |
| int | SO3MathsQuatGetDegreePitch (mmachine m) |
| SO3MathsQuatGetDegreePitch : function to get the pitch value in degree from quaternion. | |
| int | SO3MathsQuatToAxes (mmachine m) |
| SO3MathsQuatToAxes : function to project quaternion to axis values. | |
| int | SO3MathsQuatFromAngle (mmachine m) |
| SO3MathsQuatFromAngle : function to get Quaternion from X Y Z angle. | |
| int | SO3MathsQuatFromDegreeAngle (mmachine m) |
| SO3MathsQuatFromDegreeAngle : function to get Quaternion from X Y Z angle in degree. | |
| int | SO3MathsQuatFromAngleAxis (mmachine m) |
| SO3MathsQuatFromAngleAxis : function to get Quaternion from angle axis. | |
| int | SO3MathsQuatFromAxes (mmachine m) |
| SO3MathsQuatFromAxes : function to get Quaternion from axis. | |
| int | SO3MathsQuatGetXaxis (mmachine m) |
| SO3MathsQuatGetXaxis : function to get X-axis from quaternion. | |
| int | SO3MathsQuatGetYaxis (mmachine m) |
| SO3MathsQuatGetYaxis : function to get Y-axis from quaternion. | |
| int | SO3MathsQuatGetZaxis (mmachine m) |
| SO3MathsQuatGetZaxis : function to get Z-axis from quaternion. | |
| int | SO3MathsQuatGetDirection (mmachine m) |
| SO3MathsQuatGetDirection : function to get the direction from quaternion. | |
| int | SO3MathsClampValue (mmachine m) |
| SO3MathsClampValue : function to clamp a value. | |
| int | SO3MathsGetRotationTo (mmachine m) |
| SO3MathsGetRotationTo : Scol function to get the shortest arc quaternion to rotate the source vector to the destination vector. | |
| int | SO3MathsVectorDotProduct (mmachine m) |
| SO3MathsVectorDotProduct : Calculates the dot (scalar) product of this vector with another. | |
| int | SCOLloadMaths (mmachine m, cbmachine w) |
| Load the SO3Engine Mathematical functions. | |
| int | SCOLfreeMaths () |
| free the SO3Engine Lights function | |
Variables | |
| char * | SO3MathsName [SO3MathsNbPKG] |
| int(* | SO3MathsFunc [SO3MathsNbPKG])(mmachine m) |
| int | SO3MathsNArg [SO3MathsNbPKG] |
| char * | SO3MathsType [SO3MathsNbPKG] |
| #define SO3MathsNbPKG 42 |
Nb of Scol functions or types
Definition at line 2427 of file SCOLMaths.cpp.
| int SCOLfreeMaths | ( | ) |
free the SO3Engine Lights function
| m | : The VM |
Definition at line 2645 of file SCOLMaths.cpp.
Load the SO3Engine Mathematical functions.
| m | : The VM | |
| w | : The Callback VM |
Definition at line 2635 of file SCOLMaths.cpp.
| int(* SO3MathsFunc[SO3MathsNbPKG])(mmachine m) |
Pointers to C functions that manipulate the VM for each scol function previously defined
Definition at line 2483 of file SCOLMaths.cpp.
| char* SO3MathsName[SO3MathsNbPKG] |
Scol function names
Definition at line 2433 of file SCOLMaths.cpp.
| int SO3MathsNArg[SO3MathsNbPKG] |
Nb of arguments of each scol function
Definition at line 2533 of file SCOLMaths.cpp.
| char* SO3MathsType[SO3MathsNbPKG] |
Prototypes of the scol functions
Definition at line 2583 of file SCOLMaths.cpp.
1.6.3