VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::RotationMatrix Class Reference

#include <VICUS_RotationMatrix.h>

Public Member Functions

 RotationMatrix ()
 
 RotationMatrix (const QQuaternion &q)
 
void setQuaternion (const QQuaternion &q)
 
QQuaternion toQuaternion () const
 

Public Attributes

VICUS_READWRITE float m_wp
 
float m_x
 
float m_y
 
float m_z
 

Detailed Description

This is a pretty dumb class and only used for the serialization code generator. It stores 4 floats and matches internally the QQuaternion class. When we copy back and forth from a QQuaternion, we just treat ourselves as a QQuaternion class (low level memory access is can be beautiful :-)

Constructor & Destructor Documentation

◆ RotationMatrix() [1/2]

VICUS::RotationMatrix::RotationMatrix ( )
inline

◆ RotationMatrix() [2/2]

VICUS::RotationMatrix::RotationMatrix ( const QQuaternion &  q)
inline

Member Function Documentation

◆ setQuaternion()

void VICUS::RotationMatrix::setQuaternion ( const QQuaternion &  q)
inline

Conversion from QQuaternion

◆ toQuaternion()

QQuaternion VICUS::RotationMatrix::toQuaternion ( ) const
inline

Conversion to QQuaternion

Member Data Documentation

◆ m_wp

VICUS_READWRITE float VICUS::RotationMatrix::m_wp

◆ m_x

float VICUS::RotationMatrix::m_x

◆ m_y

float VICUS::RotationMatrix::m_y

◆ m_z

float VICUS::RotationMatrix::m_z

The documentation for this class was generated from the following file: