$search
Specialization for OBB. More...
#include <collision_geom.h>
Public Member Functions | |
void | applyTransform (const btTransform &pose, bool refit=true, bool bottomup=true) |
BVH_CollideResult | collide (CollisionGeom *other, int num_max_contacts=0) |
void | computeAABB () |
Public Attributes | |
BVHModel< OBB > | model |
Private Member Functions | |
CollisionMesh () | |
Friends | |
CollisionMesh< OBB > * | makeBox (double a, double b, double c) |
CollisionMesh< OBB > * | makeCylinder (double r, double h, unsigned int tot) |
CollisionMesh< OBB > * | makeMesh (const std::vector< Vec3f > &points, const std::vector< Triangle > &tri_indices) |
CollisionMesh< OBB > * | makeSphere (double r, unsigned int seg, unsigned int ring) |
Specialization for OBB.
Definition at line 192 of file collision_geom.h.
collision_checking::CollisionMesh< OBB >::CollisionMesh | ( | ) | [inline, private] |
Definition at line 195 of file collision_geom.h.
void collision_checking::CollisionMesh< OBB >::applyTransform | ( | const btTransform & | pose, | |
bool | refit = true , |
|||
bool | bottomup = true | |||
) | [inline, virtual] |
Reimplemented from collision_checking::CollisionGeom.
Definition at line 235 of file collision_geom.h.
BVH_CollideResult collision_checking::CollisionMesh< OBB >::collide | ( | CollisionGeom * | other, | |
int | num_max_contacts = 0 | |||
) | [inline, virtual] |
Reimplemented from collision_checking::CollisionGeom.
Definition at line 206 of file collision_geom.h.
void collision_checking::CollisionMesh< OBB >::computeAABB | ( | ) | [inline, virtual] |
Reimplemented from collision_checking::CollisionGeom.
Definition at line 243 of file collision_geom.h.
CollisionMesh<OBB>* makeBox | ( | double | a, | |
double | b, | |||
double | c | |||
) | [friend] |
Definition at line 418 of file collision_geom.h.
CollisionMesh<OBB>* makeCylinder | ( | double | r, | |
double | h, | |||
unsigned int | tot = 16 | |||
) | [friend] |
Definition at line 455 of file collision_geom.h.
CollisionMesh<OBB>* makeMesh | ( | const std::vector< Vec3f > & | points, | |
const std::vector< Triangle > & | tri_indices | |||
) | [friend] |
Definition at line 406 of file collision_geom.h.
CollisionMesh<OBB>* makeSphere | ( | double | r, | |
unsigned int | seg = 16 , |
|||
unsigned int | ring = 16 | |||
) | [friend] |
Definition at line 525 of file collision_geom.h.
Definition at line 401 of file collision_geom.h.