#include <primitive.h>
Inherits Primitive.
Inheritance diagram for Transform:


Public Member Functions | |
| Transform (Primitive *parent, Primitive *child, const osg::Matrix &pose) | |
| ~Transform () | |
| destructor deletes child object   | |
| virtual void | init (const OdeHandle &odeHandle, double mass, const OsgHandle &osgHandle, char mode=Body|Geom|Draw) | 
| initialised the transform object.   | |
| virtual void | update () | 
| Updates the OSG nodes with ODE coordinates.   | |
| virtual OSGPrimitive * | getOSGPrimitive () | 
| returns the assoziated osg primitive if there or 0   | |
Protected Attributes | |
| Primitive * | parent | 
| Primitive * | child | 
| osg::Matrix | pose | 
Hides complexity of ODE TransformGeoms.
      
  | 
  ||||||||||||||||
| 
 
 
  | 
  
      
  | 
  
| 
 destructor deletes child object 
  | 
  
      
  | 
  
| 
 returns the assoziated osg primitive if there or 0 
 Implements Primitive. 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 initialised the transform object. This automatically initialises the child geom. 
 Implements Primitive. 
  | 
  
      
  | 
  
| 
 Updates the OSG nodes with ODE coordinates. This function must be overloaded (usually calls setMatrix of OsgPrimitives) Implements Primitive. 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
 1.3.8