AGX Dynamics 2.41.3.0
Loading...
Searching...
No Matches
agx/Frame.h File Reference

Go to the source code of this file.

Classes

class  agx::Frame
 The object defining a frame of reference and providing transformations operations. More...
 

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 
namespace  agxCollide
 This namespace consists of a set of classes for handling geometric intersection tests including boolean tests, penetration and contact sets.
 
namespace  agxSDK
 The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simulation system including Material, event listeners etc.
 

Macros

#define AGX_ADD_FRAME_TRANSFORM_INTERFACE()
 

Typedefs

typedef agx::observer_ptr< const Frame > agx::FrameConstObserver
 
typedef agx::ref_ptr< const Frame > agx::FrameConstRef
 
typedef agx::observer_ptr< Frame > agx::FrameObserver
 
using agx::FrameRef = agx::ref_ptr< Frame >
 

Macro Definition Documentation

◆ AGX_ADD_FRAME_TRANSFORM_INTERFACE

#define AGX_ADD_FRAME_TRANSFORM_INTERFACE ( )
Value:
AGX_FORCE_INLINE const agx::AffineMatrix4x4& getTransform() const { return getFrame()->getMatrix(); } \
AGX_FORCE_INLINE agx::Vec3 getPosition() const { return getFrame()->getTranslate(); } \
AGX_FORCE_INLINE agx::Quat getRotation() const { return getFrame()->getRotate(); }
void getRotate(T &angle, T &x, T &y, T &z) const
Get the angle and vector components represented by the quaternion.
#define AGX_FORCE_INLINE
Definition: macros.h:58

Definition at line 660 of file agx/Frame.h.