AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::Slack3ConstraintData Class Reference

Generic class for holding constraint data including 3 slack parameters. More...

#include <ElementaryConstraintData.h>

+ Inheritance diagram for agx::Slack3ConstraintData:

Public Member Functions

 Slack3ConstraintData ()
 
 Slack3ConstraintData (const agx::AttachmentPair *ap)
 
virtual ~Slack3ConstraintData ()
 
const agx::Vec3 getSlack () const
 
virtual void restore (agxStream::InputArchive &in) override
 Restore from stream.
 
void setSlack (agx::Vec3 slack)
 
virtual void store (agxStream::OutputArchive &out) const override
 Store 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::Vec3 m_slack
 
- Protected Attributes inherited from agx::ElementaryConstraintData
const agx::AttachmentPair * m_ap
 

Detailed Description

Generic class for holding constraint data including 3 slack parameters.

Definition at line 304 of file ElementaryConstraintData.h.

Constructor & Destructor Documentation

◆ Slack3ConstraintData() [1/2]

agx::Slack3ConstraintData::Slack3ConstraintData ( )

◆ Slack3ConstraintData() [2/2]

agx::Slack3ConstraintData::Slack3ConstraintData ( const agx::AttachmentPair *  ap)

◆ ~Slack3ConstraintData()

virtual agx::Slack3ConstraintData::~Slack3ConstraintData ( )
virtual

Member Function Documentation

◆ getSlack()

const agx::Vec3 agx::Slack3ConstraintData::getSlack ( ) const
inline

Definition at line 317 of file ElementaryConstraintData.h.

◆ restore()

virtual void agx::Slack3ConstraintData::restore ( agxStream::InputArchive &  in)
overridevirtual

Restore from stream.

Reimplemented from agx::ElementaryConstraintData.

◆ setSlack()

void agx::Slack3ConstraintData::setSlack ( agx::Vec3  slack)
inline

Definition at line 322 of file ElementaryConstraintData.h.

◆ store()

virtual void agx::Slack3ConstraintData::store ( agxStream::OutputArchive &  out) const
overridevirtual

Store to stream.

Reimplemented from agx::ElementaryConstraintData.

Member Data Documentation

◆ m_slack

agx::Vec3 agx::Slack3ConstraintData::m_slack
protected

Definition at line 328 of file ElementaryConstraintData.h.


The documentation for this class was generated from the following file: