43 END_OF_CALLBACKS = 1 << 5
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
Object containing merge-split actions to be processed by the agxSDK::MergeSplitHandler.
Stateless base class for merge and split of interactions.
virtual void onPreStepActions(agxSDK::MergeSplitActionContainer &actions)
Push merge and/or split actions in simulation preStep.
virtual void store(agxStream::OutputArchive &out) const override
Stores internal data.
MergeSplitAlgorithm()
Default constructor.
virtual ~MergeSplitAlgorithm()
Reference counted object, protected destructor.
virtual void onPreStepCompute()
Compute callback in preStep.
virtual void onPostSolveComputeEx(const agxSDK::MergeSplitPostSolveData &postSolveData, const agxSDK::MergedBodyMergeSplitAlgorithm &mergedBodyAlgorithm)
Extended compute callback in postSolve.
agxSDK::MergeSplitHandler * getMergeSplitHandler() const
virtual void onPostSolveCompute(const agxSDK::MergeSplitPostSolveData &postSolveData)
Compute callback in postSolve.
AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(agxSDK::MergeSplitAlgorithm)
virtual void restore(agxStream::InputArchive &in) override
Restores internal data.
virtual void onPostSolveActions(const agxSDK::MergeSplitPostSolveData &postSolveData, agxSDK::MergeSplitActionContainer &actions)
Push merge and/or split actions in simulation postSolve.
Base class for a merge split algorithm handling a set of merged bodies.
Class for writing serialized data in binary format to a stream.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Base class providing referencing counted objects.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.