AGXDynamics  2.31.1.0
agxTerrain Namespace Reference

Copyright 2007 - 2018. More...

Namespaces

 Profiler
 
 TerrainContactForceCalculator
 Utility namespace for calculating excavation forces in the terrain.
 

Classes

class  ActiveZone
 
struct  ActiveZoneIntersectionData
 
class  AggregateContactDepthModel
 Class used to calculate the contact depth in the soil aggregate <-> terrain contacts to mimic an elasto-plastic contact model. More...
 
class  AggregateContactGenerator
 
class  AvalancheController
 
class  CompactionController
 Controller that handles compaction in the terrain from generated terrain contacts in TerrainContactGenerator The controller features two methods that calculate stress depth propagation in the terrain soil: BOUSSINESQ - Two part method that calculates the stress field by combining the calculated surface stress and subsoil stress based on the surface contact point loads. More...
 
class  DeformController
 
class  DeformerActiveZone
 
class  DeformerCollection
 
class  Grid
 Pure virtual interface class for the data storage grid classes we have. More...
 
class  PrimaryActiveZone
 
class  ScopeTimer
 
class  Shovel
 
class  ShovelAggregateContactMaterialContainer
 Simple container class for storing and handling explicit contact material for shovel-aggregate contacts, indexed by specified excavation mode. More...
 
class  SoilParticleAggregate
 
struct  SoilParticleStatistics
 
class  SoilPenetrationResistance
 
class  SoilSimulationInterface
 Interface class for accessing data and functions for the internal soil particle simulation used in agxTerrain. More...
 
class  SoilWedge
 
class  Terrain
 A terrain model based a 3D grid model with overlapping height field that can be deformed by interacting shovels objects performing digging motions, converting solid mass to dynamic mass which can be moved. More...
 
class  TerrainCache
 The TerrainCache is used internally by the TerrainPager to provide requested terrain tiles. More...
 
class  TerrainContact
 Class that contains information about a terrain contact between an external object and the terrain geometry. More...
 
class  TerrainContactGenerator
 This class has two main responsibilities: More...
 
class  TerrainDataAtlas
 
class  TerrainDataSource
 Abstract interface for requesting height data for a Terrain tile. More...
 
class  TerrainGridControl
 Interface class for accessing and manipulating the underlying 3D grid data in the terrain using terrain index (x,y) as well as depth index (z). More...
 
class  TerrainMassController
 Class that handles and sanity checks the mass logic in the terrain. More...
 
class  TerrainMaterial
 This class is used to describe the general material properties of the Terrain. More...
 
class  TerrainMaterialLibrary
 Class that is used for interfacing with different TerrainMaterial presets with calibrated bulk and contact properties of different archetypes of soil, such as dirt, gravel and sand. More...
 
class  TerrainMaterialReaderWriter
 Utility class for reading and writing TerrainMaterial objects to JSON format. More...
 
class  TerrainPager
 A pager that will dynamically handle terrain tiles in a agxSDK::Simulation. More...
 
class  TerrainPhysics
 Utility class where most of the physics calculation used in agxTerrain is gathered. More...
 
class  TerrainProperties
 Class for containing and managing the different agxTerrain::Terrain settings. More...
 
class  TerrainRasterizer
 This class performs raycasting against the source geometry to get height data for tiles. More...
 
class  TerrainRenderer
 
struct  TerrainTile
 Struct with data to describe a terrain tile. More...
 
class  TerrainToolCollection
 Collection of terrain tool (currently Shovel) related objects which are terrain instance specific. More...
 
class  TileModification
 TileModifications are used to provide a delta for paged terrain changes. More...
 
class  TileSpecification
 A TileSpecification determines where in the world a 2D TileId is located and contains utility methods for coordinate transforms. More...
 
class  TrajectoryCalculator
 
struct  TrajectorySettings
 

Typedefs

typedef agx::observer_ptr< const ActiveZone > ActiveZoneConstObserver
 
typedef agx::ref_ptr< const ActiveZone > ActiveZoneConstRef
 
