19 #ifndef SRC_CORE_TG_SPRING_CABLE_H_
20 #define SRC_CORE_TG_SPRING_CABLE_H_
53 tgSpringCable(
const std::vector<tgSpringCableAnchor*>& anchors,
55 double dampingCoefficient,
56 double pretension = 0.0);
68 virtual void step(
double dt) = 0;
128 virtual const std::vector<const tgSpringCableAnchor*>
getAnchors()
const = 0;
172 #endif // SRC_CORE_TG_SPRING_CABLE_H_
virtual const double getCoefD() const
virtual void setRestLength(const double newRestLength)
virtual const double getVelocity() const
const double m_dampingCoefficient
virtual const double getRestLength() const
virtual const double getCoefK() const
tgSpringCable(const std::vector< tgSpringCableAnchor * > &anchors, double coefK, double dampingCoefficient, double pretension=0.0)
virtual const std::vector< const tgSpringCableAnchor * > getAnchors() const =0
virtual const double getTension() const =0
virtual const double getDamping() const
virtual const double getActualLength() const =0
virtual void step(double dt)=0