|
Developer Documentation
|
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_ |
Definition at line 357 of file GLPrimitives.hh.
| ACG::GLTorus::GLTorus | ( | GLdouble | innerRadius, |
| GLdouble | outerRadius, | ||
| GLint | nsides, | ||
| GLint | rings | ||
| ) |
Definition at line 1449 of file GLPrimitives.cc.
| ACG::GLTorus::~GLTorus | ( | ) |
Definition at line 1461 of file GLPrimitives.cc.
|
overridevirtual |
Implements ACG::GLPrimitive.
Definition at line 1467 of file GLPrimitives.cc.
|
overrideprivatevirtual |
Implements ACG::GLPrimitive.
Definition at line 1474 of file GLPrimitives.cc.
|
private |
Definition at line 373 of file GLPrimitives.hh.
|
private |
Definition at line 372 of file GLPrimitives.hh.
|
private |
Definition at line 374 of file GLPrimitives.hh.
|
private |
Definition at line 371 of file GLPrimitives.hh.