24 # pragma warning(push) 25 # pragma warning(disable:4355) //Disable 'this' : used in base member initializer list warning 32 class MergeSplitBodyStorage;
106 void setLocalPosition(
const agx::Vec3& p );
143 void setLocalRotation(
const agx::Quat& q );
191 void setEnable(
bool enable );
197 bool getEnable()
const;
203 bool isEnabled()
const;
254 agx::Vec3 getAngularAcceleration()
const;
394 return m_frame.get();
399 return m_frame.get();
404 return m_rigidBody.get();
409 return m_rigidBody.get();
415 # pragma warning(pop) void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
bool getEnable() const
Access the state enable flag.
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
#define AGXPHYSICS_EXPORT
agx::Frame * getFrame()
Returns the model frame containing model the transformation and utilities to manipulate position...
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
const agx::RigidBody * getRigidBody() const
Base class providing referencing counted objects.
This class provides conversion services between Euler angles in any of the 24 conventions and corresp...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Specialized type of matrices for holding symmetric positive definite matrices.
agx::SetVector< ObserverFrameRef > ObserverFrameRefSetVector
The rigid body class, combining a geometric model and a frame of reference.
bool isEnabled() const
Access the state enable flag.
The complete physical system with bodies, interactions, data layout, time stepper, and solver.
The object defining a frame of reference and providing transformations operations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
static agx::Vec3 transformVectorToWorld(const agx::Vec3 &v, const agxCollide::Geometry *g)
Transforms a vector given in shape coordinates to world coordinates given geometry g...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
#define AGX_DECLARE_VECTOR_TYPES(type)
static agx::Vec3 transformPointToWorld(const agx::Vec3 &p, const agxCollide::Geometry *g)
Transforms a point given in shape coordinates to world given geometry g.
Specialized types of matrices for holding orthogonal transformation matrices.
With this class you can attach an ObserverFrame object relative to a RigidBody.