 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
271 agx::Real getTranslationalEnergy()
const;
358 agx::Solver* getSolver();
363 const agx::Solver* getSolver()
const;
385 void disableSolverDataExtraction();
390 bool getEnableSolverDataExtraction()
const;
433 void setEnableContactWarmstarting(
bool enable );
438 bool getEnableContactWarmstarting()
const;
456 void createUpdateTask();
464 Task* createIntegratePositionsTask();
465 Task* createUpdateFramesTask();
466 Task* createSynchronizeGeometriesTask();
467 Task* createMergedBodyPostIntegrateTask();
470 void updateGravity();
472 void commitRemovedBodies();
482 void mergeSplitPre();
484 void mergeSplitPost();
485 void updateInteractionForces();
486 void updateSleepState();
489 void stopUpdateTimerAndReport(
agx::Task* task);
490 void recordPlaybackStatistics();
493 TaskRef m_updateWorldMassAndInertiaTask;
494 TaskRef m_integratePositionsTask;
515 int m_garbageCollectionCounter;
540 return m_enabledBodies;
545 return m_enabledBodies;
550 return m_sleepingBodies;
554 return m_sleepingBodies;
559 m_geometryContacts = contacts;
564 return m_geometryContacts;
agx::RigidBodyPtrSetVector & getSleepingRigidBodies()
agx::RigidBodyPtrSetVector & getEnabledRigidBodies()
The rigid body class, combining a geometric model and a frame of reference.
#define DOXYGEN_END_INTERNAL_BLOCK()
agx::SetVector< ref_ptr< Constraint > > ConstraintRefSetVector
void setGeometryContacts(const agxCollide::GeometryContactPtrVector *contacts)
Set the geometry contacts to resolve.
#define DOXYGEN_START_INTERNAL_BLOCK()
Data storage for a collection of entity instances of a specified EntityModel.
#define AGX_DEPRECATED(since)
agx::SetVector< RigidBody * > RigidBodyPtrSetVector
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXPHYSICS_EXPORT
A model is an abstract representation of the class of an agx::Object.
A representation of a generic task.
With this class you can attach an ObserverFrame object relative to a RigidBody.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
agx::SetVector< InteractionRef > InteractionRefSetVector
agx::Solver * getSolver()
Class which will go through contacting/separating bodies and determine if the bodies can be merged (g...
Representation of a name string.
agx::Object is a refcounted object with a name.
A component is an object containing other objects, enabling hierarchical structuring.
Templated callback with one argument.
Utility entrance to the task system, simplifying parallelization of algorithms.
The base class for interactions.
virtual void setContext(agx::Object *context)
The Timer class permits timing execution speed with the same refinement as the built in hardware cloc...
This namespace consists of a set of classes for handling geometric intersection tests including boole...
The base class for a constraint.
An agx::Device is an abstract representation of a device on which data can be stored and processed.
ref_ptr< DynamicsSystem > DynamicsSystemRef
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
void AGXPHYSICS_EXPORT init()
Initialize agx.
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
The complete physical system with bodies, interactions, data layout, time stepper,...
const agxCollide::GeometryContactPtrVector * getGeometryContacts() const
Get the geometry contacts to be resolved.
Class that will investigate bodies to see if they are resting, that is if linear/angular velocity and...
agx::SetVector< InteractionRef > StrongInteractionRefSetVector