#include <Teapot.h>
Inheritance diagram for Teapot:
Public Member Functions | |
Teapot (double size) | |
~Teapot () | |
void | Draw () |
double | GetBoundingRadius () |
BoundingBox | GetBoundingBox () |
Private Member Functions | |
Teapot () | |
Private Attributes | |
double | size |
A simple teapot that uses GLUT to draw itself.
Definition at line 17 of file Teapot.h.
|
Constuctor: Brings the object into a consistent state.
Definition at line 3 of file Teapot.cpp. |
|
Destuctor. Definition at line 8 of file Teapot.cpp. |
|
Hide the default constructor. |
|
Implementation of the Draw routine. Draws a teapot using GLUT. Reimplemented from RawObject. Definition at line 13 of file Teapot.cpp. |
|
Implementation of the GetBoundingBox routine. Reimplemented from RawObject. Definition at line 31 of file Teapot.cpp. |
|
Implementation of the GetBoundingRadius routine. Reimplemented from RawObject. Definition at line 26 of file Teapot.cpp. |
|
Size of the teapot. |