28 class TerrainToolCollection;
30 class TerrainMaterial;
208 void sortParticlesBySeparatingPlane(
Terrain* terrain,
242 inline bool SoilParticleAggregate::isPointAbovePlane(
const agx::Plane& plane,
const agx::Vec3& point)
const
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXTERRAIN_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
The geometry representation used by the collision detection engine.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agxCollide::Geometry * _getWedgeGeometry() const
Internal mutable geometry accessor.
const agx::RigidBody * getInnerBody() const
void onPre(TerrainToolCollection *collection, ActiveZone *activeZone)
void onPost(TerrainToolCollection *collection)
void addNotification(agxSDK::Simulation *simulation, Terrain *terrain)
agx::Real getRigidBodyMassSum() const
agx::Material * getMaterial() const
void setMaterial(agx::Material *material)
Assign material used for the contact between the shovel and this soil particle aggregate (the soil pa...
const agxCollide::Geometry * getWedgeGeometry() const
const SoilParticlePtrVector & getInnerBodyParticles() const
const SoilParticlePtrVector & getWedgeBodyParticles() const
void setLockRotationalCompliance(agx::Real compliance)
Set the compliance of the lock joint in the soil aggregate in rotational degrees of freedom.
void onPreCollide(TerrainToolCollection *collection)
agx::Real getMass() const
void removeNotification(agxSDK::Simulation *simulation, Terrain *terrain)
virtual ~SoilParticleAggregate()
Reference counted object - protected destructor.
const agxCollide::Geometry * getInnerGeometry() const
const agx::LockJoint * getLockJoint() const
SoilParticleAggregate()
Construct given shovel.
void onEnableChange(bool enable)
static agx::Plane transformPlaneToWorld(const agx::Frame *localFrame, const agx::Plane &localPlane)
const agx::RigidBody * getWedgeBody() const
agxCollide::Geometry * _getInnerGeometry() const
Internal mutable geometry accessor.
void setLockTranslationalCompliance(agx::Real compliance)
Set the compliance of the lock joint in the soil aggregate in translational degrees of freedom.
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
The object defining a frame of reference and providing transformations operations.
Constraint that removes all 6 DOF between two bodies, or one body and the world.
Main material class which acts as a holder of a Surface Material and a Bulk material.
Pointer to a entity instance of type Physics.GranularBody.
Class representing the mathematical concept of a plane, also called a half- space.
T signedDistanceToPoint(const agx::Vec3T< T > &point) const
Calculates the distance from the plane to a point.
Base class providing referencing counted objects.
The rigid body class, combining a geometric model and a frame of reference.
Vector containing 'raw' data.
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
agx::Physics::GranularBodyPtrVector SoilParticlePtrVector
agx::Physics::GranularBodyPtr SoilParticlePtr