|
AGX Dynamics 2.42.3.0
|
Class to hold data for elementary constraints. More...
#include <ElementaryConstraintData.h>
Inheritance diagram for agx::ElementaryConstraintData:Public Member Functions | |
| ElementaryConstraintData () | |
| Used during serialization restore. | |
| ElementaryConstraintData (const agx::AttachmentPair *ap) | |
| Construct given attachment pair. | |
| virtual | ~ElementaryConstraintData () |
| Destructor. | |
| const agx::Attachment * | getAttachment (agx::UInt index) const |
| const agx::AttachmentPair * | getAttachmentPair () const |
| const agx::Vec3 & | getCmToAnchorPosition (agx::UInt index) const |
| const agx::Vec3 & | getSeparation () const |
| const agx::Vec3 & | getWorldToAnchorPosition (agx::UInt index) const |
| virtual void | restore (agxStream::InputArchive &in) |
| Restore from stream. | |
| virtual void | set (const agx::AttachmentPair *ap) |
| Assign new attachment pair. | |
| virtual void | store (agxStream::OutputArchive &out) const |
| Store to stream. | |
Protected Attributes | |
| const agx::AttachmentPair * | m_ap |
Class to hold data for elementary constraints.
Definition at line 33 of file ElementaryConstraintData.h.
| agx::ElementaryConstraintData::ElementaryConstraintData | ( | ) |
Used during serialization restore.
| agx::ElementaryConstraintData::ElementaryConstraintData | ( | const agx::AttachmentPair * | ap | ) |
Construct given attachment pair.
| ap | - attachment pair |
|
virtual |
Destructor.
|
inline |
| index | - index of the attachment (0 or 1) |
index Definition at line 67 of file ElementaryConstraintData.h.
References agxAssert.
|
inline |
Definition at line 61 of file ElementaryConstraintData.h.
References agxAssert.
|
inline |
Definition at line 77 of file ElementaryConstraintData.h.
References agxAssert.
|
inline |
Definition at line 72 of file ElementaryConstraintData.h.
References agxAssert.
|
inline |
Definition at line 82 of file ElementaryConstraintData.h.
References agxAssert.
|
virtual |
Restore from stream.
Reimplemented in agx::Dot1Data, agx::Dot1SlackData, agx::Dot2Data, agx::Dot2SlackData, agx::Slack3ConstraintData, agx::QuatLockData, agx::ConstraintAngleBasedData, agx::SwingData, agx::TwistData, and agx::ConeLimitData.
|
virtual |
|
virtual |
Store to stream.
Reimplemented in agx::Dot1Data, agx::Dot1SlackData, agx::Dot2Data, agx::Dot2SlackData, agx::Slack3ConstraintData, agx::QuatLockData, agx::ConstraintAngleBasedData, agx::SwingData, agx::TwistData, and agx::ConeLimitData.
|
protected |
Definition at line 95 of file ElementaryConstraintData.h.
Referenced by agx::ConstraintAngleBasedData::getDir1(), and agx::ConstraintAngleBasedData::getDir2().