17 #ifndef AGXOSG_PRESSURE_FROM_CONTACTS_H 18 #define AGXOSG_PRESSURE_FROM_CONTACTS_H 62 void setRangeFactor(
agx::Real rangeFactor);
88 friend class ParticleGatherer;
89 friend class Gatherer;
92 ParticleContactVector m_particleContacts;
135 return this->match(const_cast<agxCollide::GeometryContact&>(contact).getGeometryPair());
140 return this->checkName(pair.first) || this->checkName(pair.second);
181 virtual void contactCallback(agx::Physics::ParticleGeometryContactInstance contact,
182 agx::Physics::ParticleData& particleData, agx::Physics::GeometryData& geometryData)
override;
This class is for detecting and handling particle collisions with geometries in the simulation...
A pressure map for a single trimesh.
Derive from this class to implement a listener for simulation step events.
Base class for types that want to supply force updates to a PressureAtlas.
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
Abstract base class that implements a filter that selects which events should trigger a Listener...
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
virtual bool match(const agxCollide::GeometryContact &gc) const
Called when narrow phase tests have determined overlap (when we have detailed intersection between th...
The geometry representation used by the collision detection engine.
const agx::Name & getName() const
Vector containing 'raw' data.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Triangle mesh for geometric intersection tests.
agx::RigidBody * getRigidBody()