Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

AdsoHierSurf Class Reference
[3D data structures]

Hierarchical 3D surface. More...

#include <adsosurf.h>

List of all members.

Public Member Functions

void draw (int method, AdsoDC *dc)
int load (FILE *file)
int save (FILE *file)
void setHeightMap (AdsoHeightMap *hm)
 AdsoHierSurf (int surfCount)
 AdsoHierSurf ()

Public Attributes

int count
 Number of sub surfaces.

AdsoSurfsurf
 List of sub surfaces.

AdsoHeightMapheightMap


Detailed Description

Hierarchical 3D surface.

This is the toplevel datastructure for a (two-level) hierarchical 3D surface composed of a number of AdsoSurf sub surfaces. This data structure is used to represent the planet surface generated by Surfgen and used by Rover. At the moment the planet surface is spherical consisting of twenty sub surfaces.

The hierarchical surface may include a heightMap for collision detection algoritms.

See also:
AdsoSurf AdsoHeightMap


Constructor & Destructor Documentation

AdsoHierSurf::AdsoHierSurf int  surfCount  )  [inline]
 

AdsoHierSurf::AdsoHierSurf  )  [inline]
 


Member Function Documentation

void AdsoHierSurf::draw int  method,
AdsoDC dc
 

int AdsoHierSurf::load FILE *  file  ) 
 

int AdsoHierSurf::save FILE *  file  ) 
 

void AdsoHierSurf::setHeightMap AdsoHeightMap hm  )  [inline]
 


Member Data Documentation

int AdsoHierSurf::count
 

Number of sub surfaces.

AdsoHeightMap* AdsoHierSurf::heightMap
 

AdsoSurf* AdsoHierSurf::surf
 

List of sub surfaces.


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 10:44:48 2003 for Rover by doxygen 1.3.2