Developer Documentation

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
ACG::GLPrimitive Class Referenceabstract
Inheritance diagram for ACG::GLPrimitive:

## Public Types
enum | NormalOrientation { OUTSIDE, INSIDE }

## Public Member Functions
void | draw_primitive ()
void | draw_primitive (GLSL::Program *_program)
void | addToRenderer_primitive (class IRenderer *_renderer, struct RenderObject *_ro)
virtual int | getNumTriangles ()=0
virtual int | getNumLines ()
unsigned int | getVBO ()
const VertexDeclaration * | getVertexDecl () const

## Protected Member Functions
virtual void | updateVBO ()=0
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
bool | vboDataInvalid_
NormalOrientation | normalOrientation_

## Private Member Functions
void | updateVBOData ()

## Private Attributes
int | numTris_
int | numLines_
float * | vboData_
int | curTriPtr_
VertexDeclaration | vertexDecl_
unsigned int | vbo_

## Detailed Description

Definition at line 72 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