#include <ThingCone.h>
Inherits Thing.
Inheritance diagram for ThingCone:
Public Member Functions | |
ThingCone (float radius, float height, int slices, int stacks) | |
constructor of the node, takes all necessary arguments to define the cone | |
virtual | ~ThingCone (void) |
destructor | |
void | setRadius (float new_radius) |
void | setHeight (float new_height) |
void | setSlices (int new_slices) |
void | setStacks (int new_stacks) |
float | getRadius () |
float | getHeight () |
int | getSlices () |
int | getStacks () |
bool | isSolid () |
void | switchWireSolid () |
void | render () |
write the corresponding openGL code to display the cone | |
Private Attributes | |
float | r |
float | h |
int | sl |
int | st |
bool | solid |
Cone Thing for the Scenegraph.
|
constructor of the node, takes all necessary arguments to define the cone
|
|
destructor
|
|
|
|
|
|
|
|
|
|
|
|
write the corresponding openGL code to display the cone
Reimplemented from Thing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|