Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/Chaos
Inheritance Hierarchy
- TQuat
- TRotation< FRealSingle, 3 >
References
| Module | ChaosCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/Rotation.h |
| Include | #include "Chaos/Rotation.h" |
Syntax
template<>
class TRotation< FRealSingle, 3 > : public UE::Math::TQuat< FRealSingle >
Functions
| Type | Name | Description | |
|---|---|---|---|
| TVector< FRealSingle, 3 > | CalculateAngularDelta
(
const TRotation< FRealSingle, 3 >& InR0, |
Calculate the axis-angle delta (angular velocity * dt) required to take an object with orientation R0 to orientation R1. | |
| TVector< FRealSingle, 3 > | CalculateAngularVelocity
(
const TRotation< FRealSingle, 3 >& InR0, |
Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt. | |
| TVector< FRealSingle, 3 > | CalculateAngularVelocity1
(
const TRotation< FRealSingle, 3 >& R0, |
Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt. | |
| TVector< FRealSingle, 3 > | CalculateAngularVelocity2
(
const TRotation< FRealSingle, 3 >& R0, |
Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt. | |
| TRotation< FRealSingle, 3 > | Conjugate
(
const ::Chaos::TRotation< FRealSingle, 3 >& InR |
Return the complex conjugate of the rotation | |
| FRealSingle | DotProduct
(
const TRotation< FRealSingle, 3 >& L, |
Return the dot product of two quaternions. | |
| TRotation< FRealSingle, 3 > | FromAxisAngle
(
const ::Chaos::TVector< FRealSingle, 3 >& Axis, |
Create a rotation about an axis by an angle specified in radians | |
| TRotation< FRealSingle, 3 > | FromElements
(
const FRealSingle X, |
Create a rotation by explicitly specifying all elements | |
| TRotation< FRealSingle, 3 > | FromElements
(
const ::Chaos::TVector< FRealSingle, 3 >& V, |
Create a rotation by explicitly specifying all elements | |
| TRotation< FRealSingle, 3 > | FromIdentity () |
Create an identity rotation | |
| TRotation< FRealSingle, 3 > | FromRotatedVector
(
const ::Chaos::TVector< FRealSingle, 3 >& InitialVector, |
Generate a Rotation that would rotate vector InitialVector to FinalVector | |
| TRotation< FRealSingle, 3 > | FromVector
(
const ::Chaos::TVector< FRealSingle, 3 >& V |
Create a rotation about an axis V/|V| by angle |V| in radians | |
| FRealSingle | GetAbsMax () |
Return the large absolute element value. | |
| bool | GetRotationAxisSafe
(
TVector< FRealSingle, 3 >& OutAxis, |
Extract the axis from the Quaternion. | |
| TRotation< FRealSingle, 3 > | IntegrateRotationWithAngularVelocity
(
const TRotation< FRealSingle, 3 >& InR0, |
Return a new rotation equal to the input rotation with angular velocity W applied over time Dt. | |
| bool | IsNearlyEqual
(
const TRotation< FRealSingle, 3 >& A, |
Check that two rotations are approximately equal. | |
| TRotation< FRealSingle, 3 > | Negate
(
const ::Chaos::TRotation< FRealSingle, 3 >& InR |
Negate all values of the quaternion (note: not the inverse rotation. See Conjugate) | |
| bool | ToAxisAndAngleSafe
(
TVector< FRealSingle, 3 >& OutAxis, |
Extract the axis and angle from the Quaternion. | |
| PMatrix< FRealSingle, 3, 3 > | ToMatrix () |
||
| void | ToMatrixAxes
(
TVector< FRealSingle, 3 >& OutX, |
Convert to a matrix and return as the 3 matrix axes. | |
| void | ToSwingTwistX
(
BaseQuat& OutSwing, |
Extract the Swing and Twist rotations, assuming that the Twist Axis is (1,0,0). /see ToSwingTwist | |
TRotation
(
const FMatrix44d& Matrix |
|||
TRotation () |
|||
TRotation
(
const FMatrix44f& Matrix |
|||
TRotation
(
const UE::Math::TQuat< OtherType >& Other |
Typedefs
| Name | Description |
|---|---|
| BaseQuat |