![]() |
TrinityCore
|
#include <PhysicsFrame.h>
Public Member Functions | |
| PhysicsFrame () | |
| PhysicsFrame (const Vector3 &translation) | |
| PhysicsFrame (const Quat &rot, const Vector3 &translation) | |
| PhysicsFrame (const Matrix3 &rot, const Vector3 &translation) | |
| PhysicsFrame (const Matrix3 &rot) | |
| PhysicsFrame (const CoordinateFrame &coordinateFrame) | |
| PhysicsFrame & | operator= (const PhysicsFrame &p) |
| PhysicsFrame (const class Any &any) | |
| Any | toAny () const |
| PhysicsFrame | operator* (const PhysicsFrame &other) const |
| virtual | ~PhysicsFrame () |
| PhysicsFrame | lerp (const PhysicsFrame &other, float alpha) const |
| void | deserialize (class BinaryInput &b) |
| void | serialize (class BinaryOutput &b) const |
| operator CFrame () const | |
| PhysicsFrame & | operator*= (float f) |
| PhysicsFrame | operator* (float f) const |
| PhysicsFrame | operator+ (const PhysicsFrame &f) const |
| PhysicsFrame & | operator+= (const PhysicsFrame &f) |
| bool | operator== (const PhysicsFrame &other) const |
| bool | operator!= (const PhysicsFrame &other) const |
Public Attributes | |
| Quat | rotation |
| Point3 | translation |
An RT transformation using a quaternion; suitable for physics integration.
This interface is in "Beta" and will change in the next release.
| G3D::PhysicsFrame::PhysicsFrame | ( | ) |
Initializes to the identity frame.
Here is the call graph for this function:
Here is the caller graph for this function:Purely translational.
| G3D::PhysicsFrame::PhysicsFrame | ( | const CoordinateFrame & | coordinateFrame | ) |
| void G3D::PhysicsFrame::deserialize | ( | class BinaryInput & | b | ) |
Here is the call graph for this function:| PhysicsFrame G3D::PhysicsFrame::lerp | ( | const PhysicsFrame & | other, |
| float | alpha | ||
| ) | const |
Linear interpolation (spherical linear for the rotations).
Here is the call graph for this function:| G3D::PhysicsFrame::operator CFrame | ( | ) | const |
|
inline |
| PhysicsFrame G3D::PhysicsFrame::operator* | ( | const PhysicsFrame & | other | ) | const |
Compose: create the transformation that is other followed by this.
Here is the call graph for this function:
|
inline |
Multiplies both pieces by f; note that this will result in a non-unit quaternion that needs to be normalized
Here is the call graph for this function:
|
inline |
Multiplies both pieces by f; note that this will result in a non-unit quaternion that needs to be normalized
|
inline |
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
| void G3D::PhysicsFrame::serialize | ( | class BinaryOutput & | b | ) | const |
Here is the call graph for this function:| Any G3D::PhysicsFrame::toAny | ( | ) | const |
Here is the call graph for this function:| Quat G3D::PhysicsFrame::rotation |
| Point3 G3D::PhysicsFrame::translation |
Origin of this reference frame in its parent's frame.
1.8.8