AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxTerrain::GroundCollapse Namespace Reference

Classes

class  CollapseRenderSettings
 
class  CollapseSettings
 
struct  ContactData
 
struct  ContactResult
 
class  FailureSurface
 
class  FailureSurfaceAggregate
 
struct  FailureSurfaceResult
 
class  GroundCollapseController
 Control ground collapse functionality in the terrain. More...
 
class  GroundCollapseResult
 
struct  LoadPoint
 
struct  SubStepResult
 

Typedefs

typedef agx::observer_ptr< const CollapseRenderSettings > CollapseRenderSettingsConstObserver
 
typedef agx::ref_ptr< const CollapseRenderSettings > CollapseRenderSettingsConstRef
 
typedef agx::observer_ptr< CollapseRenderSettings > CollapseRenderSettingsObserver
 
typedef agx::ref_ptr< CollapseRenderSettings > CollapseRenderSettingsRef
 
typedef agx::observer_ptr< const CollapseSettings > CollapseSettingsConstObserver
 
typedef agx::ref_ptr< const CollapseSettings > CollapseSettingsConstRef
 
typedef agx::observer_ptr< CollapseSettings > CollapseSettingsObserver
 
typedef agx::ref_ptr< CollapseSettings > CollapseSettingsRef
 
using ContactDataVector = agx::Vector< ContactData >
 
using ContactResultVector = agx::VectorPOD< ContactResult >
 
typedef agx::observer_ptr< const FailureSurfaceAggregate > FailureSurfaceAggregateConstObserver
 
typedef agx::ref_ptr< const FailureSurfaceAggregate > FailureSurfaceAggregateConstRef
 
typedef agx::observer_ptr< FailureSurfaceAggregate > FailureSurfaceAggregateObserver
 
typedef agx::Vector< FailureSurfaceAggregateObserver > FailureSurfaceAggregateObserverVector
 
typedef agx::VectorPOD< FailureSurfaceAggregate * > FailureSurfaceAggregatePtrVector
 
typedef agx::ref_ptr< FailureSurfaceAggregate > FailureSurfaceAggregateRef
 
typedef agx::Vector< FailureSurfaceAggregateRef > FailureSurfaceAggregateRefVector
 
typedef agx::observer_ptr< const FailureSurface > FailureSurfaceConstObserver
 
typedef agx::ref_ptr< const FailureSurface > FailureSurfaceConstRef
 
typedef agx::observer_ptr< FailureSurface > FailureSurfaceObserver
 
typedef agx::Vector< FailureSurfaceObserver > FailureSurfaceObserverVector
 
typedef agx::VectorPOD< FailureSurface * > FailureSurfacePtrVector
 
typedef agx::ref_ptr< FailureSurface > FailureSurfaceRef
 
typedef agx::Vector< FailureSurfaceRef > FailureSurfaceRefVector
 
using FailureSurfaceResultVector = agx::Vector< FailureSurfaceResult >
 
typedef agx::observer_ptr< const GroundCollapseController > GroundCollapseControllerConstObserver
 
typedef agx::ref_ptr< const GroundCollapseController > GroundCollapseControllerConstRef
 
typedef agx::observer_ptr< GroundCollapseController > GroundCollapseControllerObserver
 
typedef agx::ref_ptr< GroundCollapseController > GroundCollapseControllerRef
 
typedef agx::observer_ptr< const GroundCollapseResult > GroundCollapseResultConstObserver
 
typedef agx::ref_ptr< const GroundCollapseResult > GroundCollapseResultConstRef
 
typedef agx::observer_ptr< GroundCollapseResult > GroundCollapseResultObserver
 
using GroundCollapseResultRef = agx::ref_ptr< GroundCollapseResult >
 
using LoadPointVector = agx::VectorPOD< LoadPoint >
 
using SubStepResultVector = agx::Vector< SubStepResult >
 

Functions

AGXTERRAIN_EXPORT void collapseSurfaceToGranular (agxTerrain::Terrain *terrain, const FailureSurface *failureSurface)
 
AGXTERRAIN_EXPORT FailureSurfaceAggregate * constructSoilAggregate (const agx::Name &name, GroundCollapse::FailureSurface *failureSurface, const agxTerrain::Terrain *terrain)
 
AGXTERRAIN_EXPORT agx::AffineMatrix4x4 constructSurfaceLocalTransform (const agxTerrain::Terrain *terrain, const GroundCollapse::FailureSurface *failureSurface)
 
void AGXTERRAIN_EXPORT debugRenderAggregateBorderVoxels (const agxTerrain::Terrain *terrain, const GroundCollapse::FailureSurfaceAggregate *aggregate)
 
void AGXTERRAIN_EXPORT debugRenderAggregateMassVoxels (const agxTerrain::Terrain *terrain, const GroundCollapse::FailureSurfaceAggregate *aggregate)
 
void AGXTERRAIN_EXPORT debugRenderContactPartitioning (const agxTerrain::Terrain *terrain, const GroundCollapse::FailureSurface *surface, const GroundCollapse::LoadPointVector &loadPoints, agx::UInt colorIndex)
 
void AGXTERRAIN_EXPORT debugRenderContacts (const GroundCollapse::ContactResultVector &points, agx::Real size, bool colorAccordingToFailure)
 
