Klamp't  0.8.1
Public Member Functions | Public Attributes | List of all members
Terrain Class Reference

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.

Public Attributes

string name
string geomFile
ManagedGeometry geometry
vector< Real > kFriction

Detailed Description

A model of a static terrain with known friction.

Member Function Documentation

void Terrain::InitCollisions ( )

Can be called optionally to get better debug information about long collision initialization times, rather than using dynamic initialization

bool Terrain::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])

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