spherical_clipmap Class Reference

#include <spherical_clipmap.hpp>

Collaboration diagram for spherical_clipmap:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 52 of file spherical_clipmap.hpp.


Public Member Functions

void draw (gsgl::scenegraph::context *c)
gsgl::real_t get_equatorial_radius () const
gsgl::real_t get_polar_radius () const
void init (gsgl::scenegraph::context *c)
 spherical_clipmap (gsgl::real_t polar_radius, gsgl::real_t equatorial_radius)
void update (const gsgl::math::transform &modelview, gsgl::real_t field_of_view, int screen_height)
virtual ~spherical_clipmap ()

Private Attributes

clipmap_ringclipmap_cap
gsgl::data::array< clipmap_ring * > clipmap_rings
gsgl::real_t equatorial_radius
gsgl::index_t first_ring
gsgl::index_t last_ring
gsgl::real_t polar_radius

Constructor & Destructor Documentation

spherical_clipmap ( gsgl::real_t  polar_radius,
gsgl::real_t  equatorial_radius 
)

Definition at line 179 of file spherical_clipmap.cpp.

References spherical_clipmap::clipmap_cap.

~spherical_clipmap (  )  [virtual]


Member Function Documentation

void draw ( gsgl::scenegraph::context c  ) 

gsgl::real_t get_equatorial_radius (  )  const [inline]

Definition at line 65 of file spherical_clipmap.hpp.

gsgl::real_t get_polar_radius (  )  const [inline]

Definition at line 64 of file spherical_clipmap.hpp.

void init ( gsgl::scenegraph::context c  ) 

Definition at line 197 of file spherical_clipmap.cpp.

void update ( const gsgl::math::transform modelview,
gsgl::real_t  field_of_view,
int  screen_height 
)


Member Data Documentation

gsgl::data::array<clipmap_ring *> clipmap_rings [private]

Definition at line 54 of file spherical_clipmap.hpp.

Referenced by spherical_clipmap::update().

Definition at line 56 of file spherical_clipmap.hpp.

Referenced by spherical_clipmap::draw(), and spherical_clipmap::update().

Definition at line 56 of file spherical_clipmap.hpp.

Referenced by spherical_clipmap::draw(), and spherical_clipmap::update().

Definition at line 54 of file spherical_clipmap.hpp.

Referenced by spherical_clipmap::update().


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

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