50 WireNodeTensionData(
const agxWire::Node::Tension* currNodeTension,
const agxWire::Node::Tension* nextNodeTension );
85 : raw( rawTension ), smoothed( smoothedTension )
90 : raw( tension != nullptr ? tension->raw :
agx::
Real( 0 ) ), smoothed( tension != nullptr ? tension->smoothed :
agx::
Real( 0 ) )
100 : prev( currNodeTension ), next( nextNodeTension )
#define AGXPHYSICS_EXPORT
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Implements a Wire model with adaptive resolution.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Structure containing relevant tension data for a node.
WireNodeTensionData()
Default constructor - all values default.
WireNodeTensionData(const agxWire::Node::Tension *currNodeTension, const agxWire::Node::Tension *nextNodeTension)
Construct given node tension data for current node (for prev segment) and next node in (for next segm...
agx::Real getSmoothed() const
WireSegmentTensionData next
Segment after node (this node is begin node to that segment) tension data.
agx::Real getAverageRaw() const
agx::Real getAverageSmoothed() const
WireSegmentTensionData prev
Segment before node (this node is end node to that segment) tension data.
Structure containing relevant tension data for a wire element/segment.
agx::Real smoothed
Smoothed tension value given the current smoothing filter.
WireSegmentTensionData(const agxWire::Node::Tension *tension)
WireSegmentTensionData(agx::Real rawTension, agx::Real smoothedTension)
agx::Real raw
Raw tension value.