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>
#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.
agx::ref_ptr< const T2 > m_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::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.
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
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)