18 #ifndef AGXCABLE_CABLE_PROPERTIES_H
19 #define AGXCABLE_CABLE_PROPERTIES_H
77 void clearDirtyFlag();
78 void updateBulkProperties(
Cable& cable) const;
81 void restoreFromLinkedCable(
agxStream::InputArchive&
in);
82 void restoreFromDeformable1D(
agxStream::InputArchive&
in);
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Class controlling material properties of one or more cables.
agx::Real getDamping(agxCable::Direction direction) const
void setPoissonsRatio(agx::Real poissonsRatio, agxCable::Direction direction)
void setYoungsModulus(agx::Real youngsModulus, agxCable::Direction direction)
Set Young's modulus of the cable along the given direction.
agx::Real getPoissonsRatio(agxCable::Direction direction) const
void setDamping(agx::Real damping, agxCable::Direction direction)
Set the SPOOK damping of the constraints holding the cable together.
agx::Real getYoungsModulus(agxCable::Direction direction) const
A model of a cable using a lumped elements model.
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.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Contain classes for 6 DOF lumped element cables/wires/ropes.
Direction
The different directions in which a cable can be deformed.
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.