Classes |
class | osg::Transform |
| A Transform is a group node for which all children are transformed by a 4x4 matrix. More...
|
Namespaces |
namespace | osg |
| The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
|
Defines |
#define | OSG_TRANSFORM 1 |
#define | GL_NORMALIZE 0x0BA1 |
Functions |
OSG_EXPORT Matrix | osg::computeLocalToWorld (const NodePath &nodePath, bool ignoreCameras=true) |
| Compute the matrix which transforms objects in local coords to world coords, by accumulating the Transform local to world matrices along the specified node path.
|
OSG_EXPORT Matrix | osg::computeWorldToLocal (const NodePath &nodePath, bool ignoreCameras=true) |
| Compute the matrix which transforms objects in world coords to local coords, by accumulating the Transform world to local matrices along the specified node path.
|
OSG_EXPORT Matrix | osg::computeLocalToEye (const Matrix &modelview, const NodePath &nodePath, bool ignoreCameras=true) |
| Compute the matrix which transforms objects in local coords to eye coords, by accumulating the Transform local to world matrices along the specified node path and multiplying by the supplied initial camera modelview.
|
OSG_EXPORT Matrix | osg::computeEyeToLocal (const Matrix &modelview, const NodePath &nodePath, bool ignoreCameras=true) |
| Compute the matrix which transforms objects in eye coords to local coords, by accumulating the Transform world to local matrices along the specified node path and multiplying by the inverse of the supplied initial camera modelview.
|