AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
CableDamageState.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
21#include <agxCable/Cable.h>
22
24
25
26namespace agxCable
27{
28 class SegmentDamageState;
29}
30
31namespace agxCable
32{
116
118}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition Referenced.h:254
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXCABLE_EXPORT
A bit set used by the cable damage framework to control which parts of the cable damage input that a ...
Inspect a cable's current state and compute a SegmentDamageState for each segment.
bool isEnabled(agxCable::DamageStateTypes::StateType damageType) const
Test if the given piece of the SegmentDamageState is part of the set of state that is computed.
agxCable::CableDamageStateFilter getCableDamageStateFilter() const
CableDamageState(agxCable::Cable *cable)
Create a new CableDamageState and register it with the given cable.
void setEnable(agxCable::DamageStateTypes::StateType damageType, bool enable)
Enable or disable computation of a single piece of the SegmentDamageState.
const agxCable::SegmentDamageStateVector & getSegmentDamageData() const
Provides read-only access to the segment damage states.
const agxCable::Cable * getCable() const
agxCable::Cable * getCable()
size_t getNumSegmentDamageStates() const
void setCableDamageStateFilter(agxCable::CableDamageStateFilter filter)
Set the filter used to determine which parts of the SegmentDamageStates that should be computed.
A model of a cable using a lumped elements model.
Definition Cable.h:44
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Base class providing referencing counted objects.
Definition Referenced.h:120
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition macros.h:97
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition macros.h:96
StateType
Listing of all the cable states that CableDamageState can extract for use by cable damage estimation.
Contain classes for 6 DOF lumped element cables/wires/ropes.