 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
182 bool hasMaterialsWithContactReduction()
const;
266 friend class SimulationController;
276 void resetDirtyMaterials()
const;
301 bool m_hasMaterialsWithContactReduction;
314 return m_contactMaterialStorage;
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
agx::Vector< const agx::Material * > MaterialPtrVector
agx::HashTable< agx::String, agx::MaterialRef > StringMaterialRefTable
const MaterialManager * m_mgr
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
#define DOXYGEN_END_INTERNAL_BLOCK()
static Material * getDefaultMaterial()
#define DOXYGEN_START_INTERNAL_BLOCK()
agx::Vector< const agx::ContactMaterial * > ContactMaterialPtrVector
Pointer to a entity instance of type Physics.Material.
agx::SymmetricPair< const agx::Material * > SymmetricMaterialPair
Data storage for a collection of entity instances of a specified EntityModel.
MaterialManagerSerializer()
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXPHYSICS_EXPORT
AGXPHYSICS_EXPORT size_t getContactMaterialVector(agxSDK::MaterialManager *mgr, agx::ContactMaterialPtrVector &contactMaterials)
Get all contact materials from the material manager and add them to the supplied vector.
A model is an abstract representation of the class of an agx::Object.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
const agx::ContactMaterial * getContactMaterial(const agx::Material *material1, const agx::Material *material2) const
Returns an implicit or explicit contact material if it exists.
Simulation unique manager that handles logics around and parameters in contact materials given two ag...
Inheritance with partial specialization due to bug with ref_ptr containers.
The geometry representation used by the collision detection engine.
void set(MaterialManager *mgr)
Internal class for store/restore of MaterialManager.
Class for writing serialized data in binary format to a stream.
const MaterialManager * get() const
A component is an object containing other objects, enabling hierarchical structuring.
agxData::EntityStorage * getContactMaterialStorage()
#define AGX_DECLARE_POINTER_TYPES(type)
ContactMaterialVector m_contactMaterials
SymmetricMaterialPair getSymmetricPair(const agx::ContactMaterial *contactMaterial) const
agx::SymmetricPair< const agx::Material * > MaterialPair
AGXPHYSICS_EXPORT size_t getMaterialVector(agxSDK::MaterialManager *mgr, agx::MaterialPtrVector &materials)
Get all materials from the material manager and add them to the supplied vector.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Main material class which acts as a holder of a Surface Material and a Bulk material.
MaterialManagerSerializer(const MaterialManager *mgr)
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
AGXPHYSICS_EXPORT agx::Material *& model()
AGXTERRAIN_EXPORT void clear()
agx::QuadraticProbingHashTable< SymmetricMaterialPair, agx::ContactMaterialRef > MaterialSPairContactMaterialRefTable
agx::Vector< agx::ref_ptr< agx::ContactMaterial > > ContactMaterialVector
const agx::Material * getDefaultMaterial() const