28 namespace GroundCollapse
299 USE_CUSTOM_CONTACT_MATERIAL = 1 << 0,
300 STOP_AFTER_FIRST_FAILURE = 1 << 1,
301 SHOULD_COLLAPSE_SOIL = 1 << 2,
302 SHOULD_SAVE_SUBSTEP_RESULTS = 1 << 3,
303 ENABLE_PARALLEL_SOLVE = 1 << 4,
304 USE_CUSTOM_SURFACES = 1 << 5,
305 USE_HOLONOMIC_CONTACTS= 1 << 6
307 using Flags = agx::BitState<StateFlags, agx::UInt32>;
325 PointConfiguration m_pointConfiguration;
326 agx::Real m_aggregateLinearAccelerationThreshold;
327 agx::Real m_aggregateContactSurfaceViscosity;
347 SlopeDetectionSettings();
353 inline void setSlopeLineLength(
agx::Real lineLength) { m_slopeLineLength = lineLength; };
358 inline agx::Real getSlopeLineLength() {
return m_slopeLineLength; };
364 inline void setNumSlopePoints(
agx::UInt numSlopePoints) { m_numSlopePoints = numSlopePoints; };
368 inline agx::UInt getNumSlopePoints() {
return m_numSlopePoints; };
374 inline void setNumSlopeRays(
agx::UInt numSlopeRays) { m_numSlopeRays = numSlopeRays; };
379 inline agx::UInt getNumSlopeRays() {
return m_numSlopeRays; };
542 RENDER_SLOPE_DETECTION = 1 << 0,
543 RENDER_STEEPEST_SLOPE_DATA = 1 << 1,
544 RENDER_STEEPEST_SLOPE = 1 << 2,
545 RENDER_SLOPE_START_END_POINT = 1 << 3,
546 RENDER_SURFACE_TERRAIN_INTERSECTION_TEST = 1 << 4,
547 RENDER_ALL_SURFACE_CONTACTS = 1 << 5,
548 RENDER_FAILED_SURFACE_CONTACTS = 1 << 6,
549 COLOR_CONTACTS_FROM_FOS = 1 << 7,
550 RENDER_ALL_SURFACES = 1 << 8,
551 RENDER_FAILED_SURFACES = 1 << 9,
552 RENDER_CRITICAL_SURFACE = 1 << 10,
553 RENDER_SURFACE_POINTS = 1 << 11,
554 RENDER_CONTACT_PARTITIONING = 1 << 12,
555 RENDER_AGGREGATE_MASS_VOXELS = 1 << 13,
556 RENDER_AGGREGATE_BORDER_VOXELS = 1 << 14
558 using Flags = agx::BitState<StateFlags, agx::UInt32>;
568 agx::Real m_renderContactSize;
#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 AGXTERRAIN_EXPORT
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
bool getEnableColorContactsFromFos() const
void setEnableRenderAllSurfaces(bool enable)
bool getEnableRenderSteepestSlopeData() const
void setEnableRenderSlopeDetection(bool enable)
agx::Real getRenderContactSize() const
void setEnableRenderSurfacePoints(bool enable)
agx::BitState< StateFlags, agx::UInt32 > Flags
void setEnableRenderSteepestSlopeData(bool enable)
void setEnableColorContactsFromFos(bool enable)
Enable or disable if contacts should be colored according to their factor of saftey.
void setEnableRenderSurfaceIntersectionTest(bool enable)
void setEnableRenderAllSurfaceContacts(bool enable)
bool getEnableRenderSurfacePoints() const
bool getEnableRenderFailedSurfaces() const
bool getEnableRenderAllSurfaces() const
void setEnableRenderCriticalSurface(bool enable)
bool getEnableRenderAllSurfaceContacts() const
bool getEnableRenderSurfaceIntersectionTest() const
bool getEnableRenderContactPartitioning() const
void setEnableRenderFailedSurfaces(bool enable)
void setRenderContactSize(agx::Real size)
bool getEnableRenderAggregateMassVoxels()
bool getEnableRenderFailedSurfaceContacts() const
void setEnableRenderAggregateBorderVoxels(bool enable)
void setEnableRenderFailedSurfaceContacts(bool enable)
bool getEnableRenderCriticalSurface() const
void setEnableRenderAggregateMassVoxels(bool enable)
bool getEnableRenderAggregateBorderVoxels()
bool getEnableRenderSlopeDetection() const
void setEnableRenderContactPartitioning(bool enable)
agx::UInt getRadiusNumber()
agx::UInt getNumLowerPoints()
void setLinearAccelerationThreshold(agx::Real threshold)
void setRadiusNumber(agx::UInt radiusNumber)
agx::Vec2 getContactShrinkFactor() const
void setNumSimulationSubsteps(agx::UInt numSimulationSubSteps)
bool getEnableParallelSolve() const
agx::Real getLowerPointSpanScaleFactor() const
void setPointConfiguration(const GroundCollapse::PointConfiguration &pointConfiguration)
void setContactShrinkFactor(const agx::Vec2 &contactShrinkFactor)
void setUseCustomFailureSurfaces(bool enable)
agx::FrictionModel::SolveType getSolveType() const
agx::UInt getNumSimulationSubsteps()
agx::Real getLowerPointSpanOffset()
agx::UInt getNumIntersectionPoints()
void setUpperPointSpanOffset(agx::Real offsetFraction)
agx::ContactMaterial * getCustomContactMaterial() const
void setLowerPointSpanScaleFactor(agx::Real scaleFactor)
void setAggregateContactViscosity(agx::Real viscosity)
bool getUseCustomFailureSurfaces() const
bool getUseCustomContactMaterial() const
void setEnableDynamicCollapse(bool enable)
agx::Real getAggregateContactViscosity() const
void setSolveType(agx::FrictionModel::SolveType setSolveType)
agx::Real getLinearAccelerationThreshold() const
void setNumLowerPoints(agx::UInt numLowerPoints)
agx::Real getUpperPointSpanOffset() const
bool getUseHolonomicContacts() const
agx::UInt getNumUpperPoints()
bool getShouldStopAfterFirstFailure() const
void setUseCustomContactMaterial(bool enable)
GroundCollapse::PointConfiguration getPointConfiguration() const
void setCustomContactMaterial(agx::ContactMaterial *cm)
void setLowerPointSpanOffset(agx::Real offset)
void setUseHolonomicContacts(bool enable)
void setNumIntersectionPoints(agx::UInt numIntersectionPoints)
void setSimulationFrequency(agx::Real simulationFrequency)
void setShouldStopAfterFirstFailure(bool shouldStop)
bool getEnableDynamicCollapse() const
void setNumUpperPoints(agx::UInt numUpperPoints)
agx::BitState< StateFlags, agx::UInt32 > Flags
bool getEnableSubStepResults() const
void setEnableSubStepResults(bool enable)
agx::Real getSimulationFrequency()
void setEnableParallelSolve(bool enable)
Base class providing referencing counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.