#define AGXPHYSICS_EXPORT
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
The object defining a frame of reference and providing transformations operations.
Compliance matrix data containing the lower triangle (including the diagonal) of the compliance matri...
Generic constraint which by default is empty of elementary constraints.
virtual void onAddNotification() override
Callback when the constraint has been added to a simulation.
virtual agx::Bool onPreSolve() override
Callback before this constraint reaches the solver (actually preSystemCallback).
void render(class agxRender::RenderManager *manager, float scale) const override
Inherited method of how to render this constraint into DebugRenderer.
GenericConstraint(agx::RigidBody *rb1)
Construct given one rigid body (second is null).
virtual void onRemoveNotification() override
Callback when the constraint has been removed from a simulation.
int getNumDOF() const override
virtual void updateComplianceMatrix(GenericConstraintComplianceMatrix *matrix) override
Callback to write data.
virtual ~GenericConstraint()=default
GenericConstraint(agx::RigidBody *rb1, agx::Frame *f1, agx::RigidBody *rb2, agx::Frame *f2)
Construct given two bodies and frames.
GenericConstraint(agx::RigidBody *rb1, agx::RigidBody *rb2)
Construct given two rigid bodies (first has to be != null).
virtual void onPostSolve() override
Callback from after the solve and the solutions been pushed to the elementary constraints.
The rigid body class, combining a geometric model and a frame of reference.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.