Klamp't
0.9.0
|
A model of a static terrain with known friction. More...
#include <Terrain.h>
Public Member Functions | |
bool | Load (const char *fn) |
bool | Save (const char *fn) |
bool | LoadGeometry (const char *fn) |
Loads just the geometry of the terrain. | |
void | InitCollisions () |
void | SetUniformFriction (Real mu) |
void | DrawGL () |
Renders the terrain in OpenGL. | |
void | DrawGLOpaque (bool opaque) |
Public Attributes | |
string | name |
string | geomFile |
ManagedGeometry | geometry |
vector< Real > | kFriction |
A model of a static terrain with known friction.
void Klampt::TerrainModel::InitCollisions | ( | ) |
Can be called optionally to get better debug information about long collision initialization times, rather than using dynamic initialization
bool Klampt::TerrainModel::Load | ( | const char * | fn | ) |
Can support .env files, anything the AnyGeometry class uses, and also ROS PointCloud2 topics (use prefix ros://[topic_name] or ros:PointCloud2/[topic_name])