Simox
2.3.74.0
|
Creates approximated representations of contact cones. More...
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ContactConeGenerator (int coneSamples=8, float frictionCoeff=0.25f, float unitForce=1.0f) |
constructor More... | |
~ContactConeGenerator () | |
destructor More... | |
void | computeConePoints (const VirtualRobot::MathTools::ContactPoint &point, std::vector< VirtualRobot::MathTools::ContactPoint > &storeConePoints) |
void | computeConePoints (const VirtualRobot::MathTools::ContactPoint &point, std::vector< Eigen::Vector3f > &storeConePoints) |
Computes the cone points without normals. coneSamples computed points are appended to storeConePoints. More... | |
float | getConeAngle () |
float | getConeRadius () |
float | getConeHeight () |
Creates approximated representations of contact cones.
GraspStudio::ContactConeGenerator::ContactConeGenerator | ( | int | coneSamples = 8 , |
float | frictionCoeff = 0.25f , |
||
float | unitForce = 1.0f |
||
) |
constructor
GraspStudio::ContactConeGenerator::~ContactConeGenerator | ( | ) |
destructor
void GraspStudio::ContactConeGenerator::computeConePoints | ( | const VirtualRobot::MathTools::ContactPoint & | point, |
std::vector< VirtualRobot::MathTools::ContactPoint > & | storeConePoints | ||
) |
Computes the cone with normals. coneSamples computed points are appended to storeConePoints.
void GraspStudio::ContactConeGenerator::computeConePoints | ( | const VirtualRobot::MathTools::ContactPoint & | point, |
std::vector< Eigen::Vector3f > & | storeConePoints | ||
) |
Computes the cone points without normals. coneSamples computed points are appended to storeConePoints.
float GraspStudio::ContactConeGenerator::getConeAngle | ( | ) |
Returns the opening angle of a friction cone. [rad]
float GraspStudio::ContactConeGenerator::getConeHeight | ( | ) |
Returns the height a friction cone.
float GraspStudio::ContactConeGenerator::getConeRadius | ( | ) |
Returns the radius a friction cone.