Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GlutTeapot Class Reference
[GLUT Master]

GLUT teapot scene-graph node. More...

#include <shape.h>

Inheritance diagram for GlutTeapot:

Inheritance graph
[legend]
Collaboration diagram for GlutTeapot:

Collaboration graph
[legend]
List of all members.

Public Methods

 GlutTeapot (const bool solid=true, const GLdouble size=1.0)
 Constructor.

 ~GlutTeapot ()
 Destructor.

virtual void draw () const
 Derived classes should supply this.

GLdouble & size ()
 Size of the teapot.

const GLdouble & size () const
 Size of the teapot.


Detailed Description

GLUT teapot scene-graph node.

Note:
See GltShape for further information

Definition at line 444 of file shape.h.


Constructor & Destructor Documentation

GlutTeapot::GlutTeapot const bool    solid = true,
const GLdouble    size = 1.0
 

Constructor.

Parameters:
solid  Display as solid or wireframe
size  Teapot size

Definition at line 629 of file shape.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:48 2002 for GLT by doxygen1.2.18