 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
17 #ifndef AGXSDK_EXECUTE_FILTER_H
18 #define AGXSDK_EXECUTE_FILTER_H
82 template <
typename T1,
typename T2>
118 return match(geometryPair.first, geometryPair.second);
127 template <
typename T1,
typename T2>
129 : m_t1( t1 ), m_t2( t2 )
134 template <
typename T1,
typename T2>
145 template<
typename T1,
typename T2>
virtual bool match(const agxCollide::GeometryContact &gc) const
Called when narrow phase tests have determined overlap (when we have detailed intersection between th...
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
Abstract base class that implements a filter that selects which events should trigger a Listener.
agx::ref_ptr< const T2 > m_t2
#define AGXPHYSICS_EXPORT
ExecuteFilterT(const T1 *t1, const T2 *t2=nullptr)
Create an ExecuteFilter with one or two conditions.
virtual bool match(const agxCollide::Geometry *, const agxCollide::Geometry *) const override
Inherited from agxSDK::ExecuteFilter.
The geometry representation used by the collision detection engine.
agx::ref_ptr< const T1 > m_t1
virtual ~ExecuteFilterT()
Base class providing referencing counted objects.
#define AGX_DECLARE_POINTER_TYPES(type)
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
bool matchFilter(const agxCollide::Geometry *geo, const agxSDK::Assembly *a)
Templated version of ExecuteFilter, for objects which contain geometries and inherit from agx::Refere...