Landscape Class Reference
#include <Landscape.h>
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 | |
|
) |
| | |
| Landscape::~Landscape |
( |
|
) |
|
Member Function Documentation
| void Landscape::quickNormalCalc |
( |
|
) |
|
| void Landscape::quickNormalCalc |
( |
cvrIndex |
i, |
|
|
cvrIndex |
j | |
|
) |
| | |
| double Landscape::getHeightValue |
( |
XYZ & |
pt |
) |
|
| float Landscape::orient |
( |
SceneObject * |
obj_in, |
|
|
float |
width, |
|
|
float |
length, |
|
|
float |
heading, |
|
|
float |
center = 0 | |
|
) |
| | |
| void Landscape::useBrush |
( |
int |
brushType, |
|
|
XYZ & |
position, |
|
|
float |
value, |
|
|
float |
brushSize | |
|
) |
| | |
| void Landscape::function |
( |
int |
functionType, |
|
|
double |
funcSize, |
|
|
double |
funcScale, |
|
|
double |
funcIndex | |
|
) |
| | |
| long Landscape::getFaceAt |
( |
XYZ & |
pt |
) |
|
| void Landscape::drawDebugHeightField |
( |
|
) |
|
| void Landscape::initialize |
( |
btDiscreteDynamicsWorld & |
dynamicsWorld_in |
) |
[virtual] |
| void Landscape::mkHeightField |
( |
|
) |
|
| void Landscape::cache |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- /Users/ccliffe/Dev/cubicvr/cubicvr/include/CubicVR/SceneObjects/Landscape.h
- /Users/ccliffe/Dev/cubicvr/cubicvr/src/SceneObjects/Landscape.cpp