OpenSceneGraph
Classes | Namespaces | Macros | Functions
Transform File Reference
#include <osg/Group>
#include <osg/Matrix>

Classes

class  osg::Transform
 A Transform is a group node for which all children are transformed by a 4x4 matrix. More...
 

Namespaces

 osg
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
 

Macros

#define OSG_TRANSFORM   1
 
#define GL_RESCALE_NORMAL   0x803A
 
#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. More...
 
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. More...
 
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. More...
 
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. More...
 

Macro Definition Documentation

◆ GL_NORMALIZE

#define GL_NORMALIZE   0x0BA1

◆ GL_RESCALE_NORMAL

#define GL_RESCALE_NORMAL   0x803A

◆ OSG_TRANSFORM

#define OSG_TRANSFORM   1