81 template <
typename T1,
typename T2>
117 return match(geometryPair.first, geometryPair.second);
126 template <
typename T1,
typename T2>
128 : m_t1( t1 ), m_t2( t2 )
133 template <
typename T1,
typename T2>
144 template<
typename T1,
typename T2>
virtual bool match(const agxCollide::Geometry *, const agxCollide::Geometry *) const override
Inherited from agxSDK::ExecuteFilter.
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
Abstract base class that implements a filter that selects which events should trigger a Listener...
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_POINTER_TYPES(type)
virtual bool match(const agxCollide::GeometryContact &gc) const
Called when narrow phase tests have determined overlap (when we have detailed intersection between th...
Templated version of ExecuteFilter, for objects which contain geometries and inherit from agx::Refere...
Base class providing referencing counted objects.
The geometry representation used by the collision detection engine.
agx::ref_ptr< const T2 > m_t2
virtual ~ExecuteFilterT()
agx::ref_ptr< const T1 > m_t1
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)
ExecuteFilterT(const T1 *t1, const T2 *t2=nullptr)
Create an ExecuteFilter with one or two conditions.