51 virtual bool match(
const agxCollide::GeometryPair& geometryPair)
const;
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>
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
Templated version of ExecuteFilter, for objects which contain geometries and inherit from agx::Refere...
virtual ~ExecuteFilterT()
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.
agx::ref_ptr< const T2 > m_t2
agx::ref_ptr< const T1 > m_t1
Abstract base class that implements a filter that selects which events should trigger a Listener.
virtual ~ExecuteFilter()
Destructor.
virtual bool match(const agxCollide::GeometryContact &gc) const
Called when narrow phase tests have determined overlap (when we have detailed intersection between th...
ExecuteFilter()
Default, hidden constructor.
Base class providing referencing counted objects.
Smart pointer for handling referenced counted objects.
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)