138 void setHalfExtents(const
agx::
Vec3& halfExtents);
#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...
#define AGX_DECLARE_VECTOR_TYPES(type)
A CableSegment represents a single link of a cable.
bool add(agxCable::SegmentAttachment *attachment)
Attach this cable segment to a RigidBody using the given attachment.
bool giveAttachmentsTo(CableSegment *other)
Transfer all attachments added to this cable segment to the given segment.
agx::Real getStretchTension()
The translational force of the constraint linking this segment to the previous one.
const agxCable::SegmentAttachmentRefVector & getAttachments() const
CableSegment(const agx::AffineMatrix4x4 &transform)
Create a cable segment with its begin position at the given placement.
agxCable::Cable * getCable() const
agx::Real getBendTension()
The bend rotational force of the constraint linking this segment to the previous one.
agx::Real getTwistTension()
The twist rotational force of the constraint linking this segment to the previous one.
agxCollide::Geometry * getGeometry() const
Get the collision geometry for this segment.
A model of a cable using a lumped elements model.
The geometry representation used by the collision detection engine.
Segment object in a linked structure.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Contain classes for 6 DOF lumped element cables/wires/ropes.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.