Menge Plugin Examples
A Collection of Example Plugins for the Menge Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Typedefs | Functions
Terrain Namespace Reference

The namespace containing the height field resource and Menge elements which use the height field. More...

Classes

class  HeightField
 A heightfield. A uniform discretization of space which supports queries on height and normal of field. More...
 
class  HeightFieldElevation
 Elevation definition based on a height field. More...
 
class  HeightFieldElevationFactory
 Factory for the HeightFieldElevation. More...
 
class  HeightFieldModifier
 Modify the preferred velocity based on a height field. More...
 
class  HeightFieldModifierFactory
 Factory for the HeightFieldModifier. More...
 

Typedefs

typedef ResourcePtr< HeightFieldHeightFieldPtr
 The definition of the managed pointer for HeightField data.
 

Functions

HeightFieldPtr loadHeightField (const std::string &fileName) throw ( ResourceException )
 Loads the height field of the given name. More...
 

Detailed Description

The namespace containing the height field resource and Menge elements which use the height field.

Function Documentation

HeightFieldPtr Terrain::loadHeightField ( const std::string &  fileName)
throw (ResourceException
)

Loads the height field of the given name.

Parameters
fileNameThe name of the file containing the height field.
Returns
The HeightFieldPtr containing the data.
Exceptions
AResourceException if the data is unable to be instantiated.