LandscapePoints Class Reference

#include <LandscapePoints.h>

List of all members.

Public Member Functions

 LandscapePoints ()
virtual ~LandscapePoints ()
void generate ()
void draw ()
std::vector< Vector > & getPoints ()

Protected Attributes

std::vector< Vectorpoints_


Detailed Description

Definition at line 27 of file LandscapePoints.h.


Constructor & Destructor Documentation

LandscapePoints::LandscapePoints (  ) 

Definition at line 30 of file LandscapePoints.cpp.

LandscapePoints::~LandscapePoints (  )  [virtual]

Definition at line 34 of file LandscapePoints.cpp.


Member Function Documentation

void LandscapePoints::generate (  ) 

Definition at line 68 of file LandscapePoints.cpp.

References GroundMaps::getArenaHeight(), GroundMaps::getArenaWidth(), GroundMaps::getArenaX(), GroundMaps::getArenaY(), LandscapeMaps::getGroundMaps(), ScorchedContext::getLandscapeMaps(), ScorchedClient::instance(), and points_.

Referenced by Landscape::generate().

void LandscapePoints::draw (  ) 

Definition at line 38 of file LandscapePoints.cpp.

References fixed::asFloat(), ModelRendererSimulator::draw(), MapPoints::getBorderModelBounce(), MapPoints::getBorderModelConcrete(), MapPoints::getBorderModelWrap(), LandscapeMaps::getGroundMaps(), GroundMaps::getHeight(), ScorchedContext::getLandscapeMaps(), glPopMatrix(), glPushMatrix(), glScalef(), glTranslatef(), MapPoints::instance(), ScorchedClient::instance(), int(), points_, GLState::TEXTURE_OFF, OptionsTransient::wallBouncy, OptionsTransient::wallConcrete, and OptionsTransient::wallWrapAround.

Referenced by Landscape::drawLand().

std::vector<Vector>& LandscapePoints::getPoints (  )  [inline]

Definition at line 36 of file LandscapePoints.h.

References points_.

Referenced by GLWPlanView::drawBuoys().


Member Data Documentation

std::vector<Vector> LandscapePoints::points_ [protected]

Definition at line 39 of file LandscapePoints.h.

Referenced by draw(), generate(), and getPoints().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:03 2009 for Scorched3D by  doxygen 1.5.3