17 #ifndef AGX_SOLVEISLANDSPLITALGORITHM_H
18 #define AGX_SOLVEISLANDSPLITALGORITHM_H
#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
Base class providing referencing counted objects.
The rigid body class, combining a geometric model and a frame of reference.
The rigid body class, combining a geometric model and a frame of reference.
SplitNodeRefVector m_splitInfo
SplitNodeRefVector & getSplitInfo()
virtual void collectSplitInformation(agx::Physics::GraphNodeData *graphNode)=0
virtual bool getUseHighFidelitySplitting() const
size_t m_splitInfectedDistance
How many split nodes surrounding the split node in both directions can NOT be split next time step.
virtual void setUseHighFidelitySplitting(bool highFidelity)
bool m_useHighFidelitySplitting
virtual void postSolveCleanup()=0
virtual ~SolveIslandSplitAlgorithm()
void addSplitSeparatorNode(agx::Physics::GraphNodeData *graphNode, SplitNode *splitNode)
void addSplitNode(SplitNode *splitNode)
First and last node must be a no-split-node, and every other node must be a splittable node.
virtual void clearSplitState()=0
virtual ~SplitNodeSeparator()
SplitNodeSeparator(size_t weight, agx::Index index)
virtual void setChoosenToSplit(bool splittable)
bool isSplittable() const
agx::Index getBodyIndex() const
void setWeight(size_t weight)
agx::Vec3 getOldAcceleration() const
agxCollide::Geometry * getFirstGeometry(const agx::Physics::GraphNodeData *graphNode) const
agx::RigidBody * getRigidBody(const agx::Physics::GraphNodeData *graphNode) const
void setIslandIndex(agx::Index)
void setOldAcceleration(agx::Vec3 oldAcc)
virtual void setChoosenToSplit(bool splittable)=0
agx::Index getIslandIndex() const
Smart pointer for handling referenced counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::ref_ptr< SplitNodeSeparator > SplitNodeSeparatorRef
SplitNodeRefVector::iterator SplitNodeIterator
agx::ref_ptr< SplitNode > SplitNodeRef
agx::ref_ptr< SolveIslandSplitAlgorithm > SolveIslandSplitAlgorithmRef
agx::Vector< SplitNodeRef > SplitNodeRefVector