AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
agx::Physics::ConstraintForcesPtr Class Reference

Pointer to a entity instance of type Physics.ConstraintForces. More...

#include <ConstraintForcesEntity.h>

+ Inheritance diagram for agx::Physics::ConstraintForcesPtr:

Public Types

typedef ConstraintForcesData DataType
 
typedef ConstraintForcesInstance InstanceType
 
typedef ConstraintForcesModel ModelType
 

Public Member Functions

AGXPHYSICS_EXPORT ConstraintForcesPtr ()
 
AGXPHYSICS_EXPORT ConstraintForcesPtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT ConstraintForcesPtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ConstraintForcesPtr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::Real & angle1 ()
 
AGXPHYSICS_EXPORT agx::Real const & angle1 () const
 
AGXPHYSICS_EXPORT agx::Real & angle2 ()
 
AGXPHYSICS_EXPORT agx::Real const & angle2 () const
 
AGXPHYSICS_EXPORT agx::Vec3 & body1Force ()
 
AGXPHYSICS_EXPORT agx::Vec3 const & body1Force () const
 
AGXPHYSICS_EXPORT agx::Vec3 & body1Torque ()
 
AGXPHYSICS_EXPORT agx::Vec3 const & body1Torque () const
 
AGXPHYSICS_EXPORT agx::Vec3 & body2Force ()
 
AGXPHYSICS_EXPORT agx::Vec3 const & body2Force () const
 
AGXPHYSICS_EXPORT agx::Vec3 & body2Torque ()
 
AGXPHYSICS_EXPORT agx::Vec3 const & body2Torque () const
 
AGXPHYSICS_EXPORT agx::Real & currentSpeed1 ()
 
AGXPHYSICS_EXPORT agx::Real const & currentSpeed1 () const
 
AGXPHYSICS_EXPORT agx::Real & currentSpeed2 ()
 
AGXPHYSICS_EXPORT agx::Real const & currentSpeed2 () const
 
ConstraintForcesData * getData ()
 
const ConstraintForcesData * getData () const
 
AGXPHYSICS_EXPORT ConstraintForcesInstance instance ()
 
AGXPHYSICS_EXPORT const ConstraintForcesInstance instance () const
 
AGXPHYSICS_EXPORT agx::Real & lock1Force ()
 
AGXPHYSICS_EXPORT agx::Real const & lock1Force () const
 
AGXPHYSICS_EXPORT agx::Real & lock2Force ()
 
AGXPHYSICS_EXPORT agx::Real const & lock2Force () const
 
AGXPHYSICS_EXPORT agx::Real & motor1Force ()
 
AGXPHYSICS_EXPORT agx::Real const & motor1Force () const
 
AGXPHYSICS_EXPORT agx::Real & motor2Force ()
 
AGXPHYSICS_EXPORT agx::Real const & motor2Force () const
 
AGXPHYSICS_EXPORT agx::Name & name ()
 
AGXPHYSICS_EXPORT agx::Name const & name () const
 
AGXPHYSICS_EXPORT ConstraintForcesSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const ConstraintForcesSemantics * operator-> () const
 
