Developer Documentation

Public Member Functions | Private Member Functions | Private Attributes | List of all members
ACG::GLTorus Class Reference
Inheritance diagram for ACG::GLTorus:

## Public Member Functions
| GLTorus (GLdouble innerRadius, GLdouble outerRadius, GLint nsides, GLint rings)
int | getNumTriangles () override
Public Member Functions inherited from ACG::GLPrimitive
void | draw_primitive ()
void | draw_primitive (GLSL::Program *_program)
void | addToRenderer_primitive (class IRenderer *_renderer, struct RenderObject *_ro)
virtual int | getNumLines ()
unsigned int | getVBO ()
const VertexDeclaration * | getVertexDecl () const

## Private Member Functions
void | updateVBO () override

## Private Attributes
int | rings_
int | nsides_
float | innerRadius_
float | outerRadius_

## Additional Inherited Members
Public Types inherited from ACG::GLPrimitive
enum | NormalOrientation { OUTSIDE, INSIDE }
Protected Member Functions inherited from ACG::GLPrimitive
void | addTriangleToVBO (const ACG::Vec3f *_p, const ACG::Vec3f *_n, const ACG::Vec2f *_tex)
void | addLineToVBO (const ACG::Vec3f *_p, const ACG::Vec3f *_n, const ACG::Vec2f *_tex)
void | bindVBO ()
bool | checkVBO ()
void | unBindVBO ()
Protected Attributes inherited from ACG::GLPrimitive
bool | vboDataInvalid_
NormalOrientation | normalOrientation_

## Detailed Description

Definition at line 357 of file GLPrimitives.hh.

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

- OpenFlipper/libs_required/ACG/GL/GLPrimitives.hh
- OpenFlipper/libs_required/ACG/GL/GLPrimitives.cc