45 m_bodies.push_back(body);
53 for (
size_t j = 0; j < 2; ++j)
54 if (geos[j]->getRigidBody())
55 for (
size_t i = 0; i < m_bodies.size(); ++i)
56 if (geos[j]->getRigidBody() == m_bodies[i])
91 virtual void calculateTangentPlane(
206 virtual bool isValid()
const;
215 agx::Vec2 getImplicitFrictionMultiplier()
const;
224 void setImplicitFrictionMultiplier(
const agx::Vec2& implicitFrictionMultiplier);
233 virtual agx::Real getLoadedRadius()
const override;
Utility class to get step event callbacks to any class having the methods implemented.
agx::Vec2 m_implicitFrictionMultiplier
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
agx::ref_ptr< agxUtil::GeneralStepListener< TwoBodyTire > > m_stepCallback
Abstract base class that implements a filter that selects which events should trigger a Listener...
virtual void removeNotification(agxSDK::Simulation *)
Called when this assembly is removed from a simulation.
agx::ref_ptr< agxUtil::GeneralContactEventListener< TwoBodyTire > > m_contactCallback
#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...
agx::RigidBodyObserver m_hubBody
void addBody(agx::RigidBody *body)
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
The geometry representation used by the collision detection engine.
Vector containing 'raw' data.
virtual void last(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
agx::RigidBodyObserver m_tireBody
agx::Vector< agx::ContactMaterialRef > m_contactMaterials
agx::FrameConstObserver m_refFrame
Smart pointer for handling referenced counted objects.
virtual void post(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
The hinge constraint between two rigid bodies or one rigid body and the world.
The rigid body class, combining a geometric model and a frame of reference.
agx::UInt32 m_collisionGroup
The object defining a frame of reference and providing transformations operations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Iterative Projected Cone Friction (IPC friction) model.
virtual void addNotification(agxSDK::Simulation *)
Called when this assembly is added to a simulation (given that it not already is in the simulation)...
agx::Vector< agxCollide::LocalGeometryContact > m_contacts
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Friction model that follows a tire's orientation in the world, based on the tire's frame...
virtual bool match(const agxCollide::Geometry *g0, const agxCollide::Geometry *g1) const override
Inherited from agxSDK::ExecuteFilter.
#define AGX_DECLARE_VECTOR_TYPES(type)
virtual void pre(const agx::TimeStamp &time)
Called before a step is taken in the simulation Implement this method in the derived class to get cal...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
virtual void preCollide(const agx::TimeStamp &time)
Called before collision detection is performed in the simulation Implement this method in the derived...
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints, geometries.