void AGXTERRAIN_EXPORT debugRenderFailureSurface (const agxTerrain::Terrain *terrain, const GroundCollapse::FailureSurface *surface, agx::Real size, const agxRender::Color &color)
 
void AGXTERRAIN_EXPORT debugRenderFailureSurfacePoints (const agxTerrain::Terrain *terrain, const GroundCollapse::FailureSurface *surface)
 
agxRender::Color AGXTERRAIN_EXPORT interpolateColor (agx::Real scalar)
 
void AGXTERRAIN_EXPORT render2DCircle (const agx::Vec3 &midpoint, agx::Real radius, const agx::Quat &rotation, agx::UInt numPoints, const agxRender::Color &color, agx::Real size=0.1)
 
void AGXTERRAIN_EXPORT renderSlopeData (SlopeUtils::SlopeData &slope, agx::Real size)
 

Typedef Documentation

◆ CollapseRenderSettingsConstObserver

◆ CollapseRenderSettingsConstRef

◆ CollapseRenderSettingsObserver

◆ CollapseRenderSettingsRef

◆ CollapseSettingsConstObserver

◆ CollapseSettingsConstRef

◆ CollapseSettingsObserver

◆ CollapseSettingsRef

◆ ContactDataVector

◆ ContactResultVector

◆ FailureSurfaceAggregateConstObserver

◆ FailureSurfaceAggregateConstRef

◆ FailureSurfaceAggregateObserver

◆ FailureSurfaceAggregateObserverVector

◆ FailureSurfaceAggregatePtrVector

◆ FailureSurfaceAggregateRef

◆ FailureSurfaceAggregateRefVector

◆ FailureSurfaceConstObserver

◆ FailureSurfaceConstRef

◆ FailureSurfaceObserver

◆ FailureSurfaceObserverVector

◆ FailureSurfacePtrVector

◆ FailureSurfaceRef

◆ FailureSurfaceRefVector

◆ FailureSurfaceResultVector

◆ GroundCollapseControllerConstObserver

◆ GroundCollapseControllerConstRef

◆ GroundCollapseControllerObserver

◆ GroundCollapseControllerRef

◆ GroundCollapseResultConstObserver

◆ GroundCollapseResultConstRef

◆ GroundCollapseResultObserver

◆ GroundCollapseResultRef

◆ LoadPointVector

◆ SubStepResultVector

Function Documentation

◆ collapseSurfaceToGranular()

AGXTERRAIN_EXPORT void agxTerrain::GroundCollapse::collapseSurfaceToGranular ( agxTerrain::Terrain *  terrain,
const FailureSurface *  failureSurface 
)

◆ constructSoilAggregate()

AGXTERRAIN_EXPORT FailureSurfaceAggregate * agxTerrain::GroundCollapse::constructSoilAggregate ( const agx::Name &  name,
GroundCollapse::FailureSurface *  failureSurface,
const agxTerrain::Terrain *  terrain 
)

◆ constructSurfaceLocalTransform()

AGXTERRAIN_EXPORT agx::AffineMatrix4x4 agxTerrain::GroundCollapse::constructSurfaceLocalTransform ( const agxTerrain::Terrain *  terrain,
const GroundCollapse::FailureSurface *  failureSurface 
)

◆ debugRenderAggregateBorderVoxels()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::debugRenderAggregateBorderVoxels ( const agxTerrain::Terrain *  terrain,
const GroundCollapse::FailureSurfaceAggregate *  aggregate 
)

◆ debugRenderAggregateMassVoxels()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::debugRenderAggregateMassVoxels ( const agxTerrain::Terrain *  terrain,
const GroundCollapse::FailureSurfaceAggregate *  aggregate 
)

◆ debugRenderContactPartitioning()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::debugRenderContactPartitioning ( const agxTerrain::Terrain *  terrain,
const GroundCollapse::FailureSurface *  surface,
const GroundCollapse::LoadPointVector &  loadPoints,
agx::UInt  colorIndex 
)

◆ debugRenderContacts()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::debugRenderContacts ( const GroundCollapse::ContactResultVector &  points,
agx::Real  size,
bool  colorAccordingToFailure 
)

◆ debugRenderFailureSurface()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::debugRenderFailureSurface ( const agxTerrain::Terrain *  terrain,
const GroundCollapse::FailureSurface *  surface,
agx::Real  size,
const agxRender::Color &  color 
)

◆ debugRenderFailureSurfacePoints()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::debugRenderFailureSurfacePoints ( const agxTerrain::Terrain *  terrain,
const GroundCollapse::FailureSurface *  surface 
)

◆ interpolateColor()

agxRender::Color AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::interpolateColor ( agx::Real  scalar)

◆ render2DCircle()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::render2DCircle ( const agx::Vec3 &  midpoint,
agx::Real  radius,
const agx::Quat &  rotation,
agx::UInt  numPoints,
const agxRender::Color &  color,
agx::Real  size = 0.1 
)

◆ renderSlopeData()

void AGXTERRAIN_EXPORT agxTerrain::GroundCollapse::renderSlopeData ( SlopeUtils::SlopeData &  slope,
agx::Real  size 
)