All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
gazebo::rendering::GeomUtils Class Reference

#include <GeomUtils.hh>

Static Public Member Functions

static void CreateCone (const Ogre::String &_strName, float _radius, float _height, int _nVerticesInBase)
 Create a cone Mesh with a given name, radius and number of vertices in base Created cone will have its head at 0,0,0, and will 'expand to' positive y. More...
 
static void CreateCone (Ogre::VertexData *&_vertexData, Ogre::IndexData *&_indexData, float _radius, float _height, int _nVerticesInBase)
 Fill up a fresh copy of VertexData and IndexData with a cone's coords given the radius and number of vertices in base. More...
 
static void CreateQuad (Ogre::VertexData *&_vertexData)
 Fill up a fresh copy of VertexData with a normalized quad. More...
 
static void CreateSphere (const Ogre::String &_strName, float _radius, int _nRings, int _nSegments, bool _bNormals, bool _bTexCoords)
 Create a sphere Mesh with a given name, radius, number of rings and number of segments. More...
 
static void CreateSphere (Ogre::VertexData *&_vertexData, Ogre::IndexData *&_indexData, float _radius, int _nRings, int _nSegments, bool _bNormals, bool _bTexCoords)
 Fill up a fresh copy of VertexData and IndexData with a sphere's coords given the number of rings and the number of segments. More...
 

Member Function Documentation

static void gazebo::rendering::GeomUtils::CreateCone ( const Ogre::String &  _strName,
float  _radius,
float  _height,
int  _nVerticesInBase 
)
static

Create a cone Mesh with a given name, radius and number of vertices in base Created cone will have its head at 0,0,0, and will 'expand to' positive y.

static void gazebo::rendering::GeomUtils::CreateCone ( Ogre::VertexData *&  _vertexData,
Ogre::IndexData *&  _indexData,
float  _radius,
float  _height,
int  _nVerticesInBase 
)
static

Fill up a fresh copy of VertexData and IndexData with a cone's coords given the radius and number of vertices in base.

static void gazebo::rendering::GeomUtils::CreateQuad ( Ogre::VertexData *&  _vertexData)
static

Fill up a fresh copy of VertexData with a normalized quad.

Referenced by gazebo::rendering::AmbientLight< techniquePolicy >::AmbientLight().

static void gazebo::rendering::GeomUtils::CreateSphere ( const Ogre::String &  _strName,
float  _radius,
int  _nRings,
int  _nSegments,
bool  _bNormals,
bool  _bTexCoords 
)
static

Create a sphere Mesh with a given name, radius, number of rings and number of segments.

static void gazebo::rendering::GeomUtils::CreateSphere ( Ogre::VertexData *&  _vertexData,
Ogre::IndexData *&  _indexData,
float  _radius,
int  _nRings,
int  _nSegments,
bool  _bNormals,
bool  _bTexCoords 
)
static

Fill up a fresh copy of VertexData and IndexData with a sphere's coords given the number of rings and the number of segments.


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