|
| GLDisk (int _slices, int _loops, float _innerRadius, float _outerRadius) |
|
| GLPartialDisk (int _slices, int _loops, float _innerRadius, float _outerRadius, float _startAngle, float _sweepAngle) |
|
void | setInnerRadius (float _innerRadius) |
|
void | setOuterRadius (float _outerRadius) |
|
int | getNumTriangles () |
|
void | draw (GLState &_state, const ACG::Vec3f &_center=ACG::Vec3f(0.0f, 0.0f, 0.0f), ACG::Vec3f _upDir=ACG::Vec3f(0.0f, 0.0f, 1.0f)) |
|
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 |
|
|
enum | NormalOrientation { OUTSIDE,
INSIDE
} |
|
void | updateVBO () |
|
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 () |
|
bool | vboDataInvalid_ |
|
NormalOrientation | normalOrientation_ |
|
Definition at line 252 of file GLPrimitives.hh.
◆ GLDisk()
ACG::GLDisk::GLDisk |
( |
int |
_slices, |
|
|
int |
_loops, |
|
|
float |
_innerRadius, |
|
|
float |
_outerRadius |
|
) |
| |
- Parameters
-
[in] | _slices | the number of slices that subdivide the disk has to be at least 2 |
[in] | _loops | the number of loops that subdivide the slices has to be at least 1 |
[in] | _innerRadius | the inner radius should not be smaller than zero and greater than the outer radius |
[in] | _outerRadius | the outer radius should not be zero or smaller than zero |
Definition at line 917 of file GLPrimitives.cc.
The documentation for this class was generated from the following files: