25 #include <agxWire/WireSolver/WireSolveData.h> 31 class WireDistanceCompositeConstraint;
40 WireContactDirectSolver();
42 void solveSystem(agxWire::WireDistanceCompositeConstraint* wire,
const agxWire::NodePtrVector& allNodes,
const ContactNodePtrVector& contactNodes,
agx::RealVector& newNodeVelocities,
45 void solveSystemKinematic(ContactNodePtrVector& contactNodes,
agx::RealVector& newNodeVelocities, WireDistanceCompositeConstraint* ldcc,
const agx::Real h);
48 bool doKinematicMove(WireDistanceCompositeConstraint* ldcc, ShapeContactNode* cln,
agx::Real maxLengthDifference,
bool ignoreFrictionAndMaxmovement =
false,
agx::Vec3 newShapePosition =
agx::Vec3(0, 0, 0));
50 ~WireContactDirectSolver();
57 agx::RealValarrayPOD segmentLengths;
59 agx::RealValarrayPOD wireTensions;
60 agx::RealValarrayPOD gravityForces;
62 agx::RealValarrayPOD masses;
63 agx::RealValarrayPOD forcesAlongEdgeNormals;
64 agx::RealValarrayPOD normalForces;
65 agx::RealValarrayPOD normalForceFromGravity;
66 agx::RealValarrayPOD frictionBounds;
69 SolveData m_solveData;
70 std::shared_ptr<agxWire::WireSolver::WireSimulation> m_solver;
#define AGXPHYSICS_EXPORT
Base class providing referencing counted objects.
Implements a Wire model with adaptive resolution.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()