Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

HeightMap Class Reference

#include <HeightMap.h>

Inheritance diagram for HeightMap:

Inheritance graph
[legend]
Collaboration diagram for HeightMap:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Draw ()
 HeightMap ()
bool Load (string FileName)

Protected Attributes

Color h_color
float ** h_map
glVector ** normalA
glVector ** normalB
int x_dim
float x_spacing
int z_dim
float z_spacing

Constructor & Destructor Documentation

HeightMap::HeightMap  ) 
 

Definition at line 3 of file HeightMap.cpp.


Member Function Documentation

void HeightMap::Draw  ) 
 

Definition at line 64 of file HeightMap.cpp.

References Color::color, h_color, h_map, normalA, normalB, x_dim, x_spacing, z_dim, and z_spacing.

bool HeightMap::Load string  FileName  ) 
 

Definition at line 7 of file HeightMap.cpp.

References Color::color, glVector::glVector(), h_color, h_map, normalA, normalB, glVector::SetVector(), x_dim, x_spacing, z_dim, and z_spacing.

Referenced by Renderer::AddHeightMap().

Here is the call graph for this function:


Member Data Documentation

Color HeightMap::h_color [protected]
 

Definition at line 32 of file HeightMap.h.

Referenced by Draw(), and Load().

float** HeightMap::h_map [protected]
 

Definition at line 25 of file HeightMap.h.

Referenced by Draw(), and Load().

glVector** HeightMap::normalA [protected]
 

Definition at line 26 of file HeightMap.h.

Referenced by Draw(), and Load().

glVector** HeightMap::normalB [protected]
 

Definition at line 27 of file HeightMap.h.

Referenced by Draw(), and Load().

int HeightMap::x_dim [protected]
 

Definition at line 29 of file HeightMap.h.

Referenced by Draw(), and Load().

float HeightMap::x_spacing [protected]
 

Definition at line 31 of file HeightMap.h.

Referenced by Draw(), and Load().

int HeightMap::z_dim [protected]
 

Definition at line 28 of file HeightMap.h.

Referenced by Draw(), and Load().

float HeightMap::z_spacing [protected]
 

Definition at line 30 of file HeightMap.h.

Referenced by Draw(), and Load().


The documentation for this class was generated from the following files:
Generated on Thu Apr 21 18:06:32 2005 for Basic Rendering Engine by  doxygen 1.4.1