29 class WireFrictionConstraintImplementation;
34 WireFrictionController();
41 void updateDirection();
43 void toggleDirection( NodeIterator node );
44 void reset( NodeConstIterator node,
bool useCurrentLength =
false )
const;
52 bool updateRowOfSlidingNodes( NodeIterator begin, NodeIterator end );
60 bool update( NodeIterator node,
agx::Real normalForceMagnitude = 0 );
72 bool createFrictionConstraint(
const NodeIterator firstSlidingNode, NodeIterator& nodeAfterLastSlidingNode, WireFrictionConstraintImplementation* wfci,
agx::Real compliancePerUnitLength,
agx::Real damping );
78 void setEnable(
bool enable );
83 inline bool getEnable()
const
91 void updateFrictionRestlength( NodeConstIterator A, NodeConstIterator B, NodeConstIterator middleLump,
bool remove )
const;
96 void setWire( WireDistanceCompositeConstraint* wire );
101 WireDistanceCompositeConstraint* getWire()
const {
return m_wire; }
106 void initialize( NodeIterator node )
const;
107 agx::Vec3 calculateNormalForce( NodeIterator node )
const;
108 agx::Bool isSlidingNode(Node* node)
const;
#define AGXPHYSICS_EXPORT
The body fixed node is attached to a body at a given offset.
Material definition for a wire node Specifies the friction of a wire for sliding through an EyeNode.
Base class providing referencing counted objects.
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Implements a Wire model with adaptive resolution.