Klamp't  0.9.0
Public Types | Public Member Functions | Public Attributes | List of all members
Klampt::ContactFeatureBase Struct Referenceabstract

A feature on the robot that can be used for contact. More...

#include <ContactFeature.h>

Inheritance diagram for Klampt::ContactFeatureBase:
Klampt::EdgeContactFeature Klampt::FaceContactFeature Klampt::FacesContactFeature Klampt::PointContactFeature Klampt::WheelContactFeature

Public Types

enum  Type {
  Point, Edge, Face, MultipleFaces,
  Wheel
}
 

Public Member Functions

virtual Type GetType () const =0
 

Public Attributes

int link
 
string name
 
Real weight
 weight for picking this feature
 

Detailed Description

A feature on the robot that can be used for contact.

Abstract base class. The GetType() function allows querying the dynamic type for type conversion. Be careful to cast to the right type!


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