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

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# OSGCapsule Class Reference

Graphical capsule (a cylinder with round ends). More...

`#include <osgprimitive.h>`

Inherits OSGPrimitive.

Inheritance diagram for OSGCapsule:

[legend]
Collaboration diagram for OSGCapsule:

[legend]
List of all members.

## Public Member Functions
| OSGCapsule (float radius, float height)
virtual void | init (const OsgHandle &osgHandle, Quality quality=Middle)
float | getRadius ()
float | getHeight ()
## Protected Attributes
float | radius
float | height

## Detailed Description

Graphical capsule (a cylinder with round ends).

## Constructor & Destructor Documentation

OSGCapsule | ( | float | radius,
|  | float | height |
| ) |  |  |

## Member Function Documentation

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

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

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

## Member Data Documentation

float height`[protected]`

float radius`[protected]`

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

- osgprimitive.h
- osgprimitive.cpp