AGX Dynamics  2.37.2.0
agxCable::PointSegmentAttachment Class Reference

#include <Attachment.h>

+ Inheritance diagram for agxCable::PointSegmentAttachment:

Public Member Functions

 PointSegmentAttachment (agx::RigidBody *body, const agx::Vec3 &relativeTranslate)
 
- Public Member Functions inherited from agxCable::SegmentAttachmentT< agx::BallJoint >
 SegmentAttachmentT (agx::RigidBody *body, agx::Frame *rbSegmentAttachmentFrame, agxCable::SegmentAttachment::InitializationMode initMode)
 Construct given rigid body and a relative frame. More...
 
- Public Member Functions inherited from agxCable::SegmentAttachment
agx::Constraint * getConstraint () const
 
agx::Frame * getFrame () const
 
const agx::Name & getName () const
 
agx::RigidBody * getRigidBody () const
 
agx::AffineMatrix4x4 getWorldMatrix () const
 
void setName (const agx::Name &name)
 
- Public Member Functions inherited from agx::Referenced
 Referenced ()
 Default constructor. More...
 
 Referenced (const Referenced &)
 
template<typename T >
T * as ()
 Subclass casting. More...
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match. More...
 
template<typename T >
const T * asSafe () const
 
int getReferenceCount () const
 
template<typename T >
bool is () const
 Subclass test. More...
 
Referenced & operator= (const Referenced &)
 Assignment operator. Will increment the number of references to the referenced object. More...
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
- Public Member Functions inherited from agxStream::Serializable
virtual ~Serializable ()
 Destructor for normal C++ use but hidden from SWIG bindings. More...
 
virtual const char * getClassName () const
 
bool getEnableSerialization () const
 
bool getEnableUuidGeneration ()
 
agx::UInt32 getIndex () const
 This index is given at creation of this object. More...
 
virtual StorageAgent * getStorageAgent () const =0
 
agx::Uuid getUuid () const
 
bool isFinished () const
 
void setEnableSerialization (bool flag)
 Set to false to disable serialization of this object. More...
 
void setFinished ()
 Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More...
 
void setUuid (const agx::Uuid &uuid)
 Explicitly set a Uuid on a serializable object. More...
 

Protected Member Functions

 PointSegmentAttachment ()
 
virtual ~PointSegmentAttachment ()
 
- Protected Member Functions inherited from agxCable::SegmentAttachmentT< agx::BallJoint >
 SegmentAttachmentT ()
 Default constructor for serialization. More...
 
 SegmentAttachmentT (const agx::Name &name, agx::RigidBody *body, agx::Frame *bodyAttachmentFrame, agx::Constraint *constraint, agxCable::SegmentAttachment::InitializationMode initMode)
 
virtual ~SegmentAttachmentT ()
 Reference counted object, protected destructor. More...
 
virtual agx::ConstraintRef createConstraint (agx::RigidBodyRef body1, agx::FrameRef frame1, agx::RigidBodyRef body2, agx::FrameRef frame2) const override
 
- Protected Member Functions inherited from agxCable::SegmentAttachment
 SegmentAttachment (agx::RigidBody *body, agx::Frame *rbSegmentAttachmentFrame, agxCable::SegmentAttachment::InitializationMode initMode)
 
 SegmentAttachment (const agx::Name &name, agx::RigidBody *body, agx::Frame *bodyAttachmentFrame, agx::Constraint *constraint, InitializationMode initMode)
 
virtual ~SegmentAttachment ()
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor. More...
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 
- Protected Member Functions inherited from agxStream::Serializable
 Serializable ()
 Default constructor. More...
 
 Serializable (const Serializable &other)
 Copy constructor. More...
 
void generateUuid ()
 

Additional Inherited Members

- Public Types inherited from agxCable::SegmentAttachment
enum  InitializationMode { USE_RELATIVE_TRANSFORM, ROTATE_TO_NODE_DIRECTION }
 Each SegmentAttachment implementation controls the initialization mode. More...
 
- Static Public Member Functions inherited from agxCable::SegmentAttachment
template<typename T >
static agxCable::SegmentAttachmentRef createFromBody (const agx::Vec3 &bodyPoint, agx::RigidBody *body)
 
template<typename T >
static agxCable::SegmentAttachmentRef createFromBody (const agx::AffineMatrix4x4 &bodyTransform, agx::RigidBody *body)
 
template<typename T >
static agxCable::SegmentAttachmentRef createFromWorld (const agx::Vec3 &worldPoint, agx::RigidBody *body)
 
template<typename T >
static agxCable::SegmentAttachmentRef createFromWorld (const agx::AffineMatrix4x4 &worldTransform, agx::RigidBody *body)
 
- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 
- Static Public Member Functions inherited from agxStream::Serializable
static void setEnableUuidGeneration (bool flag)
 Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled. More...
 
- Static Protected Member Functions inherited from agx::Referenced
static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More...
 
- Protected Attributes inherited from agxCable::SegmentAttachment
agx::RigidBodyRef m_body
 
agx::FrameRef m_bodyAttachmentFrame
 
agx::ConstraintRef m_constraint
 
InitializationMode m_initMode
 
agx::Name m_name
 
- Protected Attributes inherited from agx::Referenced
Mutex m_mutex
 
ObserverContainer m_observers
 
AtomicValue m_refCount
 

Detailed Description

Definition at line 178 of file able/Attachment.h.

Constructor & Destructor Documentation

◆ PointSegmentAttachment() [1/2]

agxCable::PointSegmentAttachment::PointSegmentAttachment ( agx::RigidBody *  body,
const agx::Vec3 &  relativeTranslate 
)

◆ PointSegmentAttachment() [2/2]

agxCable::PointSegmentAttachment::PointSegmentAttachment ( )
protected

◆ ~PointSegmentAttachment()

virtual agxCable::PointSegmentAttachment::~PointSegmentAttachment ( )
protectedvirtual

The documentation for this class was generated from the following file: