HeightmapGeom Class Reference
[Height map geom]
#include <HeightmapGeom.hh>
Inheritance diagram for HeightmapGeom:
Detailed Description
Height map geomPublic Member Functions | |
HeightmapGeom (Body *body) | |
virtual | ~HeightmapGeom () |
void | UpdateChild () |
double | GetHeightAt (const Vector2< double > &pos) |
virtual bool | queryResult (Ogre::MovableObject *obj, Ogre::Real dist) |
virtual bool | queryResult (Ogre::SceneQuery::WorldFragment *frag, Ogre::Real dist) |
Protected Member Functions | |
virtual void | LoadChild (XMLConfigNode *node) |
Constructor & Destructor Documentation
HeightmapGeom | ( | Body * | body | ) |
Constructor
virtual ~HeightmapGeom | ( | ) | [virtual] |
Destructor
Member Function Documentation
void UpdateChild | ( | ) | [virtual] |
Update function
Reimplemented from Geom.
double GetHeightAt | ( | const Vector2< double > & | pos | ) |
Get the height of the heightmap as a specific coordinate
virtual bool queryResult | ( | Ogre::MovableObject * | obj, | |
Ogre::Real | dist | |||
) | [virtual] |
Overloaded Ogre function for Ray Scene Queries
virtual bool queryResult | ( | Ogre::SceneQuery::WorldFragment * | frag, | |
Ogre::Real | dist | |||
) | [virtual] |
Overloaded Ogre function for Ray Scene Queries
virtual void LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual] |
Load the heightmap
Implements Geom.
The documentation for this class was generated from the following file: