34 REL_VELOCITIES_BELOW_THRESHOLD = 1 << 0,
35 DRIVER_ACTIVE = 1 << 1,
36 SPLIT_FIRST_DUE_TO_CONSTRAINT_FORCES = 1 << 2,
37 SPLIT_SECOND_DUE_TO_CONSTRAINT_FORCES = 1 << 3,
38 ACTIVE_TOGGLED = 1 << 4,
39 DIFF_ABOVE_THRESHOLD = 1 << 5
#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
virtual void onPostSolveActions(const agxSDK::MergeSplitPostSolveData &postSolveData, agxSDK::MergeSplitActionContainer &actions) override
Push merge and/or split actions in simulation postSolve.
virtual void onPreStepCompute() override
Compute callback in preStep.
virtual void onPreStepActions(agxSDK::MergeSplitActionContainer &actions) override
Push merge and/or split actions in simulation preStep.
ConstraintMergeSplitAlgorithm()
Default constructor.
const PostSolveComputeDataContainer & getPostSolveComputeData() const
virtual void onPostSolveComputeEx(const agxSDK::MergeSplitPostSolveData &postSolveData, const agxSDK::MergedBodyMergeSplitAlgorithm &mergedBodyAlgorithm) override
Extended compute callback in postSolve.
virtual ~ConstraintMergeSplitAlgorithm()
Reference counted object, protected destructor.
agx::BitState< EConstraintState, agx::Int32 > ConstraintState
virtual void onPostSolveCompute(const agxSDK::MergeSplitPostSolveData &postSolveData) override
Compute callback in postSolve.
Object containing merge-split actions to be processed by the agxSDK::MergeSplitHandler.
Stateless base class for merge and split of interactions.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
ConstraintMergedState mergedState
ConstraintState constraintState
agx::RigidBodyPtrVector bodiesToSplit