|
AGX Dynamics 2.42.1.1
|
Data holder class for elementary constraint Dot2. More...
#include <ElementaryConstraintData.h>
Inheritance diagram for agx::Dot2Data:Public Member Functions | |
| 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::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 Dot2.
Definition at line 199 of file ElementaryConstraintData.h.
| agx::Dot2Data::Dot2Data | ( | ) |
Default constructor used during restore of this object.
| agx::Dot2Data::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.
| ap | - attachment pair |
| dir | - direction reference attachment 1 to be orthogonal to the separation vector |
| body | - the first body of the constraint |
|
virtual |
Destructor.
|
inline |
Definition at line 230 of file ElementaryConstraintData.h.
|
inlinevirtual |
Definition at line 225 of file ElementaryConstraintData.h.
|
overridevirtual |
Restore data from stream.
Reimplemented from agx::ElementaryConstraintData.
Reimplemented in agx::Dot2SlackData.
|
overridevirtual |
Store data to stream.
Reimplemented from agx::ElementaryConstraintData.
Reimplemented in agx::Dot2SlackData.
|
protected |
Definition at line 244 of file ElementaryConstraintData.h.
|
protected |
Definition at line 243 of file ElementaryConstraintData.h.