Graphical cylinder. More...
#include <osgprimitive.h>
Inherits lpzrobots::OSGPrimitive.
Public Member Functions | |
OSGCylinder (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 cylinder.
OSGCylinder | ( | 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] |