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;