Robot Simulator of the Robotics Group for Self-Organization of Control: OSGCylinder Class Reference

# OSGCylinder Class Reference

Graphical cylinder. More...

`#include <osgprimitive.h>`

Inherits lpzrobots::OSGPrimitive.

Collaboration diagram for OSGCylinder:
[legend]

List of all members.

## 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

## Detailed Description

Graphical cylinder.

## Constructor & Destructor Documentation

OSGCylinder | ( | float | radius,
|  | float | height |
| ) |  |  |

## Member Function Documentation

float getHeight | ( |  | ) | `[inline]`

float getRadius | ( |  | ) | `[inline]`

void init | ( | const OsgHandle & | osgHandle,
|  | Quality | quality = `Middle` |
| ) |  |  | `[virtual]`

Initialisation of the primitive.

Must in order to place the object into the scene. This function should be overloaded

Implements OSGPrimitive.

## Member Data Documentation

float height`[protected]`

float radius`[protected]`

The documentation for this class was generated from the following files:

- osgprimitive.h
- osgprimitive.cpp