33 class SimulationProxy;
39 class WireAttachmentController;
40 class WireMaterialController;
41 class WireFrictionController;
42 class WireSimplifyController;
43 class WireDistanceCompositeConstraintImplementation;
44 class WirePropertyController;
52 ConstraintRenderer() : m_enable( true ) {}
54 inline bool getEnable()
const {
return m_enable; }
55 inline void setEnable(
bool enable ) { m_enable = enable; }
58 virtual ~ConstraintRenderer() {}
76 virtual void postReverse() {}
78 virtual void preSolve() {}
79 virtual void postSolve() {}
82 virtual ~WireListener() {}
116 WireDistanceCompositeConstraint( agxWire::WirePropertyController* propertyController, agxWire::WireDistanceCompositeConstraintImplementation* implementation =
nullptr );
121 agxWire::WirePropertyController* getPropertyController()
const;
174 bool merge( agxWire::WireDistanceCompositeConstraint* other );
183 agxWire::WireDistanceCompositeConstraint* cut( CutArgs args );
208 bool detach(
bool begin );
221 void updateDamping();
227 void add( ConstraintRenderer* renderer );
233 void remove( ConstraintRenderer* renderer );
239 void add( WireListener* lumpListener );
245 void remove( WireListener* lumpListener );
253 BodyFixedNode* getNewLumpedNode(
bool particle =
true );
260 void removeLumpedNodeBody( BodyFixedNode* bfn );
350 bool getGeometryListEmpty()
const;
492 void setBeginAttachment( agxWire::WireAttachmentController* beginAttachment );
498 void setEndAttachment( agxWire::WireAttachmentController* endAttachment );
504 const agxWire::WireAttachmentController* getBeginAttachment()
const;
510 const agxWire::WireAttachmentController* getEndAttachment()
const;
531 void setCompliancePerUnitLength(
agx::Real compliancePerUnitLength );
572 void setEnableSplitting(
bool splitting );
577 bool getEnableSplitting();
601 void changeLengthGivenRestLength(
const agx::Real deltaRestLength,
const bool atBegin );
609 void changeLengthGivenCurrentLength(
const agx::Real deltaCurrentLength,
const bool atBegin );
680 void transformNodes();
696 void setMaterialController( agxWire::WireMaterialController* materialController );
701 agxWire::WireMaterialController* getMaterialController()
const;
706 void setFrictionController( agxWire::WireFrictionController* frictionController );
711 agxWire::WireFrictionController* getFrictionController()
const;
716 void setSimplifyController( agxWire::WireSimplifyController* simplifyController );
721 agxWire::WireSimplifyController* getSimplifyController()
const;
726 virtual int getNumDOF()
const override;
742 void aboutToDeleteAttachmentConstraint(
const agx::Constraint* constraint );
767 virtual ~WireDistanceCompositeConstraint();
772 class WireDistanceCompositeConstraintImplementation* m_implementation;
Connecting nodes contains two nodes, one at center of mass and the other at the user defined position...
#define AGXPHYSICS_EXPORT
Structure containing relevant tension data for a wire element/segment.
The base class for a constraint.
NodeContainer::reverse_iterator NodeReverseIterator
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc...
Structure containing relevant tension data for a node.
Base class providing referencing counted objects.
The geometry representation used by the collision detection engine.
The body fixed node is attached to a body at a given offset.
Implements a Wire model with adaptive resolution.
NodeContainer::const_reverse_iterator NodeConstReverseIterator
Smart pointer for handling referenced counted objects.
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
The rigid body class, combining a geometric model and a frame of reference.
Class defining a node that is part of a wire.
Interface class used by internal objects running in parallel.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()