AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxWire::WireNodeTensionData Struct Reference

Structure containing relevant tension data for a node. More...

#include <WireTensionData.h>

Public Member Functions

 WireNodeTensionData ()
 Default constructor - all values default. More...
 
 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 segment). More...
 
agx::Real getAverageRaw () const
 
agx::Real getAverageSmoothed () const
 
agx::Real getRaw () const
 
agx::Real getSmoothed () const
 

Public Attributes

WireSegmentTensionData next
 Segment after node (this node is begin node to that segment) tension data. More...
 
WireSegmentTensionData prev
 Segment before node (this node is end node to that segment) tension data. More...
 

Detailed Description

Structure containing relevant tension data for a node.

A node is connected to two wire segments, one defined to be before (prev), the other after (next).

Definition at line 40 of file WireTensionData.h.

Constructor & Destructor Documentation

agxWire::WireNodeTensionData::WireNodeTensionData ( )

Default constructor - all values default.

agxWire::WireNodeTensionData::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 segment).

Member Function Documentation

agx::Real agxWire::WireNodeTensionData::getAverageRaw ( ) const
Returns
the average raw tension value over prev and next segments
agx::Real agxWire::WireNodeTensionData::getAverageSmoothed ( ) const
Returns
the average smoothed tension value over prev and next segments
agx::Real agxWire::WireNodeTensionData::getRaw ( ) const
Returns
the raw tension value from previous segment (by definition the end node on a segment carries the tension value)
agx::Real agxWire::WireNodeTensionData::getSmoothed ( ) const
Returns
the smoothed tension value from previous segment (by definition the end node on a segment carries the tension value)

Member Data Documentation

WireSegmentTensionData agxWire::WireNodeTensionData::next

Segment after node (this node is begin node to that segment) tension data.

Definition at line 73 of file WireTensionData.h.

WireSegmentTensionData agxWire::WireNodeTensionData::prev

Segment before node (this node is end node to that segment) tension data.

Definition at line 72 of file WireTensionData.h.


The documentation for this struct was generated from the following file: