38 MERGE_TENSION_SCALE = NUM_MERGE_THRESHOLDS,
43 FORCE_PROPAGATION_DECAY_SCALE,
88 agx::Real getForcePropagationDecayScale()
const;
#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 AGXPHYSICS_EXPORT
Base class for thresholds/constants/values used in agxSDK::MergeSplitAlgorithm.
agx::Real get(const agx::UInt index) const
Specific thresholds used to split and merge objects given wires.
virtual void restoreLightData(agxStream::StorageStream &str) override
Restoring data from stream.
agx::Real getMergeTensionScale() const
WireMergeSplitThresholds()
Default constructor, all thresholds will be set to default.
void setForcePropagationDecayScale(agx::Real forcePropagationDecayScale)
When external forces are acting on a partially merged wire, the force will propagate and split severa...
agx::Real getForcePropagationDecayScale() const
virtual void storeLightData(agxStream::StorageStream &str) const override
Storing data to stream.
@ MERGE_TENSION_SCALE
When a node is merged the tension is stored and monitored to perform split.
@ FORCE_PROPAGATION_DECAY_SCALE
When external forces are acting on a partially merged wire, the force will propagate and split severa...
virtual agx::ICloneableRef clone(agx::ICloneable *child=nullptr) override
Creates and returns a clone of this object.
virtual void resetToDefault() override
Resets all values to default.
void setMergeTensionScale(agx::Real mergeTensionScale)
When a node is merged the tension is stored and monitored to perform split.
virtual ~WireMergeSplitThresholds()
Reference counted object - protected destructor.
Abstract base class for storing/restoring a line/drums with version control.
Interface class for a cloneable reference counted object.
Smart pointer for handling referenced counted objects.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...