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);
138 bool recordDeformStats );
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGX_DECLARE_VECTOR_TYPES(type)
The geometry representation used by the collision detection engine.
A HeightField is a collision shape that can be created from a grid structure, like an image.
DeformableParticleCreator is a class used to generate granular material given the deformed volume in ...
agx::Real getSummedUpDeformedVolume() const
Returns the registered summed deformed volume in the deformable mine face registered by the creator.
void setSwellFactor(agx::Real swellFactor)
Set the Swell Factor of the creator.
agx::Real getSwellFactor() const
Get the Swell Factor of the creator.
agx::Physics::GranularBodySystemRef m_system
DeformableParticleCreator(agxModel::DeformableMineFace *mineFace, agx::Physics::GranularBodySystem *system, agx::ParticleEmitter::DistributionTable *table)
Constructor of the DeformableParticleCreator.
agx::Real m_summedUpDeformedVolume
agx::ParticleEmitter::DistributionTableRef m_table
agx::Real m_totalCreatedVolume
agx::UInt m_numberOfBodiesCreated
virtual void preCollide(const agx::TimeStamp &) override
Called each time step.
agxModel::DeformableMineFaceRef m_deformableMineFace
virtual ~DeformableParticleCreator()
agx::Real getTotalCreatedVolume() const
Returns the total volume of the created particles from the deformed volume.
Derive from this class to implement a listener for simulation step events.
friend class DistributionTable
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
agx::ref_ptr< DeformableMineFace > DeformableMineFaceRef
The agx namespace contains the dynamics/math part of the AGX Dynamics API.