|
AGXDynamics
2.31.1.0
|
Class containing the properties of the created soil particles in the Terrain, such as particle density and contact parameters amongst soil particles and between soil particles and the terrain surface. More...
#include <TerrainMaterial.h>
Inheritance diagram for agxTerrain::TerrainMaterial::ParticleProperties:Classes | |
| struct | ParticleParticleParameters |
| struct | ParticleTerrainParameters |
Public Member Functions | |
| ParticleProperties (TerrainMaterial *terrainMaterial) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| agx::Real | getAdhesionOverlapFactor () const |
| agx::Real | getParticleCohesion () const |
| agx::Real | getParticleDensity () const |
| agx::Real | getParticleRestitution () const |
| agx::Real | getParticleRollingResistance () const |
| agx::Real | getParticleSurfaceFriction () const |
| agx::Real | getParticleTerrainCohesion () const |
| agx::Real | getParticleTerrainRestitution () const |
| agx::Real | getParticleTerrainRollingResistance () const |
| agx::Real | getParticleTerrainSurfaceFriction () const |
| agx::Real | getParticleTerrainYoungsModulus () const |
| agx::Real | getParticleYoungsModulus () const |
| int | getReferenceCount () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | setAdhesionOverlapFactor (agx::Real adhesionOverlapFactor) |
| Set the adhesion overlap factor of particle contacts, i.e what fraction of the particle radius is allowed to overlap to simulate adhesion. More... | |
| void | setParticleCohesion (agx::Real cohesion) |
| Set the particle cohesion (Pa) of the bulk material. More... | |
| void | setParticleRestitution (agx::Real restitution) |
| Set the particle restitution of the bulk material. More... | |
| void | setParticleRollingResistance (agx::Real rollingResistance) |
| Set the particle rolling resistance of the bulk material. More... | |
| void | setParticleSurfaceFriction (agx::Real friction) |
| Set the particle surface friction of the bulk material. More... | |
| void | setParticleTerrainCohesion (agx::Real cohesion) |
| Set the particle <-> terrain cohesion (Pa) of the bulk material. More... | |
| void | setParticleTerrainRestitution (agx::Real restitution) |
| Set particle <-> terrain restitution of the bulk material. More... | |
| void | setParticleTerrainRollingResistance (agx::Real rollingResistance) |
| Set the particle <-> terrain rolling resistance of the bulk material. More... | |
| void | setParticleTerrainSurfaceFriction (agx::Real friction) |
| Set the particle <-> terrain surface friction of the bulk material. More... | |
| void | setParticleTerrainYoungsModulus (agx::Real youngsModulus) |
| Set particle <-> Terrain Young's modulus (Pa) of the bulk material. More... | |
| void | setParticleYoungsModulus (agx::Real youngsModulus) |
| Set the particle Young's modulus (Pa) of the bulk material. More... | |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
Static Public Member Functions | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Public Attributes | |
| AGXTERRAIN_STORE_RESTORE_INTERFACE | |
Protected Member Functions | |
| virtual | ~ParticleProperties () |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
| void | onChanged () |
Static Protected Member Functions | |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More... | |
Class containing the properties of the created soil particles in the Terrain, such as particle density and contact parameters amongst soil particles and between soil particles and the terrain surface.
Definition at line 457 of file TerrainMaterial.h.
| agxTerrain::TerrainMaterial::ParticleProperties::ParticleProperties | ( | TerrainMaterial * | terrainMaterial | ) |
|
inlineprotectedvirtual |
Definition at line 594 of file TerrainMaterial.h.
|
protectedinherited |
|
inherited |
Subclass casting.
Template type must match actual type, dynamic_cast assertion will fail otherwise.
Referenced by agx::InternalData::get(), agxVehicle::Track::getNode(), agx::InternalData::getOrCreate(), and agx::InternalData::hasData().
|
inherited |
|
inherited |
Safe subclass casting, return nullptr if template type does not match.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().
|
inherited |
|
protectedinherited |
|
inline |
Definition at line 923 of file TerrainMaterial.h.
|
staticprotectedinherited |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleCohesion | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleDensity | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleRestitution | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleRollingResistance | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleSurfaceFriction | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleTerrainCohesion | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleTerrainRestitution | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleTerrainRollingResistance | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleTerrainSurfaceFriction | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleTerrainYoungsModulus | ( | ) | const |
| agx::Real agxTerrain::TerrainMaterial::ParticleProperties::getParticleYoungsModulus | ( | ) | const |
|
inherited |
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::EntityStorage::getInstances(), and agx::Object::getResource().
|
protected |
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
| void agxTerrain::TerrainMaterial::ParticleProperties::setAdhesionOverlapFactor | ( | agx::Real | adhesionOverlapFactor | ) |
Set the adhesion overlap factor of particle contacts, i.e what fraction of the particle radius is allowed to overlap to simulate adhesion.
| adhesionOverlapFactor | - The specified adhesion overlap factor to set to the material. (Default: 0.05) |
|
staticprotectedinherited |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
Set the particle cohesion (Pa) of the bulk material.
| cohesion | - the specified particle rolling resistance to set to the bulk material. (Default: 0.0 Pa) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleRestitution | ( | agx::Real | restitution | ) |
Set the particle restitution of the bulk material.
| restitution | - the specified particle restitution to set to the bulk material. (Default: 0.5) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleRollingResistance | ( | agx::Real | rollingResistance | ) |
Set the particle rolling resistance of the bulk material.
| rollingResistance | - the specified particle rolling resistance to set to the bulk material. (Default: 0.3) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleSurfaceFriction | ( | agx::Real | friction | ) |
Set the particle surface friction of the bulk material.
| friction | - the specified particle surface friction to set to the bulk material. (Default: 0.4) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleTerrainCohesion | ( | agx::Real | cohesion | ) |
Set the particle <-> terrain cohesion (Pa) of the bulk material.
| cohesion | - the specified particle <-> terrain cohesion to set to the bulk material. (Default: 0.0 Pa) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleTerrainRestitution | ( | agx::Real | restitution | ) |
Set particle <-> terrain restitution of the bulk material.
| restitution | - the specified particle <-> terrain restitution to set to the bulk material. (Default: 0.0) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleTerrainRollingResistance | ( | agx::Real | rollingResistance | ) |
Set the particle <-> terrain rolling resistance of the bulk material.
Set the particle rolling resistance of the bulk material.
| rollingResistance | - the specified particle rolling resistance to set to the bulk material. (Default: 0.3) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleTerrainSurfaceFriction | ( | agx::Real | friction | ) |
Set the particle <-> terrain surface friction of the bulk material.
| friction | - the specified particle surface friction to set to the bulk material. (Default: 0.8) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleTerrainYoungsModulus | ( | agx::Real | youngsModulus | ) |
Set particle <-> Terrain Young's modulus (Pa) of the bulk material.
| youngsModulus | - the specified particle <-> terrain Young's modulus to set to the bulk material. (Default: 1e8 Pa) |
| void agxTerrain::TerrainMaterial::ParticleProperties::setParticleYoungsModulus | ( | agx::Real | youngsModulus | ) |
Set the particle Young's modulus (Pa) of the bulk material.
| youngsModulus | - the specified particle Young's modulus to set to the bulk material. (Default: 1e9 Pa) |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
|
staticinherited |
| agxTerrain::TerrainMaterial::ParticleProperties::AGXTERRAIN_STORE_RESTORE_INTERFACE |
Definition at line 591 of file TerrainMaterial.h.
|
protected |
Definition at line 623 of file TerrainMaterial.h.
|
mutableprotectedinherited |
Definition at line 240 of file Referenced.h.
|
mutableprotectedinherited |
Definition at line 239 of file Referenced.h.
|
protected |
Definition at line 621 of file TerrainMaterial.h.
|
protected |
Definition at line 622 of file TerrainMaterial.h.
|
mutableprotectedinherited |
Definition at line 241 of file Referenced.h.
|
protected |
Definition at line 625 of file TerrainMaterial.h.