AGX Dynamics  2.38.0.2
SurfaceVelocityContactFilter.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
19 #include <agx/agxPhysics_export.h>
20 #include <agx/TimeStamp.h>
21 
22 #include <agxCollide/Contacts.h>
23 
24 #include <agxSDK/ExecuteFilter.h>
26 
27 namespace agxUtil
28 {
29 
44  {
45  public:
46 
48 
49  virtual KeepContactPolicy impact(const agx::TimeStamp& time, agxCollide::GeometryContact *geometryContact) override;
50 
51  virtual KeepContactPolicy contact(const agx::TimeStamp& time, agxCollide::GeometryContact* geometryContact) override;
52 
53  private:
54  void processContact(agxCollide::GeometryContact* geometryContact);
55 
56  };
57 
58 
59 }
agxPhysics_export.h
agxUtil::SurfaceVelocityContactFilter
This is a utility class that disables ContactPoints where the contact normal prevents movement along ...
Definition: SurfaceVelocityContactFilter.h:43
agxSDK::ExecuteFilter
Abstract base class that implements a filter that selects which events should trigger a Listener.
Definition: ExecuteFilter.h:33
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
agxSDK::ContactEventListener::KeepContactPolicy
KeepContactPolicy
Defines whether contact should be kept or removed after contact/impact methods returns.
Definition: ContactEventListener.h:59
ContactEventListener.h
agxCollide::GeometryContact
A contact between two geometries.
Definition: Contacts.h:270
agx::TimeStamp
agx::Real TimeStamp
Definition: TimeStamp.h:26
Contacts.h
ExecuteFilter.h
agxUtil
The agxUtil namespace contain classes and methods for utility functionality.
Definition: CylindricalJoint.h:20
TimeStamp.h
agxSDK::ContactEventListener
Derive from this class to implement a listener for Collision events.
Definition: ContactEventListener.h:44