Robotsystem from Robot Group Leipzig: OSGCapsule Class Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

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

# OSGCapsule Class Reference

`#include <osgprimitive.h>`

Inheritance diagram for OSGCapsule:

[legend]
Collaboration diagram for OSGCapsule:

[legend]
List of all members.

## Detailed Description

Graphical capsule (a cylinder with round ends).

Definition at line 171 of file osgprimitive.h.

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

## Constructor & Destructor Documentation

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

| Definition at line 242 of file osgprimitive.cpp.

## Member Function Documentation

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

| Definition at line 178 of file osgprimitive.h.

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

| Definition at line 177 of file osgprimitive.h.

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

| Definition at line 246 of file osgprimitive.cpp.

## Member Data Documentation

float height`[protected]`

| Definition at line 181 of file osgprimitive.h.

float radius`[protected]`

| Definition at line 180 of file osgprimitive.h.