typedef agx::observer_ptr< ActiveZone > ActiveZoneObserver
 
typedef agx::ref_ptr< ActiveZone > ActiveZoneRef
 
typedef agx::Vector< MeshIntersectionTestData > ActiveZoneShapes
 
typedef agx::observer_ptr< const AggregateContactGenerator > AggregateContactGeneratorConstObserver
 
typedef agx::ref_ptr< const AggregateContactGenerator > AggregateContactGeneratorConstRef
 
typedef agx::observer_ptr< AggregateContactGenerator > AggregateContactGeneratorObserver
 
typedef agx::ref_ptr< AggregateContactGenerator > AggregateContactGeneratorRef
 
typedef agx::observer_ptr< const AvalancheController > AvalancheControllerConstObserver
 
typedef agx::ref_ptr< const AvalancheController > AvalancheControllerConstRef
 
typedef agx::observer_ptr< AvalancheController > AvalancheControllerObserver
 
typedef agx::ref_ptr< AvalancheController > AvalancheControllerRef
 
typedef agx::observer_ptr< const CompactionController > CompactionControllerConstObserver
 
typedef agx::ref_ptr< const CompactionController > CompactionControllerConstRef
 
typedef agx::observer_ptr< CompactionController > CompactionControllerObserver
 
typedef agx::ref_ptr< CompactionController > CompactionControllerRef
 
typedef agx::observer_ptr< const DeformController > DeformControllerConstObserver
 
typedef agx::ref_ptr< const DeformController > DeformControllerConstRef
 
typedef agx::observer_ptr< DeformController > DeformControllerObserver
 
typedef agx::ref_ptr< DeformController > DeformControllerRef
 
typedef agx::observer_ptr< const DeformerActiveZone > DeformerActiveZoneConstObserver
 
typedef agx::ref_ptr< const DeformerActiveZone > DeformerActiveZoneConstRef
 
typedef agx::observer_ptr< DeformerActiveZone > DeformerActiveZoneObserver
 
typedef agx::ref_ptr< DeformerActiveZone > DeformerActiveZoneRef
 
typedef agx::observer_ptr< const DeformerCollection > DeformerCollectionConstObserver
 
typedef agx::ref_ptr< const DeformerCollection > DeformerCollectionConstRef
 
typedef agx::observer_ptr< DeformerCollection > DeformerCollectionObserver
 
typedef agx::ref_ptr< DeformerCollection > DeformerCollectionRef
 
typedef agx::HashTable< agxCollide::Geometry *, agx::Real > GeometryContactTimeTable
 
typedef agx::HashSet< agxCollide::Geometry * > GeometryHashSet
 
typedef agx::HashVector< agxCollide::Geometry *, agxCollide::LocalGeometryContact > GeometryLocalContactTable
 
typedef agx::observer_ptr< const Grid > GridConstObserver
 
typedef agx::ref_ptr< const Grid > GridConstRef
 
typedef agx::observer_ptr< Grid > GridObserver
 
typedef agx::ref_ptr< Grid > GridRef
 
typedef std::queue< agx::Vec2i > IndexQueue
 
typedef agx::HashTable< agx::Vec3i, ParticleWeightPairVector > IndexToParticleWeightPairVector
 
typedef std::tuple< const agxCollide::Mesh *, agx::AffineMatrix4x4, agxCollide::BoundingAABB > MeshIntersectionTestData
 
typedef std::pair< agxCollide::MeshRef, agx::AffineMatrix4x4 > MeshTransformPair
 
typedef agx::Vector< MeshTransformPair > MeshTransformPairVector
 
typedef agx::VectorPOD< agx::RealVector > modifiedCompactionVector
 
typedef agx::SetVector< agx::Vec2i > ModifiedVerticesSetVector
 
typedef agx::Vector< agx::Vec2i > ModifiedVerticesVector
 
typedef agx::Vector< std::pair< SoilParticlePtr, float > > ParticleDeltaVector
 
typedef std::pair< SoilParticlePtr, agx::Real > ParticleWeightPair
 
