|
| GLCone (int _slices, int _stacks, float _bottomRadius, float _topRadius, bool _bottomCap_, bool _topCap) |
|
void | draw (GLState &_state, float _height, const ACG::Vec3f &_center=ACG::Vec3f(0.0f, 0.0f, 0.0f), ACG::Vec3f _upDir=ACG::Vec3f(0.0f, 0.0f, 1.0f)) |
|
void | addToRenderer (class IRenderer *_renderer, const struct RenderObject *_base, float _height, const ACG::Vec3f &_center=ACG::Vec3f(0.0f, 0.0f, 0.0f), ACG::Vec3f _upDir=ACG::Vec3f(0.0f, 0.0f, 1.0f), float _radiusScale=1.0f) |
|
int | getNumTriangles () override |
|
void | updateVBO () override |
|
void | setBottomRadius (float _bottomRadius) |
|
void | setTopRadius (float _topRadius) |
|
void | setNormalOrientation (NormalOrientation orienation) |
|
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 |
|
Definition at line 169 of file GLPrimitives.hh.
◆ GLCone()
ACG::GLCone::GLCone |
( |
int |
_slices, |
|
|
int |
_stacks, |
|
|
float |
_bottomRadius, |
|
|
float |
_topRadius, |
|
|
bool |
_bottomCap_, |
|
|
bool |
_topCap |
|
) |
| |
◆ ~GLCone()
◆ addToRenderer()
◆ addTriangle()
void ACG::GLCone::addTriangle |
( |
int |
sl0, |
|
|
int |
st0, |
|
|
int |
sl1, |
|
|
int |
st1, |
|
|
int |
sl2, |
|
|
int |
st2 |
|
) |
| |
|
private |
◆ draw()
◆ getNumTriangles()
int ACG::GLCone::getNumTriangles |
( |
| ) |
|
|
overridevirtual |
◆ normalOnCone()
ACG::Vec3f ACG::GLCone::normalOnCone |
( |
int |
_sliceNumber, |
|
|
int |
_stackNumber |
|
) |
| |
|
private |
◆ positionOnCone()
ACG::Vec3f ACG::GLCone::positionOnCone |
( |
int |
_sliceNumber, |
|
|
int |
_stackNumber |
|
) |
| |
|
private |
◆ setBottomRadius()
void ACG::GLCone::setBottomRadius |
( |
float |
_bottomRadius | ) |
|
◆ setNormalOrientation()
void ACG::GLCone::setNormalOrientation |
( |
NormalOrientation |
orienation | ) |
|
◆ setTopRadius()
void ACG::GLCone::setTopRadius |
( |
float |
_topRadius | ) |
|
◆ texCoordOnCone()
ACG::Vec2f ACG::GLCone::texCoordOnCone |
( |
int |
_sliceNumber, |
|
|
int |
_stackNumber |
|
) |
| |
|
private |
◆ updateVBO()
void ACG::GLCone::updateVBO |
( |
| ) |
|
|
overridevirtual |
◆ bottomCap_
bool ACG::GLCone::bottomCap_ |
|
private |
◆ bottomRadius_
float ACG::GLCone::bottomRadius_ |
|
private |
◆ slices_
◆ stacks_
◆ topCap_
bool ACG::GLCone::topCap_ |
|
private |
◆ topRadius_
float ACG::GLCone::topRadius_ |
|
private |
The documentation for this class was generated from the following files: