 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
17 #ifndef AGXMODEL_TWO_BODY_TIRE_H
18 #define AGXMODEL_TWO_BODY_TIRE_H
54 for (
size_t j = 0; j < 2; ++j)
55 if (geos[j]->getRigidBody())
57 if (geos[j]->getRigidBody() ==
m_bodies[i])
63 using ExecuteFilter::match;
92 virtual void calculateTangentPlane(
202 virtual bool isValid()
const;
211 agx::Vec2 getImplicitFrictionMultiplier()
const;
220 void setImplicitFrictionMultiplier(
const agx::Vec2& implicitFrictionMultiplier);
229 virtual agx::Real getLoadedRadius()
const override;
238 virtual bool setStiffness(
const agx::Real stiffness, DeformationMode mode);
246 virtual agx::Real getStiffness(DeformationMode mode);
255 virtual bool setDampingCoefficient(
const agx::Real dampingCoefficient, DeformationMode mode);
263 virtual agx::Real getDampingCoefficient(DeformationMode mode);
374 #endif // AGXMODEL_TWO_BODY_TIRE_H
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...
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
Utility class to get step event callbacks to any class having the methods implemented.
The rigid body class, combining a geometric model and a frame of reference.
Iterative Projected Cone Friction (IPC friction) model.
agx::RigidBodyRefVector m_bodies
Abstract base class that implements a filter that selects which events should trigger a Listener.
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...
agx::ref_ptr< agxUtil::GeneralContactEventListener< TwoBodyTire > > m_contactCallback
agx::Vec2 m_implicitFrictionMultiplier
agx::ref_ptr< agxUtil::GeneralStepListener< TwoBodyTire > > m_stepCallback
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Vector containing 'raw' data.
agx::RigidBodyObserver m_tireBody
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::Vector< agx::ContactMaterialRef > m_contactMaterials
#define AGX_DECLARE_VECTOR_TYPES(type)
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints,...
Smart pointer for handling referenced counted objects.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agx::RigidBodyObserver m_hubBody
The geometry representation used by the collision detection engine.
Representation of a name string.
agx::Vector< agxCollide::LocalGeometryContact > m_contacts
agx::UInt32 m_collisionGroup
#define AGX_DECLARE_POINTER_TYPES(type)
virtual bool match(const agxCollide::Geometry *g0, const agxCollide::Geometry *g1) const override
Inherited from agxSDK::ExecuteFilter.
void addBody(agx::RigidBody *body)
The hinge constraint between two rigid bodies or one rigid body and the world.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Friction model that follows a tire's orientation in the world, based on the tire's frame.
The object defining a frame of reference and providing transformations operations.
virtual void removeNotification(agxSDK::Simulation *)
Called when this assembly is removed from a simulation.
virtual void preCollide(const agx::TimeStamp &time)
Called before collision detection is performed in the simulation Implement this method in the derived...
agx::FrameConstObserver m_refFrame
void push_back(const T2 &value)
virtual void addNotification(agxSDK::Simulation *)
Called when this assembly is added to a simulation (given that it not already is in the simulation).