typedef agx::Vector< ParticleWeightPair > ParticleWeightPairVector
 
typedef agx::observer_ptr< const PrimaryActiveZone > PrimaryActiveZoneConstObserver
 
typedef agx::ref_ptr< const PrimaryActiveZone > PrimaryActiveZoneConstRef
 
typedef agx::observer_ptr< PrimaryActiveZone > PrimaryActiveZoneObserver
 
typedef agx::ref_ptr< PrimaryActiveZone > PrimaryActiveZoneRef
 
typedef agx::observer_ptr< const ScopeTimer > ScopeTimerConstObserver
 
typedef agx::ref_ptr< const ScopeTimer > ScopeTimerConstRef
 
typedef agx::observer_ptr< ScopeTimer > ScopeTimerObserver
 
typedef agx::ref_ptr< ScopeTimer > ScopeTimerRef
 
typedef agx::observer_ptr< const ShovelAggregateContactMaterialContainer > ShovelAggregateContactMaterialContainerConstObserver
 
typedef agx::ref_ptr< const ShovelAggregateContactMaterialContainer > ShovelAggregateContactMaterialContainerConstRef
 
typedef agx::observer_ptr< ShovelAggregateContactMaterialContainer > ShovelAggregateContactMaterialContainerObserver
 
typedef agx::ref_ptr< ShovelAggregateContactMaterialContainer > ShovelAggregateContactMaterialContainerRef
 
typedef agx::observer_ptr< const Shovel > ShovelConstObserver
 
typedef agx::ref_ptr< const Shovel > ShovelConstRef
 
typedef agx::observer_ptr< Shovel > ShovelObserver
 
typedef agx::ref_ptr< Shovel > ShovelRef
 
typedef agx::observer_ptr< const SoilParticleAggregate > SoilParticleAggregateConstObserver
 
typedef agx::ref_ptr< const SoilParticleAggregate > SoilParticleAggregateConstRef
 
typedef agx::observer_ptr< SoilParticleAggregate > SoilParticleAggregateObserver
 
typedef agx::ref_ptr< SoilParticleAggregate > SoilParticleAggregateRef
 
typedef agx::Physics::GranularBodyPtrArray SoilParticleArray
 
typedef agx::Physics::GranularBodyPtr SoilParticlePtr
 
typedef agx::Physics::GranularBodyPtrVector SoilParticlePtrVector
 
typedef agx::Physics::GranularBodyPtrVector SoilParticleVector
 
typedef agx::observer_ptr< const SoilPenetrationResistance > SoilPenetrationResistanceConstObserver
 
typedef agx::ref_ptr< const SoilPenetrationResistance > SoilPenetrationResistanceConstRef
 
typedef agx::observer_ptr< SoilPenetrationResistance > SoilPenetrationResistanceObserver
 
typedef agx::ref_ptr< SoilPenetrationResistance > SoilPenetrationResistanceRef
 
typedef agx::observer_ptr< const SoilSimulationInterface > SoilSimulationInterfaceConstObserver
 
typedef agx::ref_ptr< const SoilSimulationInterface > SoilSimulationInterfaceConstRef
 
typedef agx::observer_ptr< SoilSimulationInterface > SoilSimulationInterfaceObserver
 
typedef agx::ref_ptr< SoilSimulationInterface > SoilSimulationInterfaceRef
 
typedef agx::Vector< SoilWedge > SoilWedgeVector
 
typedef agx::observer_ptr< const Terrain > TerrainConstObserver
 
typedef agx::ref_ptr< const Terrain > TerrainConstRef
 
typedef agx::observer_ptr< const TerrainContact > TerrainContactConstObserver
 
typedef agx::ref_ptr< const TerrainContact > TerrainContactConstRef
 
typedef agx::observer_ptr< const TerrainContactGenerator > TerrainContactGeneratorConstObserver
 
typedef agx::ref_ptr< const TerrainContactGenerator > TerrainContactGeneratorConstRef
 
