ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
EulerAngles.cpp
Go to the documentation of this file.
1#include "EulerAngles.h"
2#include "EulerConstants.h"
3
4// Default constructor.
6 : Angles(0, 0, 0), Order(EulerConstants::EulerOrderXYZS) {}
7
8// Constructor with angles and order.
11
12// Convert EulerAngles to a string representation.
16
17 return "[ " + angles + ", " + order + " ]";
18}
Represents rotations in 3D space using Euler angles.
Provides predefined constants for common Euler rotation orders.
String ToString()
Converts the EulerAngles object to a string representation.
EulerAngles()
Default constructor that initializes angles to zero and order to a default value.
Vector3D Angles
The three rotation angles (pitch, yaw, roll) in degrees (or radians based on usage).
Definition EulerAngles.h:27
EulerOrder Order
The order in which the angles are applied (e.g., XYZ, ZYX, etc.).
Definition EulerAngles.h:28
Specifies the order and frame of reference for Euler rotations.
Definition EulerOrder.h:25
String ToString()
Converts the EulerOrder object to a string representation.
Implements a generic Kalman Filter for 1D data.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.
Definition Vector3D.h:26
String ToString() const
Converts the vector to a string representation.
Definition Vector3D.cpp:189
A collection of predefined constants for Euler rotation orders.