Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Models::Grid Class Reference

Tis is Grid primitive model. More...

#include <Grid.h>

Inheritance diagram for Teddy::Models::Grid:

Inheritance graph
[legend]
Collaboration diagram for Teddy::Models::Grid:

Collaboration graph
[legend]
List of all members.

Public Methods

 Grid (const int xCount, const int zCount, const float xSize, const float zSize)

Protected Attributes

int xCount
int zCount
float xSize
float zSize
float left
float right
float fore
float back

Detailed Description

Tis is Grid primitive model.

Definition at line 39 of file Grid.h.


Constructor & Destructor Documentation

Teddy::Models::Grid::Grid const int    xCount,
const int    zCount,
const float    xSize,
const float    zSize
 

Constructor which makes xSize times xCount wide and zCount times zSize 'deep' grid on XZ-plane.

Definition at line 39 of file Grid.cpp.

References Teddy::Models::Model::add, back, fore, left, right, Teddy::Models::Model::setClipRadius, Teddy::Models::Model::setGeometry, xCount, xSize, zCount, and zSize.


Member Data Documentation

float Teddy::Models::Grid::back [protected]
 

Definition at line 51 of file Grid.h.

Referenced by Grid.

float Teddy::Models::Grid::fore [protected]
 

Definition at line 50 of file Grid.h.

Referenced by Grid.

float Teddy::Models::Grid::left [protected]
 

Definition at line 48 of file Grid.h.

Referenced by Grid.

float Teddy::Models::Grid::right [protected]
 

Definition at line 49 of file Grid.h.

Referenced by Grid.

int Teddy::Models::Grid::xCount [protected]
 

Definition at line 44 of file Grid.h.

Referenced by Grid.

float Teddy::Models::Grid::xSize [protected]
 

Definition at line 46 of file Grid.h.

Referenced by Grid.

int Teddy::Models::Grid::zCount [protected]
 

Definition at line 45 of file Grid.h.

Referenced by Grid.

float Teddy::Models::Grid::zSize [protected]
 

Definition at line 47 of file Grid.h.

Referenced by Grid.


The documentation for this class was generated from the following files: