Classes | Functions
vnl_rotation_matrix.h File Reference

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

#include "vnl/vnl_export.h"

Go to the source code of this file.

Classes

class  vnl_vector< T >
 Mathematical vector class, templated by type of element. More...
 
class  vnl_matrix< T >
 An ordinary mathematical matrix. More...
 
class  vnl_vector_fixed< T, n >
 Fixed length stack-stored, space-efficient vector. More...
 
class  vnl_matrix_fixed< T, num_rows, num_cols >
 Fixed size, stack-stored, space-efficient matrix. More...
 

Functions

VNL_EXPORT bool vnl_rotation_matrix (double const axis[3], double **R)
 
VNL_EXPORT bool vnl_rotation_matrix (double const axis[3], double *R0, double *R1, double *R2)
 
VNL_EXPORT bool vnl_rotation_matrix (double const axis[3], double R[3][3])
 
VNL_EXPORT bool vnl_rotation_matrix (vnl_vector< double > const &axis, vnl_matrix< double > &R)
 
VNL_EXPORT bool vnl_rotation_matrix (vnl_vector_fixed< double, 3 > const &axis, vnl_matrix_fixed< double, 3, 3 > &R)
 
VNL_EXPORT 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||. More...
 
VNL_EXPORT 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||. More...
 

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

◆ vnl_rotation_matrix() [1/7]

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

Definition at line 5 of file vnl_rotation_matrix.cxx.

◆ vnl_rotation_matrix() [2/7]

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

Definition at line 42 of file vnl_rotation_matrix.cxx.

◆ vnl_rotation_matrix() [3/7]

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

Definition at line 36 of file vnl_rotation_matrix.cxx.

◆ vnl_rotation_matrix() [4/7]

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

Definition at line 64 of file vnl_rotation_matrix.cxx.

◆ vnl_rotation_matrix() [5/7]

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

Definition at line 51 of file vnl_rotation_matrix.cxx.

◆ vnl_rotation_matrix() [6/7]

VNL_EXPORT 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 57 of file vnl_rotation_matrix.cxx.

◆ vnl_rotation_matrix() [7/7]

VNL_EXPORT 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 69 of file vnl_rotation_matrix.cxx.