Landscape Class Reference

#include <Landscape.h>

Inheritance diagram for Landscape:

Inheritance graph
[legend]
Collaboration diagram for Landscape:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void quickNormalCalc ()
void quickNormalCalc (cvrIndex i, cvrIndex j)
double getHeightValue (XYZ &pt)
float orient (SceneObject *obj_in, float width, float length, float heading, float center=0)
void useBrush (int brushType, XYZ &position, float value, float brushSize)
void function (int functionType, double funcSize, double funcScale, double funcIndex)
long getFaceAt (XYZ &pt)
void drawDebugHeightField ()
virtual void initialize (btDiscreteDynamicsWorld &dynamicsWorld_in)
void mkHeightField ()
void cache ()
 Landscape (double size_in, unsigned int divisions_in, cvrIndex matRef_in, bool cache=true)
 ~Landscape ()

Public Attributes

double size
unsigned int divisions
cvrIndex matRef
float * heightfieldData

Private Attributes

btHeightfieldTerrainShape * debugShape


Constructor & Destructor Documentation

Landscape::Landscape ( double  size_in,
unsigned int  divisions_in,
cvrIndex  matRef_in,
bool  cache = true 
)

Here is the call graph for this function:

Landscape::~Landscape (  ) 


Member Function Documentation

void Landscape::quickNormalCalc (  ) 

Here is the call graph for this function:

void Landscape::quickNormalCalc ( cvrIndex  i,
cvrIndex  j 
)

Here is the call graph for this function:

double Landscape::getHeightValue ( XYZ pt  ) 

Here is the call graph for this function:

float Landscape::orient ( SceneObject obj_in,
float  width,
float  length,
float  heading,
float  center = 0 
)

Here is the call graph for this function:

void Landscape::useBrush ( int  brushType,
XYZ position,
float  value,
float  brushSize 
)

Here is the call graph for this function:

void Landscape::function ( int  functionType,
double  funcSize,
double  funcScale,
double  funcIndex 
)

Here is the call graph for this function:

long Landscape::getFaceAt ( XYZ pt  ) 

void Landscape::drawDebugHeightField (  ) 

void Landscape::initialize ( btDiscreteDynamicsWorld &  dynamicsWorld_in  )  [virtual]

Reimplemented from RigidSceneObject.

Here is the call graph for this function:

void Landscape::mkHeightField (  ) 

Here is the call graph for this function:

void Landscape::cache (  )  [inline]


Member Data Documentation

btHeightfieldTerrainShape* Landscape::debugShape [private]

unsigned int Landscape::divisions


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

Generated on Thu Mar 19 19:35:24 2009 for CubicVR by  doxygen 1.5.6