typedef agx::observer_ptr< TerrainContactGenerator > TerrainContactGeneratorObserver
 
typedef agx::ref_ptr< TerrainContactGenerator > TerrainContactGeneratorRef
 
typedef agx::observer_ptr< TerrainContact > TerrainContactObserver
 
typedef agx::ref_ptr< TerrainContact > TerrainContactRef
 
typedef agx::observer_ptr< const TerrainDataAtlas > TerrainDataAtlasConstObserver
 
typedef agx::ref_ptr< const TerrainDataAtlas > TerrainDataAtlasConstRef
 
typedef agx::observer_ptr< TerrainDataAtlas > TerrainDataAtlasObserver
 
typedef agx::ref_ptr< TerrainDataAtlas > TerrainDataAtlasRef
 
typedef agx::observer_ptr< const TerrainDataSource > TerrainDataSourceConstObserver
 
typedef agx::ref_ptr< const TerrainDataSource > TerrainDataSourceConstRef
 
typedef agx::observer_ptr< TerrainDataSource > TerrainDataSourceObserver
 
typedef agx::ref_ptr< TerrainDataSource > TerrainDataSourceRef
 
typedef agx::observer_ptr< const TerrainGridControl > TerrainGridControlConstObserver
 
typedef agx::ref_ptr< const TerrainGridControl > TerrainGridControlConstRef
 
typedef agx::observer_ptr< TerrainGridControl > TerrainGridControlObserver
 
typedef agx::ref_ptr< TerrainGridControl > TerrainGridControlRef
 
using TerrainIndexSet = agx::HashSet< agx::Vec2i >
 
typedef agx::HashTable< agx::Vec2i, agx::Real > TerrainIndexToDepthTable
 
typedef agx::observer_ptr< const TerrainMassController > TerrainMassControllerConstObserver
 
typedef agx::ref_ptr< const TerrainMassController > TerrainMassControllerConstRef
 
typedef agx::observer_ptr< TerrainMassController > TerrainMassControllerObserver
 
typedef agx::ref_ptr< TerrainMassController > TerrainMassControllerRef
 
typedef agx::observer_ptr< const TerrainMaterial > TerrainMaterialConstObserver
 
typedef agx::ref_ptr< const TerrainMaterial > TerrainMaterialConstRef
 
typedef agx::observer_ptr< TerrainMaterial > TerrainMaterialObserver
 
typedef agx::ref_ptr< TerrainMaterial > TerrainMaterialRef
 
typedef agx::observer_ptr< Terrain > TerrainObserver
 
typedef agx::observer_ptr< const TerrainProperties > TerrainPropertiesConstObserver
 
typedef agx::ref_ptr< const TerrainProperties > TerrainPropertiesConstRef
 
typedef agx::observer_ptr< TerrainProperties > TerrainPropertiesObserver
 
typedef agx::ref_ptr< TerrainProperties > TerrainPropertiesRef
 
typedef agx::ref_ptr< Terrain > TerrainRef
 
typedef agx::observer_ptr< const TerrainRenderer > TerrainRendererConstObserver
 
typedef agx::ref_ptr< const TerrainRenderer > TerrainRendererConstRef
 
typedef agx::observer_ptr< TerrainRenderer > TerrainRendererObserver
 
typedef agx::ref_ptr< TerrainRenderer > TerrainRendererRef
 
typedef agx::observer_ptr< const TerrainToolCollection > TerrainToolCollectionConstObserver
 
typedef agx::ref_ptr< const TerrainToolCollection > TerrainToolCollectionConstRef
 
typedef agx::observer_ptr< TerrainToolCollection > TerrainToolCollectionObserver
 
typedef agx::ref_ptr< TerrainToolCollection > TerrainToolCollectionRef
 
typedef agx::Vec2i32 TileId
 A TileId is a 2D-coordinate that specifies where a in grid a tile is located. More...
 
typedef agx::VectorPOD< TileModification > TileModificationVector
 
typedef agx::Vector< std::array< agx::Vec3, 3 > > TriangleVector
 
