VIA - Volumetric Image Analysis
Functions
RotationMatrix.c File Reference

Functions

void VQuaternionsRotation (float *q, float **rot)
 Compute a 3x3 rotation matrix from quaternions. More...
 
void VRotationMatrix (double roll, double pitch, double yaw, double rot[3][3])
 Compute a 3x3 rotation matrix from roll,pitch and yaw. More...
 

Detailed Description

3D rotation matrices.

Author:
Gabriele Lohmann, MPI-CBS

Function Documentation

void VQuaternionsRotation ( float *  q,
float **  rot 
)

Compute a 3x3 rotation matrix from quaternions.

Parameters
*q1x4 vector of quaternions
**rotthe resulting 3x3 rotation matrix
void VRotationMatrix ( double  roll,
double  pitch,
double  yaw,
double  rot[3][3] 
)

Compute a 3x3 rotation matrix from roll,pitch and yaw.

Parameters
rollroll parameter
pitchpitch parameter
yawyaw parameter
rotthe resulting 3x3 rotation matrix