#include <PVLE/Export.h>
#include <ode/ode.h>
Go to the source code of this file.
Namespaces | |
namespace | Physics |
Physics computations and wraping functionalities. | |
Defines | |
#define | graphVec3 osg::Vec3d |
#define | graphVec4 osg::Vec4d |
#define | graphQuat osg::Quat |
#define | graphMat osg::Matrixd |
#define | graphBB osg::BoundingBox |
Functions | |
graphVec3 | Physics::toGraphVec3 (const dReal *v) |
graphVec4 | Physics::toGraphVec4 (const dVector4 &v) |
void | Physics::toPhyVec3 (const graphVec3 &v, dVector3 out_ret) |
void | Physics::toPhyVec3 (const dReal &x, const dReal &y, const dReal &z, dVector3 out_ret) |
void | Physics::toPhyVec4 (const graphVec4 &v, dVector4 out_ret) |
void | Physics::toPhyVec4 (const dReal &x, const dReal &y, const dReal &z, const dReal &w, dVector3 out_ret) |
graphQuat | Physics::toGraphQuat (const dReal *v) |
void | Physics::toPhyQuat (const graphQuat &quat, dQuaternion &out_q) |
PVLE_EXPORT graphMat | Physics::toGraphMatInertia (const dReal *m) |
PVLE_EXPORT graphMat | Physics::toGraphMatRotation (const dReal *m) |
PVLE_EXPORT graphMat | Physics::toGraphMatRotationPosition (const dReal *m, const dReal *p) |
PVLE_EXPORT void | Physics::toPhyMatRotation (const graphMat &matrix, dMatrix3 &out_matrix) |
graphBB | Physics::toGraphBB (dReal *bb) |
void | Physics::toPhyBB (const graphBB &bb, dReal *out_bb) |
dReal | Physics::kmhToms (dReal v) |
Converts km/h to m/s. | |
dReal | Physics::msTokmh (dReal v) |
Converts m/s to km/h. |
Used only for physics. Also defines float or double vectors, quaternions and matrix for Physics
namaspace, depending on the real-type (dReal
) used during ODE compilation. Caution : ODE rotations are inverted comparing to OSG ones.
Definition in file Converters.h.
#define graphBB osg::BoundingBox |
#define graphMat osg::Matrixd |
Definition at line 70 of file Converters.h.
Referenced by Physics::HeightFieldHandler::create(), Physics::toGraphMatInertia(), Physics::toGraphMatRotation(), Physics::toGraphMatRotationPosition(), and Physics::toPhyMatRotation().
#define graphQuat osg::Quat |
Definition at line 69 of file Converters.h.
Referenced by Physics::HeightFieldHandler::create(), Physics::toGraphMatRotation(), Physics::toGraphMatRotationPosition(), and Physics::toPhyMatRotation().
#define graphVec3 osg::Vec3d |
Definition at line 67 of file Converters.h.
Referenced by Physics::BoxHandler::getSize(), Physics::HeightFieldHandler::HeightFieldHandler(), Physics::toGraphBB(), and Physics::toGraphVec3().
#define graphVec4 osg::Vec4d |
Definition at line 68 of file Converters.h.
Referenced by Physics::PlaneHandler::getParams(), and Physics::toGraphVec4().