typedef agx::HashSet< agx::Vec3i > VoxelIndexSet
 
typedef agx::HashTable< agx::Vec3i, agx::Real > VoxelStressTable
 
typedef agx::HashTable< agx::Vec3i, agx::Vec3f > VoxelToVelocityTable
 
using WedgePlaneVector = agx::Vector< std::array< agx::Plane, 3 > >
 

Functions

 AGX_DECLARE_VECTOR_TYPES (TerrainGridControl)
 
 AGX_DECLARE_VECTOR_TYPES (ShovelAggregateContactMaterialContainer)
 
 AGX_DECLARE_VECTOR_TYPES (TerrainToolCollection)
 
 AGX_DECLARE_VECTOR_TYPES (TerrainMassController)
 
 AGX_DECLARE_VECTOR_TYPES (TerrainContact)
 
 AGX_DECLARE_VECTOR_TYPES (SoilParticleAggregate)
 
 AGX_DECLARE_VECTOR_TYPES (CompactionController)
 
 AGX_DECLARE_VECTOR_TYPES (Shovel)
 
 AGX_DECLARE_VECTOR_TYPES (ActiveZone)
 
 AGX_DECLARE_VECTOR_TYPES (TerrainContactGenerator)
 
 AGX_DECLARE_VECTOR_TYPES (Terrain)
 
agx::Vec3 AGXTERRAIN_EXPORT calculateContactReferencePoint (const agx::Vec3Vector &contactPoints)
 Calculates the reference point that will be used in the contact model from specified contact points. More...
 
agx::Real AGXTERRAIN_EXPORT estimateMaximumAggregateForce (const TerrainToolCollection *collection, agx::Real soilAggregateMass, agx::Real contactArea, agx::Real frictionAngle)
 Estimate the maximum force that can be generated from a soil aggregate in the contact between the aggregate and the terrain. More...
 
AGXTERRAIN_EXPORT agx::Material * findShovelMaterial (agxTerrain::Shovel *shovel)
 Find the agx::Material on the first contact valid contact geometry in the specified shovel. More...
 
AGXTERRAIN_EXPORT agxCollide::Geometry * getFirstContactValidGeometry (const agx::RigidBody *shovelBody)
 Get first contact valid geometry in the shovel rigid body for contact. More...
 
AGXTERRAIN_EXPORT bool isValidContactGeometry (agxCollide::Geometry *geometry)
 Checks if the specified geometry is valid for creating aggregate contacts against. More...
 
AGXTERRAIN_EXPORT void setShovelAggregateContactMaterialProperties (agx::ContactMaterial *shovelAggregateCM, agx::Real contactArea, const agx::ContactMaterial *sourceMaterial, const TerrainMaterial *terrainMaterial)
 Set the shovel-aggregate contact material properties from a source contact material that should either be the regular shovel-terrain contact material or a user-specified contact material for a given excavation mode. More...
 
AGXTERRAIN_EXPORT bool setupShovelAggregateContactMaterial (agx::ContactMaterial *shovelAggregateCM, agx::Real contactArea, Shovel::ExcavationMode mode, TerrainToolCollection *collection)
 Configure the contact material that is to be used in shovel-aggregate contacts. More...
 

Detailed Description

Copyright 2007 - 2018.

Algoryx Simulation AB.

All AGX source code, intellectual property, documentation, sample code, tutorials, scene files and technical white papers, are copyrighted, proprietary and confidential material of Algoryx Simulation AB.You may not download, read, store, distribute, publish, copy or otherwise disseminate, use or expose this material unless having a written signed agreement with Algoryx Simulation AB, or having been advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a valid commercial license from Algoryx Simulation AB.

Algoryx Simulation AB disclaims all responsibilities for loss or damage caused from using this software, unless otherwise stated in written agreements with Algoryx Simulation AB.

Typedef Documentation

◆ ActiveZoneConstObserver

Definition at line 49 of file ActiveZone.h.

◆ ActiveZoneConstRef

Definition at line 49 of file ActiveZone.h.

