Files Classes Functions Hierarchy
#include <gobj.h>
Public Member Functions | |
| gobjgluCylinder (GLUquadricObj *&qobj_, GLdouble baseRadius_, GLdouble topRadius_, GLdouble height_, GLint slices_, GLint stacks_) | |
| void | draw () |
| Draw the object. | |
Public Attributes | |
| GLUquadricObj *& | qobj |
| GLdouble | baseRadius |
| GLdouble | topRadius |
| GLdouble | height |
| GLint | slices |
| GLint | stacks |
gluCylinder (q, 0.4, 0.4, 0.8, 20, 20); // cylinder gluCylinder (q, 0.4, 0.4, 0.8, 4, 20); // square tube gluCylinder (q, 0.4, 0.4, 0.8, 3, 20); // triangular tube gluCylinder (q, 0.4, 0.4, 0.8, 6, 20); // hexagonal tube gluCylinder (q, 0.4, 0.0, 0.8, 20, 20); // cone gluCylinder (q, 0.4, 0.0, 0.8, 4, 20); // square base pyramid gluCylinder (q, 0.4, 0.0, 0.8, 3, 20); // triangular based pyramid gluCylinder (q, 0.4, 0.0, 0.8, 6, 20); // hexagonal based pyramid
Definition at line 1368 of file gobj.h.
| gobjgluCylinder::gobjgluCylinder | ( | GLUquadricObj *& | qobj_, | |
| GLdouble | baseRadius_, | |||
| GLdouble | topRadius_, | |||
| GLdouble | height_, | |||
| GLint | slices_, | |||
| GLint | stacks_ | |||
| ) | [inline] |
| void gobjgluCylinder::draw | ( | ) | [inline, virtual] |
Draw the object.
Implements gobj.
Definition at line 1397 of file gobj.h.
References baseRadius, GOBJDEBUGCODE, height, qobj, slices, stacks, and topRadius.
01398 { GOBJDEBUGCODE gluCylinder(qobj,baseRadius,topRadius,height,slices,stacks); }
| GLdouble gobjgluCylinder::baseRadius |
| GLdouble gobjgluCylinder::height |
| GLUquadricObj* & gobjgluCylinder::qobj |
| GLint gobjgluCylinder::slices |
| GLint gobjgluCylinder::stacks |
| GLdouble gobjgluCylinder::topRadius |
1.5.8