334 agx::Solver* getSolver();
339 const agx::Solver* getSolver()
const;
361 void disableSolverDataExtraction();
366 bool getEnableSolverDataExtraction()
const;
409 void setEnableContactWarmstarting(
bool enable );
414 bool getEnableContactWarmstarting()
const;
432 void createUpdateTask();
440 Task* createIntegratePositionsTask();
441 Task* createUpdateFramesTask();
442 Task* createSynchronizeGeometriesTask();
443 Task* createMergedBodyPostIntegrateTask();
446 void updateGravity();
448 void commitRemovedBodies();
458 void mergeSplitPre();
460 void mergeSplitPost();
461 void updateInteractionForces();
462 void updateSleepState();
465 void stopUpdateTimerAndReport(
agx::Task* task);
466 void recordPlaybackStatistics();
469 TaskRef m_updateWorldMassAndInertiaTask;
470 TaskRef m_integratePositionsTask;
474 RigidBodyPtrSetVector m_enabledBodies;
475 RigidBodyPtrSetVector m_sleepingBodies;
481 ConstraintRefSetVector m_constraints;
482 InteractionRefSetVector m_interactions;
483 StrongInteractionRefSetVector m_strongInteractions;
491 int m_garbageCollectionCounter;
514 inline RigidBodyPtrSetVector& DynamicsSystem::getEnabledRigidBodies()
516 return m_enabledBodies;
519 inline const RigidBodyPtrSetVector& DynamicsSystem::getEnabledRigidBodies()
const 521 return m_enabledBodies;
524 inline RigidBodyPtrSetVector& DynamicsSystem::getSleepingRigidBodies()
526 return m_sleepingBodies;
528 inline const RigidBodyPtrSetVector& DynamicsSystem::getSleepingRigidBodies()
const 530 return m_sleepingBodies;
535 m_geometryContacts = contacts;
540 return m_geometryContacts;
543 inline Solver* DynamicsSystem::getSolver() {
return m_solver; }
544 inline const Solver* DynamicsSystem::getSolver()
const {
return m_solver; }
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
Data storage for a collection of entity instances of a specified EntityModel.
A component is an object containing other objects, enabling hierarchical structuring.
A model is an abstract representation of the class of an agx::Object.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
#define AGXPHYSICS_EXPORT
The base class for a constraint.
A representation of a generic task.
Representation of a name string.
The Timer class permits timing execution speed with the same refinement as the built in hardware cloc...
ref_ptr< DynamicsSystem > DynamicsSystemRef
The base class for interactions.
Class which will go through contacting/separating bodies and determine if the bodies can be merged (g...
Vector containing 'raw' data.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::SetVector< InteractionRef > InteractionRefSetVector
agx::SetVector< RigidBody * > RigidBodyPtrSetVector
virtual void setContext(agx::Object *context)
Callback1< T1 > CallbackType
The rigid body class, combining a geometric model and a frame of reference.
The complete physical system with bodies, interactions, data layout, time stepper, and solver.
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
Class that will investigate bodies to see if they are resting, that is if linear/angular velocity and...
agx::SetVector< InteractionRef > StrongInteractionRefSetVector
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Utility entrance to the task system, simplifying parallelization of algorithms.
An agx::Device is an abstract representation of a device on which data can be stored and processed...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
#define DOXYGEN_END_INTERNAL_BLOCK()
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
#define DOXYGEN_START_INTERNAL_BLOCK()
agx::SetVector< ref_ptr< Constraint > > ConstraintRefSetVector
agx::Object is a refcounted object with a name.
With this class you can attach an ObserverFrame object relative to a RigidBody.