35 class TerrainMaterial;
36 class TerrainToolCollection;
132 agx::Vec3 getCuttingDirectionWorld()
const;
182 void setCuttingEdge(
agx::Line cuttingEdge);
187 void setCuttingDirection(
agx::Vec3 cuttingDirection);
197 void setToothMinimumRadius(
agx::Real radius);
202 void setToothMaximumRadius(
agx::Real radius);
212 void setNoMergeExtensionDistance(
agx::Real extensionDistance);
217 void setMinimumSubmergedContactLengthFraction(
agx::Real minimumSubmergedContactLengthFraction);
227 agx::Real getMinimumSubmergedContactLengthFraction()
const;
232 agx::Real getNoMergeExtensionDistance()
const;
238 void setVerticalBladeSoilMergeDistance(
agx::Real verticalSoilBladeMergeDistance);
245 void setSecondarySeparationDeadloadLimit(
agx::Real secondarySeparationLimit );
251 agx::Real getVerticalBladeSoilMergeDistance()
const;
275 void setPenetrationDepthThreshold(
agx::Real depthThreshold);
299 agx::Real getPenetrationDepthThreshold()
const;
305 void setPenetrationForceScaling(
agx::Real penetrationForceScaling);
310 agx::Real getPenetrationForceScaling()
const;
318 void setEnableParticleFreeDeformers(
bool enable);
323 bool getEnableParticleFreeDeformers()
const;
329 void setAlwaysRemoveShovelContacts(
bool enable);
334 bool getAlwaysRemoveShovelContacts()
const;
340 void setMaxPenetrationForce(
agx::Real maxPenetrationForce);
346 agx::Real getMaxPenetrationForce()
const;
352 agx::Real getSecondarySeparationDeadloadLimit()
const;
386 void setBottomContactThreshold(
agx::Real bottomContactThreshold );
392 agx::Real getBottomContactThreshold()
const;
400 void setEnableInnerShapeCreateDynamicMass(
bool enable );
407 bool getEnableInnerShapeCreateDynamicMass()
const;
414 void setEnable(
bool enable);
420 bool getEnable()
const;
445 void setEnable(
bool enable);
451 void setEnableCreateDynamicMass(
bool enable);
457 void setEnableForceFeedback(
bool enable);
462 bool getEnable()
const;
467 bool getEnableForceFeedback()
const;
472 bool getEnableCreateDynamicMass()
const;
483 ENABLE_CREATE_DYNAMIC_MASS = 1 << 1,
484 ENABLE_FORCE_FEEDBACK = 1 << 2,
486 using Flags = agx::BitState<StateFlags, agx::UInt32>;
529 bool isEdgeSubmergedInSolid(
const agx::Line& edge,
const Terrain* terrain)
const;
537 void calculateDeadLoadFraction(
const Terrain* terrain,
541 void setInnerContactArea(
agx::Real contactArea );
543 void setSettingsAreDirty(
bool enable);
545 bool getSettingsAreDirty()
const;
547 agx::Real computeDefaultBottomContactThreshold()
const;
576 REMOVE_SHOVEL_CONTACTS = 1 << 1,
578 INNER_SHAPE_CREATE_DYNAMIC_MASS = 1 << 2,
580 ENABLE_PARTICLE_FREE_DEFORMATION = 1 << 3,
583 using Flags = agx::BitState<StateFlags, agx::UInt32>;
agx::Real m_contactThreshold
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
agx::Real m_secondarySeparationDeadLoadLimit
agx::BitState< StateFlags, agx::UInt32 > Flags
agxCollide namespace consists of a set of classes for handling geometric intersection tests including...
agx::Real m_noMergeExtensionDistance
GLenum GLuint GLenum GLsizei length
ExcavationMode
Enum for describing the different excavation modes of a shovel: PRIMARY - The primary mode of excavat...
Class representing the mathematical concept of a plane, also called a half- space.
agxCollide::GeometryRefVector m_voxelCollisionGeometries
agx::Real m_minimumSubmergedContactLengthFraction
Base class providing referencing counted objects.
agx::Real m_innerContactArea
Class containing the settings for the different ExcavationModes for a shovel.
agx::Vec3 m_cuttingDirection
SoilPenetrationParameters m_soilPenetrationParameters
Vector containing 'raw' data.
std::array< ExcavationSettings, 4 > m_excavationSettings
agx::Real m_toothMaxRadius
AGX_DECLARE_VECTOR_TYPES(Geometry)
#define AGXTERRAIN_EXPORT
The rigid body class, combining a geometric model and a frame of reference.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::Real m_deadLoadFraction
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...
agx::RigidBodyObserver m_shovelBody
agx::Real m_verticalSoilBladeMergeDistance
A HeightField is a collision shape that can be created from a grid structure, like an image...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
AGX_DECLARE_POINTER_TYPES(SpaceListener)
agx::Real m_toothMinRadius