Choreonoid  1.1
Public メソッド | すべてのメンバ一覧
クラス SSVTreeCollider

collision detector based on SSV(Sphere Swept Volume) [詳細]

#include <SSVTreeCollider.h>

SSVTreeColliderに対する継承グラフ

Public メソッド

 SSVTreeCollider ()
 constructor [詳細]
 
 ~SSVTreeCollider ()
 destructor [詳細]
 
bool Distance (BVTCache &cache, float &minD, Point &point0, Point &point1, const Matrix4x4 *world0=null, const Matrix4x4 *world1=null)
 compute the minimum distance and the closest points [詳細]
 
bool Collide (BVTCache &cache, double tolerance, const Matrix4x4 *world0=null, const Matrix4x4 *world1=null)
 detect collision between links. [詳細]
 

説明

collision detector based on SSV(Sphere Swept Volume)

コンストラクタとデストラクタ

SSVTreeCollider::SSVTreeCollider ( )

constructor

SSVTreeCollider::~SSVTreeCollider ( )
inline

destructor

関数

bool SSVTreeCollider::Collide ( BVTCache &  cache,
double  tolerance,
const Matrix4x4 *  world0 = null,
const Matrix4x4 *  world1 = null 
)

detect collision between links.

引数
cache
toleranceIf distance between links is smaller than this value, it is regarded as collision
world0transformation of the first link
world1transformation of the second link
戻り値
true if collision is detected, false otherwise
bool SSVTreeCollider::Distance ( BVTCache &  cache,
float &  minD,
Point &  point0,
Point &  point1,
const Matrix4x4 *  world0 = null,
const Matrix4x4 *  world1 = null 
)

compute the minimum distance and the closest points

引数
cache
minDthe minimum distance
point0the closest point on the first link
point1the closest point on the second link
world0transformation of the first link
world1transformation of the second link
戻り値
true if computed successfully, false otherwise

このクラスの説明は次のファイルから生成されました: