Klamp't  0.9.0
Classes | Functions
ContactFeatureMapping.h File Reference

Defines the ContactFeatureMapping structure, load/save functions. More...

#include "Hold.h"
#include "ContactFeature.h"

Go to the source code of this file.

Classes

struct  Klampt::ContactFeatureMapping
 A mapping from a ContactFeature to a point on the environment. More...
 

Functions

bool Klampt::LoadContactFeatureMapping (istream &in, const vector< ContactFeature > &features, ContactFeatureMapping &m)
 
void Klampt::SaveContactFeatureMapping (ostream &out, ContactFeatureMapping &m)
 
bool Klampt::FeatureMappingFromHold (const Hold &h, const vector< ContactFeature > &features, ContactFeatureMapping &m)
 Constructs a contact feature mapping from a hold by trying to match contact features to the hold. More...
 
Real Klampt::BestFeatureMappingAngle (const ContactFeatureMapping &feature, const Matrix3 &Rdes)
 Returns the angle parameter that makes the feature map to Rdes.
 
void Klampt::SetFeatureMappingOrientation (ContactFeatureMapping &feature, const Matrix3 &Rdes)
 Sets the angle parameters that make the feature map to Rdes.
 

Detailed Description

Defines the ContactFeatureMapping structure, load/save functions.