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

AdsoSurf Class Reference
[3D data structures]

3D surface. More...

#include <adsosurf.h>

List of all members.

Public Member Functions

int triCount ()
 Number of triangles (not including tri-strips).

int stripLen (int i)
 Length of triangle strip i.

int stripCount ()
 Number of triangle strips.

int verticeCount ()
void draw (int method, AdsoDC *dc)
int load (FILE *file)
int save (FILE *file)
void init (int c, int s, int t)
 AdsoSurf (int c, int s, int t)
 AdsoSurf ()

Public Attributes

Vertex lists
Vertices are organized into a list of striangle strips. Except list 0 which is a list of triangles. There are two vertice list formats specified by type. Both types includes vertex position and normals. Type 1 includes one set of texture coordinates, while type 2 includes two sets of texture coordinates.

int type
 Vertex information format.

int count
 Number of vertex lists.

int v_count
 Total number of vetices.

int * offs
 Vertex list offsets (indices into vl).

int * len
 Vertex list lengths.

void * vl
 Vertex table.

Culling parameters 
v3f cullNorm
float cullNormAngle
v3fboundPoints
int nBoundPoints


Detailed Description

3D surface.

Defines a 3D surface.

See also:
AdsoHierSurf


Constructor & Destructor Documentation

AdsoSurf::AdsoSurf int  c,
int  s,
int  t
[inline]
 

AdsoSurf::AdsoSurf  )  [inline]
 


Member Function Documentation

void AdsoSurf::draw int  method,
AdsoDC dc
 

void AdsoSurf::init int  c,
int  s,
int  t
[inline]
 

int AdsoSurf::load FILE *  file  ) 
 

int AdsoSurf::save FILE *  file  ) 
 

int AdsoSurf::stripCount  )  [inline]
 

Number of triangle strips.

int AdsoSurf::stripLen int  i  )  [inline]
 

Length of triangle strip i.

int AdsoSurf::triCount  )  [inline]
 

Number of triangles (not including tri-strips).

int AdsoSurf::verticeCount  )  [inline]
 


Member Data Documentation

v3f* AdsoSurf::boundPoints
 

int AdsoSurf::count
 

Number of vertex lists.

v3f AdsoSurf::cullNorm
 

float AdsoSurf::cullNormAngle
 

int* AdsoSurf::len
 

Vertex list lengths.

int AdsoSurf::nBoundPoints
 

int* AdsoSurf::offs
 

Vertex list offsets (indices into vl).

int AdsoSurf::type
 

Vertex information format.

int AdsoSurf::v_count
 

Total number of vetices.

void* AdsoSurf::vl
 

Vertex table.


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