Graphical capsule (a cylinder with round ends). More...
#include <osgprimitive.h>
Inherits lpzrobots::OSGPrimitive.
Public Member Functions | |
OSGCapsule (float radius, float height) | |
virtual void | init (const OsgHandle &osgHandle, Quality quality=Middle) |
Initialisation of the primitive. | |
float | getRadius () |
float | getHeight () |
Protected Attributes | |
float | radius |
float | height |
Graphical capsule (a cylinder with round ends).
OSGCapsule | ( | float | radius, | |
float | height | |||
) |
float getHeight | ( | ) | [inline] |
float getRadius | ( | ) | [inline] |
Initialisation of the primitive.
Must in order to place the object into the scene. This function should be overloaded
Implements OSGPrimitive.
float height [protected] |
float radius [protected] |