#include <TerrainParticles.h>
- Deprecated:
- This class is deprecated and will be removed in a future version of AGX.
- See also
- agxTerrain::Terrain Class to handle terrain digged up particles.
Definition at line 53 of file TerrainParticles.h.
◆ SoilType
Enum for type of soil.
| Enumerator |
|---|
| PARTICLE | |
| PARTICLE_SYSTEM_PARTICLE | |
| CONVEX_BODY | |
Definition at line 61 of file TerrainParticles.h.
◆ ParticleAttributes()
| agxModel::ParticleAttributes::ParticleAttributes |
( |
| ) |
|
◆ create() [1/2]
◆ create() [2/2]
◆ getAdhesiveOverlap()
| agx::Real agxModel::ParticleAttributes::getAdhesiveOverlap |
( |
| ) |
const |
- Returns
- the adhesive overlap used for the material of the soil particles.
◆ getClassName()
| const char* agxModel::ParticleAttributes::getClassName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getConstructClassId()
| static const char* agxModel::ParticleAttributes::getConstructClassId |
( |
| ) |
|
|
inlinestatic |
◆ getCoreRadius()
| agx::Real agxModel::ParticleAttributes::getCoreRadius |
( |
| ) |
const |
- Returns
- the core radius of soil particles (outer radius minus the adhesion).
◆ getMergeVelocity2()
| agx::Real agxModel::ParticleAttributes::getMergeVelocity2 |
( |
| ) |
const |
- Returns
- the square of the merge velocity..
◆ getParticleUniqueId()
| agx::UInt32 agxModel::ParticleAttributes::getParticleUniqueId |
( |
| ) |
const |
- Returns
- unique particle id for disabling collisions against them (for example).
◆ getParticleYoungsModulusMultiplier()
| agx::Real agxModel::ParticleAttributes::getParticleYoungsModulusMultiplier |
( |
| ) |
const |
- Returns
- how many times stiffer the particles should be than the actual Young's modulus for a material.
◆ getRadius()
| agx::Real agxModel::ParticleAttributes::getRadius |
( |
| ) |
const |
- Returns
- the outer radius for the soil particles.
◆ getRadiusIsDirty()
| bool agxModel::ParticleAttributes::getRadiusIsDirty |
( |
| ) |
const |
- Returns
- true if the radius has been changed.
◆ getStorageAgent()
| agxStream::StorageAgent* agxModel::ParticleAttributes::getStorageAgent |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getType()
| SoilType agxModel::ParticleAttributes::getType |
( |
| ) |
|
◆ getVolume()
| agx::Real agxModel::ParticleAttributes::getVolume |
( |
| ) |
const |
- Returns
- the volume a soil particle will represent.
◆ restore()
◆ setCoreRadius()
| void agxModel::ParticleAttributes::setCoreRadius |
( |
agx::Real |
coreRadius | ) |
|
Set the particle core radius.
Changing the core radius will effect the dynamics of the SoilParticles. User could set core radius explicitly for wanted particle behavior. The possible adhesion overlap distance will change.
◆ setMergeVelocity()
| void agxModel::ParticleAttributes::setMergeVelocity |
( |
agx::Real |
velocity | ) |
|
Set the merge velocity for soil particles.
I.e the minimum speed of particles before they can be merged with the terrain.
◆ setParticleUniqueId()
| void agxModel::ParticleAttributes::setParticleUniqueId |
( |
agx::UInt32 |
uniqueParticleId | ) |
|
Set unique Id for soil particles.
To make it possible to disable against other groups.
◆ setParticleYoungsModulusMultiplier()
| void agxModel::ParticleAttributes::setParticleYoungsModulusMultiplier |
( |
agx::Real |
multiplier | ) |
|
Set how much stiffer the particle Young's modulus to be than the terrain material.
The terrain material is usually very soft, and if the particle contacts are solved iteratively that will make them behave even softer.
◆ setRadius()
| void agxModel::ParticleAttributes::setRadius |
( |
agx::Real |
radius | ) |
|
Set the soil particle radius.
The radius is controlled by agxModel::Terrain through agxModel::TerrainDataInterface. The spheres are conformed in an FCC lattice (terrain fixes this). The core radius should be set so that when introduced particles are mathematically just touching. The radius can be set to a value leq to the height field vertex distance.
◆ setType()
| void agxModel::ParticleAttributes::setType |
( |
SoilType |
soilType | ) |
|
Set the type of soil to be created when it's time to create particles.
◆ store()
The documentation for this class was generated from the following file: