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);
agx::Physics::GranularBodySystemRef m_system
Derive from this class to implement a listener for simulation Step events.
friend class DistributionTable
#define AGX_DECLARE_POINTER_TYPES(type)
agx::Real m_summedUpDeformedVolume
The geometry representation used by the collision detection engine.
agxModel::DeformableMineFaceRef m_deformableMineFace
AGX_DECLARE_VECTOR_TYPES(Deformable1DComponent)
agx::ref_ptr< DistributionTable > DistributionTableRef
agx::Real m_totalCreatedVolume
agx::ref_ptr< DeformableMineFace > DeformableMineFaceRef
agx::UInt m_numberOfBodiesCreated
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::ParticleEmitter::DistributionTableRef m_table
DeformableParticleCreator is a class used to generate granular material given the deformed volume in ...
A HeightField is a collision shape that can be created from a grid structure, like an image...