Macros
OPC_VolumeCollider.cpp File Reference
#include "Stdafx.h"
Include dependency graph for OPC_VolumeCollider.cpp:

Go to the source code of this file.

Macros

#define IMPLEMENT_LEAFDUMP(type)
 
#define IMPLEMENT_NOLEAFDUMP(type)
 

Detailed Description

Contains base volume collider class.

Author
Pierre Terdiman
Date
June, 2, 2001

Definition in file OPC_VolumeCollider.cpp.

Macro Definition Documentation

#define IMPLEMENT_LEAFDUMP (   type)
Value:
void VolumeCollider::_Dump(const type* node) \
{ \
if(node->IsLeaf()) \
{ \
mTouchedPrimitives->Add(node->GetPrimitive()); \
} \
else \
{ \
_Dump(node->GetPos()); \
\
if(ContactFound()) return; \
\
_Dump(node->GetNeg()); \
} \
}
png_infop png_charp png_int_32 png_int_32 int * type
Definition: png.h:2332
void _Dump(const AABBCollisionNode *node)

Definition at line 82 of file OPC_VolumeCollider.cpp.

#define IMPLEMENT_NOLEAFDUMP (   type)
Value:
void VolumeCollider::_Dump(const type* node) \
{ \
if(node->HasPosLeaf()) mTouchedPrimitives->Add(node->GetPosPrimitive()); \
else _Dump(node->GetPos()); \
\
if(ContactFound()) return; \
\
if(node->HasNegLeaf()) mTouchedPrimitives->Add(node->GetNegPrimitive()); \
else _Dump(node->GetNeg()); \
}
png_infop png_charp png_int_32 png_int_32 int * type
Definition: png.h:2332
void _Dump(const AABBCollisionNode *node)

Definition at line 70 of file OPC_VolumeCollider.cpp.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:42