OpenDAFF C++ API  v1.7
Directional Audio File Format
Public Member Functions | Public Attributes | List of all members
DAFFOrientationYPR Class Reference

Data class for orientations in yaw-pitch-roll (YPR) angles (right-handed OpenGL coordinate system) More...

#include <DAFFDefs.h>

Public Member Functions

 DAFFOrientationYPR ()
 Default constructor. More...
 
 DAFFOrientationYPR (float fInitYawAngleDeg, float fInitPitchAngleDeg, float fInitRollAngleDeg)
 Initializing constructor. More...
 
std::string toString () const
 Return a string of the orientation. More...
 

Public Attributes

float fYawAngleDeg
 Yaw angle (degrees) More...
 
float fPitchAngleDeg
 Pitch angle (degrees) More...
 
float fRollAngleDeg
 Roll angle (degrees) More...
 

Detailed Description

Data class for orientations in yaw-pitch-roll (YPR) angles (right-handed OpenGL coordinate system)

Yaw Pitch Roll angles define Euler angles using the OpenGL right-handed Cartesian coordinate system.

  1. Yaw arount +Y
  2. Pitch around +X
  3. Roll around -Z

Definition at line 138 of file DAFFDefs.h.

Constructor & Destructor Documentation

DAFFOrientationYPR::DAFFOrientationYPR ( )
inline

Default constructor.

Definition at line 146 of file DAFFDefs.h.

DAFFOrientationYPR::DAFFOrientationYPR ( float  fInitYawAngleDeg,
float  fInitPitchAngleDeg,
float  fInitRollAngleDeg 
)
inline

Initializing constructor.

Parameters
fInitYawAngleDegInitial yaw angle in degree
fInitPitchAngleDegInitial pitch angle in degree
fInitRollAngleDegInitial roll angle in degre

Definition at line 158 of file DAFFDefs.h.

Member Function Documentation

std::string DAFFOrientationYPR::toString ( ) const
inline

Return a string of the orientation.

Returns
Human readable string of orientation

Definition at line 168 of file DAFFDefs.h.

Member Data Documentation

float DAFFOrientationYPR::fPitchAngleDeg

Pitch angle (degrees)

Definition at line 142 of file DAFFDefs.h.

float DAFFOrientationYPR::fRollAngleDeg

Roll angle (degrees)

Definition at line 143 of file DAFFDefs.h.

float DAFFOrientationYPR::fYawAngleDeg

Yaw angle (degrees)

Definition at line 141 of file DAFFDefs.h.


The documentation for this class was generated from the following file:
OpenDAFF is a project from the Institute of Technical Acoustics, RWTH Aachen University, Germany.