 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
17 #ifndef AGXMODEL_DEFORMABLE_MINE_FACE_H
18 #define AGXMODEL_DEFORMABLE_MINE_FACE_H
59 void resetDeformedVolume();
65 void resetDeepestDepthReached();
68 void setMinDeformableIndices(
size_t x,
size_t y);
71 void setMaxDeformableIndices(
size_t x,
size_t y);
87 void deformHeightFieldFromGeometry(
agxCollide::Geometry* geometry,
bool recordDeformStats=
true );
101 bool getConvexHullFromRemovedVolume(
agx::Vec3Vector& convexHull )
const;
119 void addForbiddenIndex(
size_t x,
size_t y );
129 void clearForbiddenIndices();
138 bool recordDeformStats );
140 bool isAllowedIndex(
size_t x,
size_t y )
const;
242 agx::Real getSummedUpDeformedVolume()
const;
249 void setSwellFactor(
agx::Real swellFactor);
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
Derive from this class to implement a listener for simulation step events.
agx::Real m_summedUpDeformedVolume
friend class DistributionTable
agx::Physics::GranularBodySystemRef m_system
A HeightField is a collision shape that can be created from a grid structure, like an image.
agx::ref_ptr< DeformableMineFace > DeformableMineFaceRef
DeformableParticleCreator is a class used to generate granular material given the deformed volume in ...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGX_DECLARE_VECTOR_TYPES(type)
agx::ref_ptr< DistributionTable > DistributionTableRef
agxModel::DeformableMineFaceRef m_deformableMineFace
The geometry representation used by the collision detection engine.
agx::Real m_totalCreatedVolume
agx::UInt m_numberOfBodiesCreated
#define AGX_DECLARE_POINTER_TYPES(type)
agx::ParticleEmitter::DistributionTableRef m_table