AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
SegmentDamageState.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx 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#include <cstddef>
25#include <iosfwd>
26
27
28namespace agxCable
29{
30 class CableDamageStateFilter;
31}
32
33namespace agxCable
34{
35 class SegmentDamageState;
37
103
104
105 AGXCABLE_EXPORT std::ostream& operator<<(std::ostream& stream, const SegmentDamageState& damage);
106}
#define AGXCABLE_EXPORT
A bit set used by the cable damage framework to control which parts of the cable damage input that a ...
A SegmenDamageState instance records a collection of states computed from a cable for later use by a ...
agx::Real twistRate() const
agx::Real stretchTension() const
agx::Real frictionForce() const
agx::Real normalForce() const
agx::Real tension() const
agx::Real bendRate() const
SegmentDamageState & operator+=(const SegmentDamageState &rhs)
agx::Real & tangentialImpactSpeed()
agx::Real impactSpeed() const
agx::Real & operator[](size_t i)
agx::Real bendTension() const
agx::Real stretchRate() const
agx::Real contact() const
agx::Real twistTension() const
bool isValid(const CableDamageStateFilter &filter) const
Check if this SegmenDamageState has computed all states indicated by the given filter.
SegmentDamageState()
Create a SegmentDamageState with all states set to NaN.
agx::Real normalImpactSpeed() const
agx::Real stretch() const
agx::Real operator[](size_t i) const
agx::Real tangentialImpactSpeed() const
Contain classes for 6 DOF lumped element cables/wires/ropes.
AGXCABLE_EXPORT std::ostream & operator<<(std::ostream &stream, const SegmentDamageState &damage)
double Real
Definition Real.h:42