Teapot Class Reference

A simple teapot. More...

#include <Teapot.h>

Inheritance diagram for Teapot:

RawObject List of all members.

Public Member Functions

 Teapot (double size)
 ~Teapot ()
void Draw ()
double GetBoundingRadius ()
BoundingBox GetBoundingBox ()

Private Member Functions

 Teapot ()

Private Attributes

double size

Detailed Description

A simple teapot.

A simple teapot that uses GLUT to draw itself.

Definition at line 17 of file Teapot.h.


Constructor & Destructor Documentation

Teapot::Teapot double  size  ) 
 

Constuctor: Brings the object into a consistent state.

Parameters:
size Size of the teapot

Definition at line 3 of file Teapot.cpp.

Teapot::~Teapot  ) 
 

Destuctor.

Definition at line 8 of file Teapot.cpp.

Teapot::Teapot  )  [private]
 

Hide the default constructor.


Member Function Documentation

void Teapot::Draw  )  [virtual]
 

Implementation of the Draw routine. Draws a teapot using GLUT.

Reimplemented from RawObject.

Definition at line 13 of file Teapot.cpp.

BoundingBox Teapot::GetBoundingBox  )  [virtual]
 

Implementation of the GetBoundingBox routine.

Reimplemented from RawObject.

Definition at line 31 of file Teapot.cpp.

double Teapot::GetBoundingRadius  )  [virtual]
 

Implementation of the GetBoundingRadius routine.

Reimplemented from RawObject.

Definition at line 26 of file Teapot.cpp.


Member Data Documentation

double Teapot::size [private]
 

Size of the teapot.

Definition at line 52 of file Teapot.h.


Generated on Sun Jul 2 13:20:41 2006 for Demo by  doxygen 1.4.6-NO