#include <PVLE/Config.h>#include <PVLE/Export.h>#include <PVLE/Util/Assert.h>#include <PVLE/Physics/AbstractGeom.h>#include <PVLE/Physics/Body.h>#include <PVLE/Physics/GeometryHandlers.h>#include <PVLE/Physics/Converters.h>#include <PVLE/Physics/SurfaceParams.h>#include <osg/Vec3>#include <osg/Vec3d>#include <osg/Quat>#include <osg/Matrix>


Go to the source code of this file.
Classes | |
| class | Physics::Geom |
| Enhanced wrapper for physical geometries. More... | |
Namespaces | |
| namespace | Physics |
| Physics computations and wraping functionalities. | |
Functions | |
| void | dGeomSetPosition (dGeomID id, const osg::Vec3 &pos) |
| osg::Vec3 | dGeomGetPositionV (dGeomID id) |
| void | dGeomSetQuaternion (dGeomID id, const osg::Quat &quat) |
| osg::Quat | dGeomGetQuaternionV (dGeomID id) |
| void | dGeomSetRotation (dGeomID id, const osg::Matrix &matrix) |
| osg::Matrix | dGeomGetRotationV (dGeomID id, const osg::Matrix &matrix) |
| void | dGeomSetOffsetPosition (dGeomID id, const osg::Vec3 &offset) |
| void | dGeomSetOffsetWorldPosition (dGeomID id, const osg::Vec3 &worldPos) |
| osg::Vec3 | dGeomGetOffsetPositionV (dGeomID id) |
| void | dGeomSetOffsetQuaternion (dGeomID id, const osg::Quat &offsetQuat) |
| void | dGeomSetOffsetWorldQuaternion (dGeomID id, const osg::Quat &worldQuat) |
| osg::Quat | dGeomGetOffsetQuaternionV (dGeomID id) |
| void | dGeomSetOffsetRotation (dGeomID id, const osg::Matrix &matrix) |
| void | dGeomSetOffsetWorldRotation (dGeomID id, const osg::Matrix &worldMatrix) |
| osg::Matrix | dGeomGetOffsetRotationV (dGeomID id) |
| osg::Vec3 dGeomGetOffsetPositionV | ( | dGeomID | id | ) | [inline] |
| osg::Quat dGeomGetOffsetQuaternionV | ( | dGeomID | id | ) | [inline] |
| osg::Matrix dGeomGetOffsetRotationV | ( | dGeomID | id | ) | [inline] |
| osg::Vec3 dGeomGetPositionV | ( | dGeomID | id | ) | [inline] |
Definition at line 48 of file Geom.h.
References Physics::toGraphVec3().
Referenced by Physics::Geom::Geom(), C3DPhy::getPos(), C3DPhy::getReferenceFrame(), and Explosion::hitBefore().
| osg::Quat dGeomGetQuaternionV | ( | dGeomID | id | ) | [inline] |
Definition at line 50 of file Geom.h.
References Physics::toGraphQuat().
Referenced by Physics::Geom::Geom(), C3DPhy::getQuaternion(), and C3DPhy::getReferenceFrame().
| osg::Matrix dGeomGetRotationV | ( | dGeomID | id, | |
| const osg::Matrix & | matrix | |||
| ) | [inline] |
| void dGeomSetOffsetPosition | ( | dGeomID | id, | |
| const osg::Vec3 & | offset | |||
| ) | [inline] |
| void dGeomSetOffsetQuaternion | ( | dGeomID | id, | |
| const osg::Quat & | offsetQuat | |||
| ) | [inline] |
| void dGeomSetOffsetRotation | ( | dGeomID | id, | |
| const osg::Matrix & | matrix | |||
| ) | [inline] |
Definition at line 60 of file Geom.h.
References Physics::toPhyMatRotation().
Referenced by Physics::Geom::setOffsetMatrix().
| void dGeomSetOffsetWorldPosition | ( | dGeomID | id, | |
| const osg::Vec3 & | worldPos | |||
| ) | [inline] |
| void dGeomSetOffsetWorldQuaternion | ( | dGeomID | id, | |
| const osg::Quat & | worldQuat | |||
| ) | [inline] |
| void dGeomSetOffsetWorldRotation | ( | dGeomID | id, | |
| const osg::Matrix & | worldMatrix | |||
| ) | [inline] |
Definition at line 61 of file Geom.h.
References Physics::toPhyMatRotation().
Referenced by Physics::Geom::setOffsetMatrixWorld().
| void dGeomSetPosition | ( | dGeomID | id, | |
| const osg::Vec3 & | pos | |||
| ) | [inline] |
Definition at line 47 of file Geom.h.
Referenced by Physics::HeightFieldHandler::create(), createBox3DPhy(), createCapsule3DPhy(), createCylinder3DPhy(), createFixedBox3DPhy(), createFixedCapsule3DPhy(), createFixedCylinder3DPhy(), createFixedSphere3DPhy(), createSphere3DPhy(), Physics::Geom::Geom(), Physics::Geom::setMatrix(), and Physics::Geom::translate().
| void dGeomSetQuaternion | ( | dGeomID | id, | |
| const osg::Quat & | quat | |||
| ) | [inline] |
Definition at line 49 of file Geom.h.
References Physics::toPhyQuat().
Referenced by createBox3DPhy(), createCapsule3DPhy(), createCylinder3DPhy(), createFixedBox3DPhy(), createFixedCapsule3DPhy(), createFixedCylinder3DPhy(), createFixedSphere3DPhy(), createSphere3DPhy(), and Physics::Geom::Geom().
| void dGeomSetRotation | ( | dGeomID | id, | |
| const osg::Matrix & | matrix | |||
| ) | [inline] |
Definition at line 51 of file Geom.h.
References Physics::toPhyMatRotation().
Referenced by Physics::HeightFieldHandler::create(), and Physics::Geom::setMatrix().
1.5.9