◆ ActiveZoneObserver

◆ ActiveZoneRef

Definition at line 49 of file ActiveZone.h.

◆ ActiveZoneShapes

◆ AggregateContactGeneratorConstObserver

◆ AggregateContactGeneratorConstRef

◆ AggregateContactGeneratorObserver

◆ AggregateContactGeneratorRef

◆ AvalancheControllerConstObserver

◆ AvalancheControllerConstRef

◆ AvalancheControllerObserver

◆ AvalancheControllerRef

◆ CompactionControllerConstObserver

◆ CompactionControllerConstRef

◆ CompactionControllerObserver

◆ CompactionControllerRef

◆ DeformControllerConstObserver

◆ DeformControllerConstRef

◆ DeformControllerObserver

◆ DeformControllerRef

◆ DeformerActiveZoneConstObserver

◆ DeformerActiveZoneConstRef

◆ DeformerActiveZoneObserver

◆ DeformerActiveZoneRef

◆ DeformerCollectionConstObserver

◆ DeformerCollectionConstRef

◆ DeformerCollectionObserver

◆ DeformerCollectionRef

◆ GeometryContactTimeTable

◆ GeometryHashSet

◆ GeometryLocalContactTable

◆ GridConstObserver

Definition at line 42 of file Grid.h.

◆ GridConstRef

Definition at line 42 of file Grid.h.

◆ GridObserver

Definition at line 42 of file Grid.h.

◆ GridRef

Definition at line 42 of file Grid.h.

◆ IndexQueue

typedef std::queue<agx::Vec2i> agxTerrain::IndexQueue

Definition at line 45 of file TerrainContactGenerator.h.

◆ IndexToParticleWeightPairVector

◆ MeshIntersectionTestData

◆ MeshTransformPair

◆ MeshTransformPairVector

◆ modifiedCompactionVector

◆ ModifiedVerticesSetVector

◆ ModifiedVerticesVector

◆ ParticleDeltaVector

Definition at line 59 of file agxTerrain/Terrain.h.

◆ ParticleWeightPair

Definition at line 54 of file agxTerrain/Terrain.h.

◆ ParticleWeightPairVector

◆ PrimaryActiveZoneConstObserver

◆ PrimaryActiveZoneConstRef

◆ PrimaryActiveZoneObserver

◆ PrimaryActiveZoneRef

◆ ScopeTimerConstObserver

◆ ScopeTimerConstRef

Definition at line 44 of file ProfilingTools.h.

◆ ScopeTimerObserver

◆ ScopeTimerRef

Definition at line 44 of file ProfilingTools.h.

◆ ShovelAggregateContactMaterialContainerConstObserver

◆ ShovelAggregateContactMaterialContainerConstRef

◆ ShovelAggregateContactMaterialContainerObserver

◆ ShovelAggregateContactMaterialContainerRef

◆ ShovelConstObserver

Definition at line 48 of file Shovel.h.

◆ ShovelConstRef

Definition at line 48 of file Shovel.h.

◆ ShovelObserver

Definition at line 48 of file Shovel.h.

◆ ShovelRef

Definition at line 48 of file Shovel.h.

◆ SoilParticleAggregateConstObserver

◆ SoilParticleAggregateConstRef

◆ SoilParticleAggregateObserver

◆ SoilParticleAggregateRef

◆ SoilParticleArray

◆ SoilParticlePtr

◆ SoilParticlePtrVector

◆ SoilParticleVector

◆ SoilPenetrationResistanceConstObserver

◆ SoilPenetrationResistanceConstRef

◆ SoilPenetrationResistanceObserver

◆ SoilPenetrationResistanceRef

◆ SoilSimulationInterfaceConstObserver

◆ SoilSimulationInterfaceConstRef

◆ SoilSimulationInterfaceObserver

◆ SoilSimulationInterfaceRef

◆ SoilWedgeVector

Definition at line 127 of file SoilWedge.h.

◆ TerrainConstObserver

◆ TerrainConstRef

Definition at line 62 of file agxTerrain/Terrain.h.

