|
CFx SDK Documentation 2026 SP0
|
#include <GsColDetReactor.h>
Public Types | |
| enum | { kNotImplemented = 0x80000000 , kContinue = 0 , kBreak = 1 } |
Public Member Functions | |
| virtual OdUInt32 | collisionDetected (const OdGiPathNode *, const OdGiPathNode *) |
| virtual OdUInt32 | collisionDetected (const OdGiPathNode *pPathNode1, const OdGiPathNode *pPathNode2, double dDistance) |
This class is the base class for custom classes that receive notification of OdGs Collision Detection events.
<group OdGs_Classes>
Definition at line 44 of file GsColDetReactor.h.
| anonymous enum |
| Enumerator | |
|---|---|
| kNotImplemented | |
| kContinue | |
| kBreak | |
Definition at line 47 of file GsColDetReactor.h.
|
inlinevirtual |
Notification function called whenever an collision detected.
| pPathNode1 | [in] Pointer to the OdGiPathNode object from OdGsView::collide input list |
| pPathNode2 | [in] Pointer to the OdGiPathNode object that collides with pathNode1 |
Definition at line 62 of file GsColDetReactor.h.
|
inlinevirtual |
Notification function called whenever an collision detected if distance calsulation is specified
| pPathNode1 | [in] Pointer to the OdGiPathNode object from OdGsView::collide input list |
| pPathNode2 | [in] Pointer to the OdGiPathNode object that collides with pathNode1 |
| dDistace | [in] Collision distance. If negative, it is the penetration depth. If positive, it is the clearance. |
Definition at line 77 of file GsColDetReactor.h.