![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
#include <MGeometryCone.h>
Public Types | |
| typedef MGeometryBase | BaseClass |
| typedef MArray< MVector3f > | MArrayVec3f |
| typedef MGeometryBase | BaseClass |
| typedef MArray< MVector3f > | MArrayVec3f |
Public Member Functions | |
| MGeometryCone () | |
| virtual | ~MGeometryCone () |
| void | set (float aRadius, float aHeight, unsigned int aHorizontal, unsigned int aVertical) |
| MGeometryCone () | |
| virtual | ~MGeometryCone () |
| void | set (float aRadius, float aHeight, unsigned int aHorizontal, unsigned int aVertical) |
Public Member Functions inherited from MGeometryBase | |
| MGeometryBase () | |
| virtual | ~MGeometryBase () |
| const MRendererPrimitive & | getPrimitive () const |
| The method returns the read-only primitive. | |
| MRendererPrimitive & | getPrimitive () |
| The method returns the read-write primitive. A user can modify the shape of primitive. | |
| virtual void | render (const MRendererProgram &aProgram) |
| The method renders the primitive with a program, which is passed as a parameter. | |
| MGeometryBase () | |
| virtual | ~MGeometryBase () |
| const MRendererPrimitive & | getPrimitive () const |
| The method returns the read-only primitive. | |
| MRendererPrimitive & | getPrimitive () |
| The method returns the read-write primitive. A user can modify the shape of primitive. | |
| virtual void | render (const MRendererProgram &aProgram) |
| The method renders the primitive with a program, which is passed as a parameter. | |
Private Member Functions | |
| void | buildPrimitveTSI (unsigned int aHorizontal, unsigned int aVertical, const MArrayVec3f &aPoints, const MArrayVec3f &aCoords, MRendererPrimitive &aOutPrimitive) const |
| void | buildPrimitveTSI (unsigned int aHorizontal, unsigned int aVertical, const MArrayVec3f &aPoints, const MArrayVec3f &aCoords, MRendererPrimitive &aOutPrimitive) const |
The class is inherited from a MGeometryBase class and represents a cone geometry.
| typedef MArray<MVector3f> MGeometryCone::MArrayVec3f |
| typedef MArray<MVector3f> MGeometryCone::MArrayVec3f |
| MGeometryCone::MGeometryCone | ( | ) |
|
virtual |
| MGeometryCone::MGeometryCone | ( | ) |
|
virtual |
|
private |
|
private |
| void MGeometryCone::set | ( | float | aRadius, |
| float | aHeight, | ||
| unsigned int | aHorizontal, | ||
| unsigned int | aVertical | ||
| ) |
Build a cone geometry with a specified radius at the bottom and a height. aHorizontal and aVertical parameters are used to specify resolution of the geometry.
| void MGeometryCone::set | ( | float | aRadius, |
| float | aHeight, | ||
| unsigned int | aHorizontal, | ||
| unsigned int | aVertical | ||
| ) |
Build a cone geometry with a specified radius at the bottom and a height. aHorizontal and aVertical parameters are used to specify resolution of the geometry.