|
| 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 () |
|
void | updateVBO () |
|
void | setBottomRadius (float _bottomRadius) |
|
void | setTopRadius (float _topRadius) |
|
void | setNormalOrientation (NormalOrientation orienation) |
|
void | draw_primitive () |
|
void | addToRenderer_primitive (class IRenderer *_renderer, struct RenderObject *_ro) |
|
virtual int | getNumLines () |
|
unsigned int | getVBO () |
|
const VertexDeclaration * | getVertexDecl () const |
|
|
void | addTriangle (int sl0, int st0, int sl1, int st1, int sl2, int st2) |
|
ACG::Vec3f | positionOnCone (int _sliceNumber, int _stackNumber) |
|
ACG::Vec2f | texCoordOnCone (int _sliceNumber, int _stackNumber) |
|
ACG::Vec3f | normalOnCone (int _sliceNumber, int _stackNumber) |
|
|
int | slices_ |
|
int | stacks_ |
|
float | bottomRadius_ |
|
float | topRadius_ |
|
bool | bottomCap_ |
|
bool | topCap_ |
|
|
enum | NormalOrientation { OUTSIDE,
INSIDE
} |
|
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 167 of file GLPrimitives.hh.
The documentation for this class was generated from the following files: