Go to the documentation of this file.
6 #ifndef CNOID_BODY_CONTACT_MATERIAL_H
7 #define CNOID_BODY_CONTACT_MATERIAL_H
10 #include "exportdecl.h"
22 double friction()
const {
return staticFriction_; }
23 void setFriction(
double mu){ staticFriction_ = dynamicFriction_ = mu; }
36 template<
typename T> T info(
const std::string& key,
const T& defaultValue)
const;
39 double staticFriction_;
40 double dynamicFriction_;
47 template<> CNOID_EXPORT
bool ContactMaterial::info(
const std::string& key,
const bool& defaultValue)
const;
48 template<> CNOID_EXPORT
int ContactMaterial::info(
const std::string& key,
const int& defaultValue)
const;
49 template<> CNOID_EXPORT
double ContactMaterial::info(
const std::string& key,
const double& defaultValue)
const;
Definition: ValueTree.h:253
ref_ptr< ContactMaterial > ContactMaterialPtr
Definition: ContactMaterial.h:51
Definition: AbstractSceneLoader.h:11
Definition: Referenced.h:54