InvisibleSphere Class Reference

#include <invisibleprimitive.h>

Inheritance diagram for InvisibleSphere:

Inheritance graph
[legend]
Collaboration diagram for InvisibleSphere:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 63 of file invisibleprimitive.h.

Public Member Functions

 InvisibleSphere (float radius)
virtual void init (const OdeHandle &odeHandle, double mass, const OsgHandle &osgHandle, char mode=Body|Geom|Draw)
 registers primitive in ODE and OSG.
virtual void update ()
 Updates the OSG nodes with ODE coordinates.
virtual OSGPrimitivegetOSGPrimitive ()
 returns the assoziated osg primitive if there or 0

Protected Attributes

float radius


Constructor & Destructor Documentation

InvisibleSphere float  radius  ) 
 

Definition at line 66 of file invisibleprimitive.cpp.


Member Function Documentation

virtual OSGPrimitive* getOSGPrimitive  )  [inline, virtual]
 

returns the assoziated osg primitive if there or 0

Implements Primitive.

Definition at line 71 of file invisibleprimitive.h.

void init const OdeHandle odeHandle,
double  mass,
const OsgHandle osgHandle,
char  mode = Body|Geom|Draw
[virtual]
 

registers primitive in ODE and OSG.

Parameters:
osgHandle scruct with ODE variables inside (to specify space, world...)
mass Mass of the object in ODE (if withBody = true)
osgHandle scruct with OSG variables inside (scene node, color ...)
mode is a conjuction of Modes.

Implements Primitive.

Definition at line 70 of file invisibleprimitive.cpp.

virtual void update  )  [inline, virtual]
 

Updates the OSG nodes with ODE coordinates.

This function must be overloaded (usually calls setMatrix of OsgPrimitives)

Implements Primitive.

Definition at line 70 of file invisibleprimitive.h.


Member Data Documentation

float radius [protected]
 

Definition at line 74 of file invisibleprimitive.h.


Generated on Tue Apr 4 19:05:27 2006 for Robotsystem from Robot Group Leipzig by  doxygen 1.4.5