Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Cube Class Reference

#include <lvt/Shape.h>

Inheritance diagram for Cube:

Inheritance graph
[legend]
List of all members.

Detailed Description

A rectangular prism.


Public Member Functions

float GetDepth () const
 Returns the length in the z-direction.
float GetHeight () const
 Returns the length in the y-direction.
float GetWidth () const
 Returns the length in the x-direction.
void Render ()
 Draws the shape.
void SetDepth (float depth)
 Sets the length in the z-direction.
void SetHeight (float height)
 Sets the length in the y-direction.
void SetWidth (float width)
 Sets the length in the x-direction.


Member Function Documentation

float GetDepth (   )  const [inline]
 

Returns the length in the z-direction.

float GetHeight (   )  const [inline]
 

Returns the length in the y-direction.

float GetWidth (   )  const [inline]
 

Returns the length in the x-direction.

void Render (   )  [virtual]
 

Draws the shape.

Implements Shape.

void SetDepth (  float  depth  )  [inline]
 

Sets the length in the z-direction.

void SetHeight (  float  height  )  [inline]
 

Sets the length in the y-direction.

void SetWidth (  float  width  )  [inline]
 

Sets the length in the x-direction.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1