clipmap_ring Class Reference

Collaboration diagram for clipmap_ring:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 55 of file spherical_clipmap.cpp.


Public Member Functions

 clipmap_ring (spherical_clipmap *parent, double start_phi, double end_phi)
 clipmap_ring (spherical_clipmap *parent, int level)
void draw ()
void init ()
 ~clipmap_ring ()

Public Attributes

double end_phi
 The angle from the center of the hemisphere to the inner edge of the ring.
data::array< gsgl::real_tgeographical_lon_and_lat
 Stores the geographical longitude and latitudes for vertices of the unrotated hemisphere facing north.
data::array< gsgl::real_tgeographical_x_and_y
 Stores the unrotated x & y coordinates for vertices of the unrotated hemisphere facing north.
index_buffer indices
int level
clipmap_ringnext
vertex_buffer normals
 Stores the normals of the rotated spheroid (not yet adjusted for terrain, but needed because the vertices are of the sphereoid, not a sphere).
spherical_clipmapparent
clipmap_ringprev
double start_phi
 The angle from the center of the hemisphere to the outer edge of the ring.
vertex_buffer vertices
 Stores the vertices of the rotated spheroid (not yet adjusted for height).

Constructor & Destructor Documentation

clipmap_ring ( spherical_clipmap parent,
int  level 
)

clipmap_ring ( spherical_clipmap parent,
double  start_phi,
double  end_phi 
)

Definition at line 93 of file spherical_clipmap.cpp.

~clipmap_ring (  ) 

Definition at line 100 of file spherical_clipmap.cpp.


Member Function Documentation

void draw (  ) 

void init (  ) 


Member Data Documentation

double end_phi

The angle from the center of the hemisphere to the inner edge of the ring.

Definition at line 63 of file spherical_clipmap.cpp.

Referenced by clipmap_ring::clipmap_ring(), clipmap_ring::init(), and spherical_clipmap::update().

Stores the geographical longitude and latitudes for vertices of the unrotated hemisphere facing north.

Definition at line 65 of file spherical_clipmap.cpp.

Referenced by clipmap_ring::init().

Stores the unrotated x & y coordinates for vertices of the unrotated hemisphere facing north.

Definition at line 66 of file spherical_clipmap.cpp.

Definition at line 70 of file spherical_clipmap.cpp.

Referenced by clipmap_ring::draw(), and clipmap_ring::init().

int level

Definition at line 61 of file spherical_clipmap.cpp.

Referenced by clipmap_ring::init().

Definition at line 59 of file spherical_clipmap.cpp.

Referenced by spherical_clipmap::update().

Stores the normals of the rotated spheroid (not yet adjusted for terrain, but needed because the vertices are of the sphereoid, not a sphere).

Definition at line 69 of file spherical_clipmap.cpp.

Definition at line 58 of file spherical_clipmap.cpp.

Definition at line 59 of file spherical_clipmap.cpp.

Referenced by spherical_clipmap::update().

double start_phi

The angle from the center of the hemisphere to the outer edge of the ring.

Definition at line 62 of file spherical_clipmap.cpp.

Referenced by clipmap_ring::clipmap_ring(), clipmap_ring::init(), and spherical_clipmap::update().

Stores the vertices of the rotated spheroid (not yet adjusted for height).

Definition at line 68 of file spherical_clipmap.cpp.

Referenced by clipmap_ring::draw().


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

Generated on Sat Mar 1 13:50:08 2008 for Periapsis Project by  doxygen 1.5.5