148 void setEnableShovelTerrainGeometryContacts(
bool enable);
155 void setZeroAggregateVelocity(
bool enable );
160 agx::Bool getSetZeroAggregateVelocity()
const;
184 virtual void onPreCollide();
189 virtual void onPre();
194 virtual void onPost();
199 bool collisionGeometriesAreInsideTerrain()
const;
204 void handleEnableChange();
209 void enable(
bool enabled);
219 bool shovelEnableHasChanged()
const;
224 void clearActiveZoneWedges()
const;
239 void recomputeInnerShape();
246 void setUseCustomFrictionModel(
bool enable);
251 bool getUseCustomFricionModel()
const;
256 virtual void onPostRestore(
Terrain* terrain );
273 SHOVEL_ENABLED = 1 << 1,
274 SET_ZERO_AGGREGATE_VELOCITY = 1 << 2
276 using Flags = agx::BitState<StateFlags, agx::UInt32>;
278 bool getShovelEnabled()
const;
280 void setShovelEnabled(
bool enabled );
282 void setEnable(
bool enabled );
295 bool m_enableCustomFrictionModels;
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes...
#define AGX_DECLARE_POINTER_TYPES(type)
ExcavationMode
Enum for describing the different excavation modes of a shovel: PRIMARY - The primary mode of excavat...
Base class providing referencing counted objects.
#define AGXTERRAIN_EXPORT
The rigid body class, combining a geometric model and a frame of reference.
The object defining a frame of reference and providing transformations operations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
#define AGX_DECLARE_VECTOR_TYPES(type)
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()