#include <SoilParticleAggregate.h>
Definition at line 38 of file SoilParticleAggregate.h.
◆ SoilParticleAggregate()
| agxTerrain::SoilParticleAggregate::SoilParticleAggregate |
( |
| ) |
|
◆ ~SoilParticleAggregate()
| virtual agxTerrain::SoilParticleAggregate::~SoilParticleAggregate |
( |
| ) |
|
|
protectedvirtual |
Reference counted object - protected destructor.
◆ _getInnerGeometry()
Internal mutable geometry accessor.
◆ _getWedgeGeometry()
Internal mutable geometry accessor.
◆ addNotification()
◆ allocateObserverVector()
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
◆ as() [1/2]
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
◆ as() [2/2]
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
◆ asSafe() [1/2]
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
◆ asSafe() [2/2]
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ getDeleteHandler()
◆ getInnerBody()
| const agx::RigidBody* agxTerrain::SoilParticleAggregate::getInnerBody |
( |
| ) |
const |
- Note
- It's undefined to make changes to this body since all its properties are calculated given the soil particles it represent.
- Returns
- inner rigid body used as soil particle aggregate
◆ getInnerBodyParticles()
- Returns
- the soil particles that the inner body of the soil particle aggregate represents
◆ getInnerGeometry()
- Note
- It's undefined to make changes to this geometry since all its properties are calculated given the soil particles it represent.
- Returns
- geometry used as soil particle aggregate
◆ getLockJoint()
| const agx::LockJoint* agxTerrain::SoilParticleAggregate::getLockJoint |
( |
| ) |
const |
- Note
- It's undefined to make changes to this lock since all its properties are calculated during the aggregate update step. ALSO NOTE, this lock is only relevant if the body aggregate is part of a primary active zone.
- Returns
- lock between the inner body and the wedge shape, IF used by primary active zone.
◆ getMass()
| agx::Real agxTerrain::SoilParticleAggregate::getMass |
( |
| ) |
const |
- Returns
- the mass of this aggregate, representing both soil particles and fluid mass
◆ getMaterial()
| agx::Material* agxTerrain::SoilParticleAggregate::getMaterial |
( |
| ) |
const |
- Returns
- the material used between the shovel and this soil particle aggregate
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getRigidBodyMassSum()
| agx::Real agxTerrain::SoilParticleAggregate::getRigidBodyMassSum |
( |
| ) |
const |
- Returns
- the mass of all the rigid bodies present in the aggregate.
◆ getWedgeBody()
| const agx::RigidBody* agxTerrain::SoilParticleAggregate::getWedgeBody |
( |
| ) |
const |
- Note
- It's undefined to make changes to this body since all its properties are calculated given the soil particles it represent.
- Returns
- wedge rigid body used as soil particle aggregate
◆ getWedgeBodyParticles()
- Returns
- the soil particles that the wedge body of the soil particle aggregate represents
◆ getWedgeGeometry()
- Note
- It's undefined to make changes to this geometry since all its properties are calculated given the soil particles it represent.
- Returns
- geometry used as soil particle aggregate
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ onEnableChange()
| void agxTerrain::SoilParticleAggregate::onEnableChange |
( |
bool |
enable | ) |
|
◆ onPost()
◆ onPre()
◆ onPreCollide()
◆ reference()
| void agx::Referenced::reference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
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.
◆ removeNotification()
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ setLockRotationalCompliance()
| void agxTerrain::SoilParticleAggregate::setLockRotationalCompliance |
( |
agx::Real |
compliance | ) |
|
Set the compliance of the lock joint in the soil aggregate in rotational degrees of freedom.
- Parameters
-
| compliance | - Set the joint compliance in the rotational degrees of freedom. |
◆ setLockTranslationalCompliance()
| void agxTerrain::SoilParticleAggregate::setLockTranslationalCompliance |
( |
agx::Real |
compliance | ) |
|
Set the compliance of the lock joint in the soil aggregate in translational degrees of freedom.
- Parameters
-
| compliance | - Set the joint compliance in the translation degrees of freedom. |
◆ setMaterial()
Assign material used for the contact between the shovel and this soil particle aggregate (the soil particles implicitly).
- Parameters
-
◆ transformPlaneToWorld()
◆ unreference()
| void agx::Referenced::unreference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
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().
◆ unreference_nodelete()
| void agx::Referenced::unreference_nodelete |
( |
| ) |
const |
|
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.
◆ ValidateCast()
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_refCount
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: