Functions
core/vnl/vnl_rotation_matrix.h File Reference

Functions to create a 3x3 rotation matrix. More...

Go to the source code of this file.

Functions

bool vnl_rotation_matrix (double const axis[3], double **R)
bool vnl_rotation_matrix (double const axis[3], double *R0, double *R1, double *R2)
bool vnl_rotation_matrix (double const axis[3], double R[3][3])
bool vnl_rotation_matrix (vnl_vector< double > const &axis, vnl_matrix< double > &R)
bool vnl_rotation_matrix (vnl_vector_fixed< double, 3 > const &axis, vnl_matrix_fixed< double, 3, 3 > &R)
vnl_matrix_fixed< double, 3, 3 > vnl_rotation_matrix (vnl_vector_fixed< double, 3 > const &axis)
 Returns an orthogonal 3x3 matrix which is a rotation about the axis, by an angle equal to ||axis||.
vnl_matrix< double > vnl_rotation_matrix (vnl_vector< double > const &axis)
 Returns an orthogonal 3x3 matrix which is a rotation about the axis, by an angle equal to ||axis||.

Detailed Description

Functions to create a 3x3 rotation matrix.

The result is a (special) orthogonal 3x3 matrix which is a rotation about the axis, by an angle equal to ||axis||.

    Modifications:
     12-Jan-2007 Peter Vanroose - Added vnl_matrix_fixed interface
   

Definition in file vnl_rotation_matrix.h.


Function Documentation

bool vnl_rotation_matrix ( double const  axis[3],
double **  R 
)

Definition at line 6 of file vnl_rotation_matrix.cxx.

bool vnl_rotation_matrix ( double const  axis[3],
double *  R0,
double *  R1,
double *  R2 
)

Definition at line 55 of file vnl_rotation_matrix.cxx.

bool vnl_rotation_matrix ( double const  axis[3],
double  R[3][3] 
)

Definition at line 49 of file vnl_rotation_matrix.cxx.

bool vnl_rotation_matrix ( vnl_vector< double > const &  axis,
vnl_matrix< double > &  R 
)

Definition at line 80 of file vnl_rotation_matrix.cxx.

bool vnl_rotation_matrix ( vnl_vector_fixed< double, 3 > const &  axis,
vnl_matrix_fixed< double, 3, 3 > &  R 
)

Definition at line 64 of file vnl_rotation_matrix.cxx.

vnl_matrix_fixed<double,3,3> vnl_rotation_matrix ( vnl_vector_fixed< double, 3 > const &  axis)

Returns an orthogonal 3x3 matrix which is a rotation about the axis, by an angle equal to ||axis||.

Definition at line 70 of file vnl_rotation_matrix.cxx.

vnl_matrix<double> vnl_rotation_matrix ( vnl_vector< double > const &  axis)

Returns an orthogonal 3x3 matrix which is a rotation about the axis, by an angle equal to ||axis||.

Definition at line 85 of file vnl_rotation_matrix.cxx.