AGX Dynamics  2.35.0.1
SegmentDamage.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
19 #include <agx/Real.h>
20 #include <agx/Vector.h>
21 
23 #include <agxCable/export.h>
24 
25 #include <cstddef>
26 
27 
28 namespace agxCable
29 {
30  class SegmentDamage;
33 
41  {
42  public:
47 
51 
55 
59 
62 
66 
67 
71 
75 
78 
82  agx::Real total() const;
83 
90 
100  agx::Real operator[](size_t index) const;
101  agx::Real& operator[](size_t index);
102 
103  private:
105  };
106 
109 }
#define AGXCABLE_EXPORT
A SegmentDamage instance records damages estimates computed for a single cable segment.
Definition: SegmentDamage.h:41
agx::Real & contactNormalForce()
agx::Real & bendTension()
agx::Real & contactFrictionForce()
agx::Real stretchRate() const
agx::Real & twistRate()
agx::Real stretchDeformation() const
agx::Real bendDeformation() const
agx::Real & twistDeformation()
agx::Real contactFrictionForce() const
agx::Real bendTension() const
agx::Real & stretchRate()
agx::Real twistRate() const
agx::Real bendRate() const
agx::Real & bendDeformation()
agx::Real & twistTension()
agx::Real stretchTension() const
agx::Real twistTension() const
agx::Real operator[](DamageTypes::DamageType type) const
agx::Real twistDeformation() const
SegmentDamage()
Create a SegmentDamage with all damages set to zero.
agx::Real & stretchTension()
agx::Real & operator[](size_t index)
agx::Real total() const
agx::Real contactNormalForce() const
agx::Real operator[](size_t index) const
Access damages based on index instead of type name.
agx::Real & operator[](DamageTypes::DamageType type)
agx::Real & bendRate()
agx::Real & stretchDeformation()
Vector containing 'raw' data.
Definition: agx/Vector.h:246
DamageType
Listing of all the cable damage sources that is used by the cable damage estimation model.
Contain classes for 6 DOF lumped element cables/wires/ropes.
agx::VectorPOD< SegmentDamage * > SegmentDamagePtrVector
Definition: SegmentDamage.h:32
AGXCABLE_EXPORT SegmentDamage & operator+=(SegmentDamage &lhs, const SegmentDamage &rhs)
AGXCABLE_EXPORT SegmentDamage operator+(const SegmentDamage &lhs, const SegmentDamage &rhs)
double Real
Definition: Real.h:42