◆ TerrainContactConstObserver

◆ TerrainContactConstRef

◆ TerrainContactGeneratorConstObserver

◆ TerrainContactGeneratorConstRef

◆ TerrainContactGeneratorObserver

◆ TerrainContactGeneratorRef

◆ TerrainContactObserver

◆ TerrainContactRef

◆ TerrainDataAtlasConstObserver

◆ TerrainDataAtlasConstRef

◆ TerrainDataAtlasObserver

◆ TerrainDataAtlasRef

◆ TerrainDataSourceConstObserver

◆ TerrainDataSourceConstRef

◆ TerrainDataSourceObserver

◆ TerrainDataSourceRef

◆ TerrainGridControlConstObserver

◆ TerrainGridControlConstRef

◆ TerrainGridControlObserver

◆ TerrainGridControlRef

◆ TerrainIndexSet

Definition at line 60 of file agxTerrain/Terrain.h.

◆ TerrainIndexToDepthTable

◆ TerrainMassControllerConstObserver

◆ TerrainMassControllerConstRef

◆ TerrainMassControllerObserver

◆ TerrainMassControllerRef

◆ TerrainMaterialConstObserver

◆ TerrainMaterialConstRef

◆ TerrainMaterialObserver

◆ TerrainMaterialRef

◆ TerrainObserver

◆ TerrainPropertiesConstObserver

◆ TerrainPropertiesConstRef

◆ TerrainPropertiesObserver

◆ TerrainPropertiesRef

◆ TerrainRef

Definition at line 62 of file agxTerrain/Terrain.h.

◆ TerrainRendererConstObserver

◆ TerrainRendererConstRef

◆ TerrainRendererObserver

◆ TerrainRendererRef

◆ TerrainToolCollectionConstObserver

◆ TerrainToolCollectionConstRef

◆ TerrainToolCollectionObserver

◆ TerrainToolCollectionRef

◆ TileId

A TileId is a 2D-coordinate that specifies where a in grid a tile is located.

Together with a TileSpecification, a location in world coordinates can be calculated.

Definition at line 40 of file TileSpecification.h.

◆ TileModificationVector

◆ TriangleVector

Definition at line 40 of file Grid.h.

◆ VoxelIndexSet

◆ VoxelStressTable

◆ VoxelToVelocityTable

◆ WedgePlaneVector

using agxTerrain::WedgePlaneVector = typedef agx::Vector<std::array<agx::Plane, 3> >

Definition at line 47 of file ActiveZone.h.

Function Documentation

