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

# OSGBox Class Reference

Graphical box. More...

`#include <osgprimitive.h>`

Inherits lpzrobots::OSGPrimitive.

Collaboration diagram for OSGBox:
[legend]

List of all members.

## Public Member Functions
| OSGBox (float lengthX, float lengthY, float lengthZ)
| OSGBox (osg::Vec3 dim)
virtual void | init (const OsgHandle &osgHandle, Quality quality=Middle)
| Initialisation of the primitive.
virtual osg::Vec3 | getDim ()
virtual void | setDim (osg::Vec3)
## Protected Attributes
osg::Vec3 | dim
osg::Box * | box

## Detailed Description

Graphical box.

## Constructor & Destructor Documentation

OSGBox | ( | float | lengthX,
|  | float | lengthY,
|  | float | lengthZ |
| ) |  |  |

OSGBox | ( | osg::Vec3 | dim | ) |

## Member Function Documentation

Vec3 getDim | ( |  | ) | `[virtual]`

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.

void setDim | ( | osg::Vec3 | d | ) | `[virtual]`

## Member Data Documentation

osg::Box* box`[protected]`

osg::Vec3 dim`[protected]`

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

- osgprimitive.h
- osgprimitive.cpp