33 class TerrainDataAtlas;
85 void setStressMethod(StressCalculationMethod stressMethod);
90 StressCalculationMethod getStressMethod()
const;
95 void setCompactionMethod(CompactionMethod compactionMethod);
100 CompactionMethod getCompactionMethod()
const;
134 void updateCompactionFromTerrainContacts(const TerrainContactRefVector& contacts);
137 void handleCompactionFromTerrainContactsUniformDisk(const TerrainContactRefVector& contacts);
140 agx::
Bool compactColumnWithPointForcesUniformDiskLoad(
141 const agx::
Vec2i& voxelXY, agx::
Real surfaceStress, agx::
Real loadRadius, agx::
Real currentContactTime);
144 void handleCompactionFromTerrainContactsBoussinesq(const TerrainContactRefVector& contacts);
147 agx::
Bool compactColumnWithPointForces(const agx::
Vec2i& voxelXY,
149 agx::
Real surfaceStress,
150 bool voxelSurfacecIsInContactArea,
153 agx::
Real currentContactTime);
156 bool doCompactionInVoxel(const agx::
Vec3i& voxelIndex, agx::
Real compactionStress, agx::
Real timeFactor);
159 agx::
Real calculateTotalSubSoilStress(const agx::
Vec3& voxelPoint,
160 bool voxelSurfacecIsInContactArea,
163 void debugRenderStressInNode(const agx::
Vec3& position, agx::
Real stress) const;
172 agx::HashSet<agx::
Vec2i> m_compressedTerrainIndices;
#define AGXTERRAIN_STORE_RESTORE_INTERFACE
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
agx::HashTable< agx::Vec3i, agx::Real > VoxelStressTable
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
agx::HashTable< agxCollide::Geometry *, agx::Real > GeometryContactTimeTable
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
Class that handles and sanity checks the mass logic in the terrain.
Controller that handles compaction in the terrain from generated terrain contacts in TerrainContactGe...
#define AGXTERRAIN_EXPORT
AGX_DECLARE_VECTOR_TYPES(ActiveZone)
Inheritance with partial specialization due to bug with ref_ptr containers.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()