 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
95 void setMode( Mode mode );
100 Mode getMode()
const;
144 ( m_mode ==
MATCH_OR && ( isMatch( geometry1 ) || isMatch( geometry2 ) ) ) ||
145 ( m_mode ==
MATCH_AND && ( isMatch( geometry1 ) && isMatch( geometry2 ) ) );
150 const auto rbUuid = geometry->
getRigidBody() !=
nullptr ?
agx::Uuid getUuid() const
@ MATCH_ALL
Any object results in a match.
virtual bool match(const agxCollide::GeometryContact &gc) const
Called when narrow phase tests have determined overlap (when we have detailed intersection between th...
Abstract base class that implements a filter that selects which events should trigger a Listener.
static agx::UInt32 findCorrespondingUuid(const agxCollide::Geometry *geometry)
Searches for corresponding object's (e.g., Wire, Cable, Track etc.) UUID given geometry.
agx::Bool contains(agx::UInt32 hash) const
@ MATCH_AND
Both objects must match our UUID set.
#define AGXPHYSICS_EXPORT
Contact event filter matching UUID of instances, such as agxCollide::Geometry, agx::RigidBody,...
The geometry representation used by the collision detection engine.
AGXCORE_EXPORT UInt32 hash(const T &key)
@ MATCH_OR
At least one of the two objects must match our UUIDs.
Base class providing referencing counted objects.
agx::RigidBody * getRigidBody()
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
virtual bool match(const agxCollide::Geometry *geometry1, const agxCollide::Geometry *geometry2) const override
Called by the other two match functions if they are not overridden.