Sirikata
Public Member Functions | Private Member Functions | Private Attributes
Sirikata::WorldPopulationBSPTree Class Reference

Read in world population data from a file and create a BSP tree. More...

#include <WorldPopulationBSPTree.hpp>

Collaboration diagram for Sirikata::WorldPopulationBSPTree:

List of all members.

Public Member Functions

 WorldPopulationBSPTree ()
void setupRegionBoundaries (WorldRegion *regionList)
void constructBSPTree (SegmentedRegion &topLevelRegion)

Private Member Functions

void constructBSPTree (SegmentedRegion &bspTree, WorldRegion *regionList, int listLength, bool makeHorizontalCut, int depth)

Private Attributes

String mFileName
int mMaxPeopleInLeaf
int mWorldWidth
int mWorldHeight
int mNumRegions
int mTotalLeaves
int mBiggestDepth
BoundingBox3f mRectangle1
BoundingBox3f mRectangle2
BoundingBox3f mIntersect1
BoundingBox3f mIntersect2
int * mHistogram
uint32 mInitialSpaceServerCount
float32 mCellEdgeWidth

Detailed Description

Read in world population data from a file and create a BSP tree.


Constructor & Destructor Documentation

Sirikata::WorldPopulationBSPTree::WorldPopulationBSPTree ( )

Member Function Documentation

void Sirikata::WorldPopulationBSPTree::constructBSPTree ( SegmentedRegion topLevelRegion)
void Sirikata::WorldPopulationBSPTree::constructBSPTree ( SegmentedRegion bspTree,
WorldRegion regionList,
int  listLength,
bool  makeHorizontalCut,
int  depth 
) [private]
void Sirikata::WorldPopulationBSPTree::setupRegionBoundaries ( WorldRegion regionList)

Member Data Documentation

Referenced by constructBSPTree().

Referenced by constructBSPTree().

Referenced by constructBSPTree().

Referenced by constructBSPTree().

Referenced by constructBSPTree().

Referenced by constructBSPTree().


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