#include <assert.h>
#include <osg/MatrixTransform>
#include "primitive.h"
#include "pos.h"
Include dependency graph for primitive.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | lpzrobots |
Functions | |
| osg::Matrix | lpzrobots::osgPose (dGeomID geom) |
| returns the osg (4x4) pose matrix of the ode geom | |
| osg::Matrix | lpzrobots::osgPose (dBodyID body) |
| returns the osg (4x4) pose matrix of the ode body | |
| osg::Matrix | lpzrobots::osgPose (const double *position, const double *rotation) |
| converts a position vector and a rotation matrix from ode to osg 4x4 matrix | |
| void | lpzrobots::odeRotation (const osg::Matrix &pose, dMatrix3 &odematrix) |
| converts the rotation component of pose into an ode rotation matrix | |
1.4.5