|
AGX Dynamics 2.42.3.0
|
Control ground collapse functionality in the terrain. More...
#include <GroundCollapseController.h>
Inheritance diagram for agxTerrain::GroundCollapse::GroundCollapseController:Public Member Functions | |
| bool | addCustomFailureSurface (FailureSurface *customSurface) |
| void | addGroundCollapseZone (agxCollide::Geometry *zone) |
| void | clearCustomSurfaces () |
| void | clearGroundCollapseZones () |
| TerrainContactPtrVector | getCollapseContacts () |
| Get the terrain contacts that will be used in ground collpase calculations. | |
| GroundCollapse::GroundCollapseResult * | getCollapseResult () const |
| TerrainContactPtrVector | getContactsInGroundCollapseZone () |
| FailureSurfacePtrVector | getCustomFailureSurfaces () const |
| agxCollide::GeometryPtrVector | getGroundCollapseZones () |
| GroundCollapse::CollapseRenderSettings * | getRenderSettings () const |
| GroundCollapse::CollapseSettings * | getSettings () const |
| GroundCollapse::SlopeDetectionSettings * | getSlopeSettings () const |
| void | setRenderSettings (GroundCollapse::CollapseRenderSettings *renderSettings) |
| void | setSettings (GroundCollapse::CollapseSettings *settings) |
| void | setSlopeSettings (GroundCollapse::SlopeDetectionSettings *slopeSettings) |
Public Member Functions inherited from agx::Referenced | |
| Referenced () | |
| Default constructor. | |
| Referenced (const Referenced &) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. | |
| template<typename T > | |
| const T * | asSafe () const |
| int | getReferenceCount () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. | |
| Referenced & | operator= (const Referenced &) |
| Assignment operator. Will increment the number of references to the referenced object. | |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. | |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
Additional Inherited Members | |
Static Public Member Functions inherited from agx::Referenced | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Protected Member Functions inherited from agx::Referenced | |
| virtual | ~Referenced () |
| Destructor. | |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Static Protected Member Functions inherited from agx::Referenced | |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. | |
Protected Attributes inherited from agx::Referenced | |
| Mutex | m_mutex |
| ObserverContainer | m_observers |
| AtomicValue | m_refCount |
Control ground collapse functionality in the terrain.
Ground collapse needs to be enabled beforehand via TerrainProperties::setEnableGroundCollapse.
After ground collapse is enabled and ground collapse zones are designated via addGroundCollapseZone, calculations will be performed in each time step whether external loads on the soil, from a bulldozer for example, causes the ground to collapse.
The ground collapse simulations can be configured via the related settings classes, obtained via getSettings, getRenderSettings and getSlopeSettings.
Definition at line 46 of file GroundCollapseController.h.
| bool agxTerrain::GroundCollapse::GroundCollapseController::addCustomFailureSurface | ( | FailureSurface * | customSurface | ) |
| void agxTerrain::GroundCollapse::GroundCollapseController::addGroundCollapseZone | ( | agxCollide::Geometry * | zone | ) |
| void agxTerrain::GroundCollapse::GroundCollapseController::clearCustomSurfaces | ( | ) |
| void agxTerrain::GroundCollapse::GroundCollapseController::clearGroundCollapseZones | ( | ) |
| TerrainContactPtrVector agxTerrain::GroundCollapse::GroundCollapseController::getCollapseContacts | ( | ) |
Get the terrain contacts that will be used in ground collpase calculations.
| GroundCollapse::GroundCollapseResult * agxTerrain::GroundCollapse::GroundCollapseController::getCollapseResult | ( | ) | const |
| TerrainContactPtrVector agxTerrain::GroundCollapse::GroundCollapseController::getContactsInGroundCollapseZone | ( | ) |
| FailureSurfacePtrVector agxTerrain::GroundCollapse::GroundCollapseController::getCustomFailureSurfaces | ( | ) | const |
| agxCollide::GeometryPtrVector agxTerrain::GroundCollapse::GroundCollapseController::getGroundCollapseZones | ( | ) |
|
inline |
Definition at line 90 of file GroundCollapseController.h.
|
inline |
Definition at line 79 of file GroundCollapseController.h.
|
inline |
Definition at line 101 of file GroundCollapseController.h.
| void agxTerrain::GroundCollapse::GroundCollapseController::setRenderSettings | ( | GroundCollapse::CollapseRenderSettings * | renderSettings | ) |
| void agxTerrain::GroundCollapse::GroundCollapseController::setSettings | ( | GroundCollapse::CollapseSettings * | settings | ) |
|
inline |
Definition at line 107 of file GroundCollapseController.h.