|
AGX Dynamics 2.42.3.1
|
Data holder class for elementary constraint Dot2Slack. More...
#include <ElementaryConstraintData.h>
Inheritance diagram for agx::Dot2SlackData:Public Member Functions | |
| Dot2SlackData () | |
| Default constructor used during restore of this object. | |
| Dot2SlackData (const agx::AttachmentPair *ap, agx::Attachment::Transformed dir) | |
| Construct given constraint attachment pair and direction to be orthogonal to the separation vector. | |
| virtual | ~Dot2SlackData () |
| Destructor. | |
| agx::Real | getSlack () const |
| virtual void | restore (agxStream::InputArchive &in) override |
| Restore data from stream. | |
| void | setSlack (agx::Real slack) |
| virtual void | store (agxStream::OutputArchive &out) const override |
| Store data to stream. | |
Public Member Functions inherited from agx::Dot2Data | |
| Dot2Data () | |
| Default constructor used during restore of this object. | |
| Dot2Data (const agx::AttachmentPair *ap, agx::Attachment::Transformed dir, agx::Int body=0) | |
| Construct given constraint attachment pair and direction to be orthogonal to the separation vector. | |
| virtual | ~Dot2Data () |
| Destructor. | |
| const agx::Vec3 & | getDir () const |
| virtual agx::Int | getReferenceBody () 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::Dot2Data | |
| agx::Int | m_body |
| agx::Attachment::Transformed | m_dir |
Protected Attributes inherited from agx::ElementaryConstraintData | |
| const agx::AttachmentPair * | m_ap |
Data holder class for elementary constraint Dot2Slack.
Definition at line 252 of file ElementaryConstraintData.h.
| agx::Dot2SlackData::Dot2SlackData | ( | ) |
Default constructor used during restore of this object.
| agx::Dot2SlackData::Dot2SlackData | ( | const agx::AttachmentPair * | ap, |
| agx::Attachment::Transformed | dir | ||
| ) |
Construct given constraint attachment pair and direction to be orthogonal to the separation vector.
| ap | - attachment pair |
| dir | - direction reference attachment 1 to be orthogonal to the separation vector |
|
virtual |
Destructor.
|
inline |
Definition at line 284 of file ElementaryConstraintData.h.
|
overridevirtual |
Restore data from stream.
Reimplemented from agx::Dot2Data.
|
inline |
Definition at line 289 of file ElementaryConstraintData.h.
|
overridevirtual |
Store data to stream.
Reimplemented from agx::Dot2Data.
|
protected |
Definition at line 295 of file ElementaryConstraintData.h.