|
AGX Dynamics 2.42.3.1
|
Extended Dot1Data with additional slack parameter. More...
#include <ElementaryConstraintData.h>
Inheritance diagram for agx::Dot1SlackData:Public Member Functions | |
| Dot1SlackData () | |
| Default constructor. | |
| Dot1SlackData (const agx::AttachmentPair *ap, agx::Attachment::Transformed dir1, agx::Attachment::Transformed dir2) | |
| virtual | ~Dot1SlackData () |
| agx::Real | getSlack () const |
| virtual void | restore (agxStream::InputArchive &in) override |
| Restore data from stream. | |
| void | setSlack (agx::Real slack) |
| Set amount of slack in constraint. | |
| virtual void | store (agxStream::OutputArchive &out) const override |
| Store data to stream. | |
Public Member Functions inherited from agx::Dot1Data | |
| Dot1Data () | |
| Default constructor used during restore of this object. | |
| Dot1Data (const agx::AttachmentPair *ap, agx::Attachment::Transformed dir1, agx::Attachment::Transformed dir2) | |
| Construct given attachment pair and the two directions that should be orthogonal. | |
| virtual | ~Dot1Data () |
| Destructor. | |
| const agx::Vec3 & | getDir1 () const |
| const agx::Vec3 & | getDir2 () const |
| virtual void | restore (agxStream::InputArchive &in) override |
| Restore data from stream. | |
| virtual void | store (agxStream::OutputArchive &out) const override |
| Store data to stream. | |
Public Member Functions inherited from agx::ElementaryConstraintData | |
| 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 | |
| agx::Real | m_slack |
Protected Attributes inherited from agx::Dot1Data | |
| agx::Attachment::Transformed | m_dir1 |
| agx::Attachment::Transformed | m_dir2 |
Protected Attributes inherited from agx::ElementaryConstraintData | |
| const agx::AttachmentPair * | m_ap |
Extended Dot1Data with additional slack parameter.
Definition at line 151 of file ElementaryConstraintData.h.
| agx::Dot1SlackData::Dot1SlackData | ( | ) |
Default constructor.
| agx::Dot1SlackData::Dot1SlackData | ( | const agx::AttachmentPair * | ap, |
| agx::Attachment::Transformed | dir1, | ||
| agx::Attachment::Transformed | dir2 | ||
| ) |
|
virtual |
|
inline |
Definition at line 176 of file ElementaryConstraintData.h.
|
overridevirtual |
Restore data from stream.
Reimplemented from agx::Dot1Data.
|
inline |
Set amount of slack in constraint.
Definition at line 168 of file ElementaryConstraintData.h.
|
overridevirtual |
Store data to stream.
Reimplemented from agx::Dot1Data.
|
protected |
Definition at line 193 of file ElementaryConstraintData.h.