◆ AGX_DECLARE_VECTOR_TYPES() [1/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( TerrainGridControl  )

◆ AGX_DECLARE_VECTOR_TYPES() [2/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( ShovelAggregateContactMaterialContainer  )

◆ AGX_DECLARE_VECTOR_TYPES() [3/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( TerrainToolCollection  )

◆ AGX_DECLARE_VECTOR_TYPES() [4/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( TerrainMassController  )

◆ AGX_DECLARE_VECTOR_TYPES() [5/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( TerrainContact  )

◆ AGX_DECLARE_VECTOR_TYPES() [6/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( SoilParticleAggregate  )

◆ AGX_DECLARE_VECTOR_TYPES() [7/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( CompactionController  )

◆ AGX_DECLARE_VECTOR_TYPES() [8/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( Shovel  )

◆ AGX_DECLARE_VECTOR_TYPES() [9/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( ActiveZone  )

◆ AGX_DECLARE_VECTOR_TYPES() [10/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( TerrainContactGenerator  )

◆ AGX_DECLARE_VECTOR_TYPES() [11/11]

agxTerrain::AGX_DECLARE_VECTOR_TYPES ( Terrain  )

◆ calculateContactReferencePoint()

agx::Vec3 AGXTERRAIN_EXPORT agxTerrain::calculateContactReferencePoint ( const agx::Vec3Vector &  contactPoints)

Calculates the reference point that will be used in the contact model from specified contact points.

Parameters
contactPoints- The contact points that is used to calculate the reference point used in the contact model
Returns
the reference point to be used in the aggregate contact model

◆ estimateMaximumAggregateForce()

agx::Real AGXTERRAIN_EXPORT agxTerrain::estimateMaximumAggregateForce ( const TerrainToolCollection *  collection,
agx::Real  soilAggregateMass,
agx::Real  contactArea,
agx::Real  frictionAngle 
)

Estimate the maximum force that can be generated from a soil aggregate in the contact between the aggregate and the terrain.

This is based on the Mohr-Coulomb criteria for soil failure.

Parameters
collection- The specified collection.
soilAggregateMass- the mass of the specified soil aggregate in the contact.
contactArea- the contact area in the aggregate <-> terrain contact.
Returns
the estimated maximum force that can be generated in the terrain <-> aggregate contact based on the Mohr-Coulomb condition for soil failure.

◆ findShovelMaterial()

AGXTERRAIN_EXPORT agx::Material* agxTerrain::findShovelMaterial ( agxTerrain::Shovel *  shovel)

Find the agx::Material on the first contact valid contact geometry in the specified shovel.

Parameters
shovel- the specified shovel.
Returns
the agx::Material found on the first contact valid geometry in the specified shovel body. Returns nullptr if no contact valid geometry is found.

◆ getFirstContactValidGeometry()

AGXTERRAIN_EXPORT agxCollide::Geometry* agxTerrain::getFirstContactValidGeometry ( const agx::RigidBody *  shovelBody)

Get first contact valid geometry in the shovel rigid body for contact.

The geometry must be enabled and also not a sensor.

Parameters
shovelBody- The rigid body of the Shovel that will be checked.
Returns
the first valid geometry for aggregate contacts available in the shovel body. If no one exists, return nullptr.

◆ isValidContactGeometry()

AGXTERRAIN_EXPORT bool agxTerrain::isValidContactGeometry ( agxCollide::Geometry *  geometry)

Checks if the specified geometry is valid for creating aggregate contacts against.

Returns
true if the specified geometry can be used for aggregate contacts.

◆ setShovelAggregateContactMaterialProperties()

AGXTERRAIN_EXPORT void agxTerrain::setShovelAggregateContactMaterialProperties ( agx::ContactMaterial *  shovelAggregateCM,
agx::Real  contactArea,
const agx::ContactMaterial *  sourceMaterial,
const TerrainMaterial *  terrainMaterial 
)

Set the shovel-aggregate contact material properties from a source contact material that should either be the regular shovel-terrain contact material or a user-specified contact material for a given excavation mode.

Parameters
shovelAggregateCM- the shovel-aggregate contact material where properties will be set.
contactArea- The area of the shovel-aggregate contact for the specified excavation mode. Used in scaling of Young's modulus.
sourceMaterial- the base material whose properties will be used in the setup.
terrainMaterial- the TerrainMaterial of the active terrain where the shovel-aggregate contact exists.

◆ setupShovelAggregateContactMaterial()

AGXTERRAIN_EXPORT bool agxTerrain::setupShovelAggregateContactMaterial ( agx::ContactMaterial *  shovelAggregateCM,
agx::Real  contactArea,
Shovel::ExcavationMode  mode,
TerrainToolCollection *  collection 
)

Configure the contact material that is to be used in shovel-aggregate contacts.

The contact material properties are set from the contact material between the shovel geometries and the terrain geometry by default. The user can override it by specifying an explicit contact material that is used in the different kinds of excavation modes. See 'setShovelAggregateContactMaterial' in agxTerrain::Terrain.

Parameters
shovelAggregateCM- the shovel-aggregate contact material that should be configured.
contactArea- The area of the shovel-aggregate contact for the specified excavation mode. Used in scaling of Young's modulus.
mode- the excavation mode that is used to search if an explicit contact material has be set for the contact. If so, it is used instead of the shovel-terrain contact material.
collection- The specified collection that has the shovel object in the contact.
Returns
true if the shovelAggregateCM was configured successfully, false otherwise.