Go to the documentation of this file.
20 #ifndef __OPC_TREECOLLIDER_H__
21 #define __OPC_TREECOLLIDER_H__
45 #ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE !
49 SepVector.SV =
Point(1.0
f, 0.0
f, 0.0
f);
50 #endif // __MESHMERIZER_H__
55 #ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE !
57 #endif // __MESHMERIZER_H__
63 #ifdef __MESHMERIZER_H__ // Collision hulls only supported within ICE !
67 #endif // __MESHMERIZER_H__
78 this->collisionPairInserter = collisionPairInserter;
122 inline_ void SetFullPrimBoxTest(
bool flag) { mFullPrimBoxTest =
flag; }
134 inline_ udword GetNbBVBVTests()
const {
return mNbBVBVTests; }
144 inline_ udword GetNbPrimPrimTests()
const {
return mNbPrimPrimTests; }
154 inline_ udword GetNbBVPrimTests()
const {
return mNbBVPrimTests; }
166 inline_ udword GetNbPairs()
const {
return mPairs.GetNbEntries()>>1; }
176 inline_ const Pair* GetPairs()
const {
return (
const Pair*)mPairs.GetEntries(); }
245 bool CheckTemporalCoherence(
Pair* cache);
252 if(!mIMesh0 || !mIMesh1)
return FALSE;
258 #endif // __OPC_TREECOLLIDER_H__
A generic couple structure.
const AABBCollisionNode * mNowNode1
udword mNbBVPrimTests
Number of BV-Primitive tests.
Matrix3x3 mR0to1
Rotation from object0 to object1.
virtual inline_ void InitQuery()
Point mT1to0
Translation from object1 to object0.
unsigned int udword
sizeof(udword) must be 4
int BOOL
Another boolean type.
virtual const char * ValidateSettings()=0
Matrix3x3 mR1to0
Rotation from object1 to object0.
inline_ BOOL Setup(const MeshInterface *mi0, const MeshInterface *mi1)
const MeshInterface * mIMesh1
User-defined mesh interface for object1.
inline_ void ResetCountDown()
void setCollisionPairInserter(hrp::CollisionPairInserterBase *collisionPairInserter)
const AABBCollisionNode * mNowNode0
#define HRP_COLLISION_EXPORT
udword mNbPrimPrimTests
Number of Primitive-Primitive tests.
udword mNbBVBVTests
Number of BV-BV tests.
const Model * Model0
Model for first object.
bool mFullBoxBoxTest
Perform full BV-BV tests (true) or SAT-lite tests (false)
bool mFullPrimBoxTest
Perform full Primitive-BV tests (true) or SAT-lite tests (false)
hrp::CollisionPairInserterBase * collisionPairInserter
Container mPairs
Pairs of colliding primitives.
Matrix3x3 mAR
Absolute rotation matrix.
const MeshInterface * mIMesh0
User-defined mesh interface for object0.
Point mT0to1
Translation from object0 to object1.
png_infop png_uint_32 flag
udword mLeafIndex
Triangle index.
const Model * Model1
Model for second object.
inline_ BVTCache()
Constructor.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:04