AGXPHYSICS_EXPORT ConstraintForcesPtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ConstraintForcesPtr & operator= (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::Real & range1Force ()
 
AGXPHYSICS_EXPORT agx::Real const & range1Force () const
 
AGXPHYSICS_EXPORT agx::Real & range2Force ()
 
AGXPHYSICS_EXPORT agx::Real const & range2Force () const
 
AGXPHYSICS_EXPORT agx::Name & type ()
 
AGXPHYSICS_EXPORT agx::Name const & type () const
 
- Public Member Functions inherited from agxData::EntityPtr
 EntityPtr ()
 
 EntityPtr (agxData::EntityStorage *storage, agx::Index id)
 
 EntityPtr (const agxData::EntityInstance &instance)
 
 EntityPtr (const agxData::EntityPtr &other)=default
 
 ~EntityPtr ()=default
 
agx::Index calculateIndex () const
 Calculate the index using the indirect id.
 
agxData::EntityPtr copy ()
 Create a copy instance in the same storage.
 
agxData::EntityPtr copy (agxData::EntityStorage *target)
 Copy instance to another storage.
 
void copyAttributes (agxData::EntityPtr source)
 Copy instance attributes to an existing target instance.
 
template<typename T >
T & dataSet ()
 
template<typename T >
const T & dataSet () const
 
void destroy ()
 Remove the entity from the active storage.
 
agxData::EntityData * getData ()
 
const agxData::EntityData * getData () const
 
agx::Index getId () const
 
agxData::EntityModel * getModel ()
 
const agxData::EntityModel * getModel () const
 
agxData::EntityStorage * getStorage () const
 
agx::UInt32 hash () const
 
void init (agxData::EntityStorage *storage, agx::Index id)
 Set the target storage and id.
 
agxData::EntityInstance instance ()
 
const agxData::EntityInstance instance () const
 
void invalidate ()
 Invalidate the entity pointer.
 
bool isInstanceOf (agxData::EntityModel *model) const
 
bool isValid () const
 
 operator bool () const
 
bool operator! () const
 
bool operator!= (const EntityPtr &rhs) const
 
template<typename T >
agxData::ArrayAttributeT< T >::Type & operator() (const agxData::ArrayAttributeT< T > *attribute)
 Array attribute.
 
template<typename T >
const agxData::ArrayAttributeT< T >::Type & operator() (const agxData::ArrayAttributeT< T > *attribute) const
 
template<typename T >
agxData::HashSetAttributeT< T >::Type & operator() (const agxData::HashSetAttributeT< T > *attribute)
 HashSet attribute.
 
template<typename T >
const agxData::HashSetAttributeT< T >::Type & operator() (const agxData::HashSetAttributeT< T > *attribute) const
 
template<typename T >
T & operator() (const agxData::PointerAttributeT< T > *attribute)
 Pointer attribute.
 
template<typename T >
const T & operator() (const agxData::PointerAttributeT< T > *attribute) const
 
template<typename T >
T & operator() (const agxData::ScalarAttributeT< T > *attribute)
 Access the value of a specific attribute.
 
template<typename T >
const T & operator() (const agxData::ScalarAttributeT< T > *attribute) const
 
template<typename T >
T & operator() (const agxData::SharedAttributeT< T > *attribute)
 Shared attribute.
 
template<typename T >
const T & operator() (const agxData::SharedAttributeT< T > *attribute) const
 
template<typename T >
agxData::VectorAttributeT< T >::Type & operator() (const agxData::VectorAttributeT< T > *attribute)
 Vector attribute.
 
template<typename T >
const agxData::VectorAttributeT< T >::Type & operator() (const agxData::VectorAttributeT< T > *attribute) const
 
template<typename T >
ArrayAttributeT< T >::Type & operator() (const ArrayAttributeT< T > *attribute)
 
template<typename T >
const ArrayAttributeT< T >::Type & operator() (const ArrayAttributeT< T > *attribute) const
 
template<typename T >
HashSetAttributeT< T >::Type & operator() (const HashSetAttributeT< T > *attribute)
 
template<typename T >
const HashSetAttributeT< T >::Type & operator() (const HashSetAttributeT< T > *attribute) const
 
template<typename T >
VectorAttributeT< T >::Type & operator() (const VectorAttributeT< T > *attribute)
 
template<typename T >
const VectorAttributeT< T >::Type & operator() (const VectorAttributeT< T > *attribute) const
 
bool operator< (const EntityPtr &rhs) const
 
EntityPtr & operator= (const EntityPtr &other)=default
 
EntityPtr & operator= (EntityPtr &&)=default
 
bool operator== (const EntityPtr &rhs) const
 
bool operator> (const EntityPtr &rhs) const
 
void print () const
 
void print (std::ostream &stream) const
 
void swapId (EntityPtr &other)
 Swap id with another instance.
 
void swapIndex (EntityPtr &other)
 Swap index with another instance.
 
void transfer (agxData::EntityStorage *target)
 Transfer instance to another storage.
 
void verifyIndex () const
 Check for broken ptr, by verifying that the id is active in the storage.
 

Additional Inherited Members

- Static Public Member Functions inherited from agxData::EntityPtr
static EntityPtr createWithIndex (EntityStorage *storage, agx::Index index)
 
static void TransformToAscii (void *targetBuffer, const void *sourceBuffer, size_t numElements)
 

Detailed Description

Pointer to a entity instance of type Physics.ConstraintForces.

Definition at line 234 of file ConstraintForcesEntity.h.

Member Typedef Documentation

◆ DataType

typedef ConstraintForcesData agx::Physics::ConstraintForcesPtr::DataType

Definition at line 238 of file ConstraintForcesEntity.h.

◆ InstanceType

typedef ConstraintForcesInstance agx::Physics::ConstraintForcesPtr::InstanceType

Definition at line 239 of file ConstraintForcesEntity.h.

◆ ModelType

Constructor & Destructor Documentation

◆ ConstraintForcesPtr() [1/4]

AGXPHYSICS_EXPORT agx::Physics::ConstraintForcesPtr::ConstraintForcesPtr ( )

◆ ConstraintForcesPtr() [2/4]

AGXPHYSICS_EXPORT agx::Physics::ConstraintForcesPtr::ConstraintForcesPtr ( agxData::EntityStorage *  storage,
agx::Index  id 
)

◆ ConstraintForcesPtr() [3/4]

AGXPHYSICS_EXPORT agx::Physics::ConstraintForcesPtr::ConstraintForcesPtr ( const agxData::EntityPtr &  ptr)

◆ ConstraintForcesPtr() [4/4]

AGXPHYSICS_EXPORT agx::Physics::ConstraintForcesPtr::ConstraintForcesPtr ( const agxData::EntityInstance &  instance)

Member Function Documentation

◆ angle1() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::angle1 ( )
Returns
reference to the angle1 attribute

◆ angle1() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::angle1 ( ) const
Returns
const reference to the angle1 attribute

◆ angle2() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::angle2 ( )
Returns
reference to the angle2 attribute

◆ angle2() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::angle2 ( ) const
Returns
const reference to the angle2 attribute

◆ body1Force() [1/2]

AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ConstraintForcesPtr::body1Force ( )
Returns
reference to the body1Force attribute

◆ body1Force() [2/2]

AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ConstraintForcesPtr::body1Force ( ) const
Returns
const reference to the body1Force attribute

◆ body1Torque() [1/2]

AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ConstraintForcesPtr::body1Torque ( )
Returns
reference to the body1Torque attribute

◆ body1Torque() [2/2]

AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ConstraintForcesPtr::body1Torque ( ) const
Returns
const reference to the body1Torque attribute

◆ body2Force() [1/2]

AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ConstraintForcesPtr::body2Force ( )
Returns
reference to the body2Force attribute

◆ body2Force() [2/2]

AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ConstraintForcesPtr::body2Force ( ) const
Returns
const reference to the body2Force attribute

◆ body2Torque() [1/2]

AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ConstraintForcesPtr::body2Torque ( )
Returns
reference to the body2Torque attribute

◆ body2Torque() [2/2]

AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ConstraintForcesPtr::body2Torque ( ) const
Returns
const reference to the body2Torque attribute

◆ currentSpeed1() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::currentSpeed1 ( )
Returns
reference to the currentSpeed1 attribute

◆ currentSpeed1() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::currentSpeed1 ( ) const
Returns
const reference to the currentSpeed1 attribute

◆ currentSpeed2() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::currentSpeed2 ( )
Returns
reference to the currentSpeed2 attribute

◆ currentSpeed2() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::currentSpeed2 ( ) const
Returns
const reference to the currentSpeed2 attribute

◆ getData() [1/2]

ConstraintForcesData * agx::Physics::ConstraintForcesPtr::getData ( )

◆ getData() [2/2]

const ConstraintForcesData * agx::Physics::ConstraintForcesPtr::getData ( ) const

◆ instance() [1/2]

AGXPHYSICS_EXPORT ConstraintForcesInstance agx::Physics::ConstraintForcesPtr::instance ( )

◆ instance() [2/2]

AGXPHYSICS_EXPORT const ConstraintForcesInstance agx::Physics::ConstraintForcesPtr::instance ( ) const

◆ lock1Force() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::lock1Force ( )
Returns
reference to the lock1Force attribute

◆ lock1Force() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::lock1Force ( ) const
Returns
const reference to the lock1Force attribute

◆ lock2Force() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::lock2Force ( )
Returns
reference to the lock2Force attribute

◆ lock2Force() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::lock2Force ( ) const
Returns
const reference to the lock2Force attribute

◆ motor1Force() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::motor1Force ( )
Returns
reference to the motor1Force attribute

◆ motor1Force() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::motor1Force ( ) const
Returns
const reference to the motor1Force attribute

◆ motor2Force() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::motor2Force ( )
Returns
reference to the motor2Force attribute

◆ motor2Force() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::motor2Force ( ) const
Returns
const reference to the motor2Force attribute

◆ name() [1/2]

AGXPHYSICS_EXPORT agx::Name & agx::Physics::ConstraintForcesPtr::name ( )
Returns
reference to the name attribute

◆ name() [2/2]

AGXPHYSICS_EXPORT agx::Name const & agx::Physics::ConstraintForcesPtr::name ( ) const
Returns
const reference to the name attribute

◆ operator->() [1/2]

AGXPHYSICS_EXPORT ConstraintForcesSemantics * agx::Physics::ConstraintForcesPtr::operator-> ( )

◆ operator->() [2/2]

AGXPHYSICS_EXPORT const ConstraintForcesSemantics * agx::Physics::ConstraintForcesPtr::operator-> ( ) const

◆ operator=() [1/2]

AGXPHYSICS_EXPORT ConstraintForcesPtr & agx::Physics::ConstraintForcesPtr::operator= ( const agxData::EntityInstance &  instance)

◆ operator=() [2/2]

AGXPHYSICS_EXPORT ConstraintForcesPtr & agx::Physics::ConstraintForcesPtr::operator= ( const agxData::EntityPtr &  ptr)

◆ range1Force() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::range1Force ( )
Returns
reference to the range1Force attribute

◆ range1Force() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::range1Force ( ) const
Returns
const reference to the range1Force attribute

◆ range2Force() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ConstraintForcesPtr::range2Force ( )
Returns
reference to the range2Force attribute

◆ range2Force() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ConstraintForcesPtr::range2Force ( ) const
Returns
const reference to the range2Force attribute

◆ type() [1/2]

AGXPHYSICS_EXPORT agx::Name & agx::Physics::ConstraintForcesPtr::type ( )
Returns
reference to the type attribute

◆ type() [2/2]

AGXPHYSICS_EXPORT agx::Name const & agx::Physics::ConstraintForcesPtr::type ( ) const
Returns
const reference to the type attribute

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