30 namespace GroundCollapse
101 inline GroundCollapse::SlopeDetectionSettings*
getSlopeSettings()
const {
return m_slopeSettings; };
107 inline void setSlopeSettings(GroundCollapse::SlopeDetectionSettings* slopeSettings) { m_slopeSettings = slopeSettings; };
156 Terrain* getTerrain()
const {
return m_terrain; };
167 CollapseSettingsRef m_settings;
168 CollapseRenderSettingsRef m_renderSettings;
169 SlopeDetectionSettingsRef m_slopeSettings;
170 GroundCollapseCalculatorRef m_calculator;
173 FailureSurfaceRefVector m_customSurfaces;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXTERRAIN_STORE_RESTORE_INTERFACE
#define AGXTERRAIN_EXPORT
The geometry representation used by the collision detection engine.
Control ground collapse functionality in the terrain.
void clearCustomSurfaces()
GroundCollapse::GroundCollapseResult * getCollapseResult() const
TerrainContactPtrVector getCollapseContacts()
Get the terrain contacts that will be used in ground collpase calculations.
TerrainContactPtrVector getContactsInGroundCollapseZone()
void clearGroundCollapseZones()
bool addCustomFailureSurface(FailureSurface *customSurface)
GroundCollapse::CollapseSettings * getSettings() const
GroundCollapse::CollapseRenderSettings * getRenderSettings() const
void addGroundCollapseZone(agxCollide::Geometry *zone)
FailureSurfacePtrVector getCustomFailureSurfaces() const
void setSlopeSettings(GroundCollapse::SlopeDetectionSettings *slopeSettings)
void setSettings(GroundCollapse::CollapseSettings *settings)
agxCollide::GeometryPtrVector getGroundCollapseZones()
GroundCollapse::SlopeDetectionSettings * getSlopeSettings() const
void setRenderSettings(GroundCollapse::CollapseRenderSettings *renderSettings)
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
Base class providing referencing counted objects.
Vector containing 'raw' data.
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.