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;
#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Interface class used by internal objects running in parallel.
The body fixed node is attached to a body at a given offset.
Connecting nodes contains two nodes, one at center of mass and the other at the user defined position...
Class defining a node that is part of a wire.
The base class for a constraint.
Base class providing referencing counted objects.
The rigid body class, combining a geometric model and a frame of reference.
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Implements a Wire model with adaptive resolution.
NodeContainer::const_reverse_iterator NodeConstReverseIterator
NodeContainer::reverse_iterator NodeReverseIterator
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
Structure containing relevant tension data for a node.
Structure containing relevant tension data for a wire element/segment.