|
AGXDynamics
2.31.1.0
|
Data holder class for elementary constraint Twist. More...
#include <ElementaryConstraintData.h>
Inheritance diagram for agx::TwistData:Public Types | |
| typedef agx::ref_ptr< QuatTransformer > | QuatTransformerRef |
Public Member Functions | |
| TwistData () | |
| Default constructor used during restore of this object. More... | |
| TwistData (const agx::AttachmentPair *ap, agx::Attachment::Transformed dir1, agx::Attachment::Transformed dir2) | |
| Construct given attachment pair. More... | |
| virtual | ~TwistData () |
| Destructor. More... | |
| const agx::Attachment * | getAttachment (agx::UInt index) const |
| const agx::AttachmentPair * | getAttachmentPair () const |
| const agx::Vec3 & | getCmToAnchorPosition (agx::UInt index) const |
| const agx::Vec3 & | getDir1 () const |
| const agx::Vec3 & | getDir2 () const |
| const agx::Vec3 & | getSeparation () const |
| const agx::Vec3 & | getWorldToAnchorPosition (agx::UInt index) const |
| const agx::Quat & | operator[] (agx::UInt i) const |
| agx::Quat & | operator[] (agx::UInt i) |
| virtual void | restore (agxStream::InputArchive &in) override |
| Restore data from stream. More... | |
| void | set (const agx::AttachmentPair *ap) override |
| Associate attachment pair to this object, for this object to register QuatTransformer as attachment pair custom data. More... | |
| virtual void | store (agxStream::OutputArchive &out) const override |
| Store data to stream. More... | |
Protected Attributes | |
| const agx::AttachmentPair * | m_ap |
| agx::Attachment::Transformed | m_dir1 |
| agx::Attachment::Transformed | m_dir2 |
| QuatTransformerRef | m_qTransformer |
Data holder class for elementary constraint Twist.
Definition at line 594 of file ElementaryConstraintData.h.
|
inherited |
Definition at line 375 of file ElementaryConstraintData.h.
| agx::TwistData::TwistData | ( | ) |
Default constructor used during restore of this object.
| agx::TwistData::TwistData | ( | const agx::AttachmentPair * | ap, |
| agx::Attachment::Transformed | dir1, | ||
| agx::Attachment::Transformed | dir2 | ||
| ) |
Construct given attachment pair.
| ap | - constraint attachment pair |
|
virtual |
Destructor.
|
inlineinherited |
| index | - index of the attachment (0 or 1) |
index Definition at line 67 of file ElementaryConstraintData.h.
References agxAssert.
|
inlineinherited |
Definition at line 61 of file ElementaryConstraintData.h.
References agxAssert.
|
inlineinherited |
Definition at line 77 of file ElementaryConstraintData.h.
References agxAssert, and agx::Attachment::CM_TO_ANCHOR_POS.
|
inline |
Definition at line 627 of file ElementaryConstraintData.h.
|
inline |
Definition at line 635 of file ElementaryConstraintData.h.
|
inlineinherited |
Definition at line 72 of file ElementaryConstraintData.h.
References agxAssert, and agx::AttachmentPair::SEPARATION.
|
inlineinherited |
Definition at line 82 of file ElementaryConstraintData.h.
References agxAssert, agx::Attachment::ANCHOR_POS, agxStream::in(), and agxStream::out().
i < 3 Definition at line 404 of file ElementaryConstraintData.h.
References agxAssert.
i < 3 Definition at line 409 of file ElementaryConstraintData.h.
References agxAssert, agxStream::in(), and agxStream::out().
|
overridevirtual |
Restore data from stream.
Reimplemented from agx::QuatLockData.
|
overridevirtualinherited |
Associate attachment pair to this object, for this object to register QuatTransformer as attachment pair custom data.
| ap | - the constraint attachment pair |
Reimplemented from agx::ElementaryConstraintData.
|
overridevirtual |
Store data to stream.
Reimplemented from agx::QuatLockData.
|
protectedinherited |
Definition at line 95 of file ElementaryConstraintData.h.
|
protected |
Definition at line 641 of file ElementaryConstraintData.h.
|
protected |
Definition at line 642 of file ElementaryConstraintData.h.
|
protectedinherited |
Definition at line 422 of file ElementaryConstraintData.h.