#include <lvt/Shape.h>
Inheritance diagram for Quadric:
The Quadric object is an interface to the GLU quadric library.
Public Member Functions | |
float | GetRadius () const |
Returns the radius of the quadric. | |
virtual void | Render ()=0 |
Draws the shape. | |
void | SetDrawStyle (GLenum drawStyle) |
Sets the draw style of the quadric. | |
void | SetNormalType (GLenum newType) |
Determines the type of normals generated by the quadric. | |
void | SetOrientation (GLenum orientation) |
Sets the orientation (in-facing or out-facing) of the quadric. | |
void | SetRadius (float radius) |
Sets the radius of the quadric. | |
void | SetSlices (int slices) |
Sets the number of subdivisions around the z-axis. | |
void | SetStacks (int stacks) |
Sets the number of subdivisions about the z-axis. | |
void | SetTexture (bool dotex) |
Enables to disables generation of texture coordinates. |
|
Returns the radius of the quadric.
|
|
Draws the shape.
Implements Shape. |
|
Sets the draw style of the quadric.
|
|
Determines the type of normals generated by the quadric.
|
|
Sets the orientation (in-facing or out-facing) of the quadric.
|
|
Sets the radius of the quadric.
|
|
Sets the number of subdivisions around the z-axis.
|
|
Sets the number of subdivisions about the z-axis.
|
|
Enables to disables generation of texture coordinates.
|