Gazebo

OgreSimpleShape Class Reference
[Rendering]

#include <OgreSimpleShape.hh>

List of all members.


Detailed Description

Class used to render simple shapes

Public Types

enum  Shape { CUBE, ROUNDED_CUBE, CYLINDER, SPHERE }

Static Public Member Functions

static void CreateSphere (const std::string &name, float radius, int rings, int segments)
static void CreateBox (const std::string &name, const Vector3 &sides)
static void CreateCylinder (const std::string &name, float radius, float height, int rings, int segments)

Member Enumeration Documentation

enum Shape

The type of shape


Member Function Documentation

static void CreateSphere ( const std::string &  name,
float  radius,
int  rings,
int  segments 
) [static]

Create a sphere mesh

static void CreateBox ( const std::string &  name,
const Vector3 sides 
) [static]

Create a Box mesh

static void CreateCylinder ( const std::string &  name,
float  radius,
float  height,
int  rings,
int  segments 
) [static]

Create a cylinder mesh


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

Last updated Aug 04 2007