$extrastylesheet
#include <mln/fun/x2x/rotation.hh>
Public Member Functions | |
| rotation () | |
| rotation (const C &alpha, const algebra::vec< n, C > &axis=literal::zero) | |
| rotation (const algebra::quat &q) | |
| rotation (const algebra::h_mat< n, C > &m) | |
| invert | inv () const |
| const matrix & | mat () const |
| algebra::vec< n, C > | operator() (const algebra::vec< n, C > &v) const |
Static Public Attributes | |
| static const unsigned | dim |
Protected Member Functions | |
| bool | check_rotation (const algebra::quat &q) |
| void | update (const C &alpha, const algebra::vec< n, C > &axis) |
Protected Attributes | |
| matrix | m_ |
Public Types | |
| typedef algebra::vec< n, C > | argument |
| typedef Function_v2v< void > | category |
| typedef C | data_t |
| typedef rotation< n, C > | exact_t |
| typedef rotation< n, C > | invert |
| typedef algebra::h_mat< dim, C > | matrix |
| typedef void | mutable_result |
| typedef algebra::vec< n, C > | result |
Represent a rotation function.
Definition at line 151 of file rotation.hh.
| mln::fun::x2x::rotation< n, C >::rotation | ( | ) |
Constructor without argument.
| mln::fun::x2x::rotation< n, C >::rotation | ( | const C & | alpha, |
| const algebra::vec< n, C > & | axis = literal::zero |
||
| ) |
Constructor with radian alpha and an optional direction (rotation axis).
| mln::fun::x2x::rotation< n, C >::rotation | ( | const algebra::quat & | q | ) |
Constructor with quaternion.
| mln::fun::x2x::rotation< n, C >::rotation | ( | const algebra::h_mat< n, C > & | m | ) |
Constructor with h_mat.
|
protected |
| invert mln::fun::x2x::rotation< n, C >::inv | ( | ) | const |
Return the inverse function.
|
inherited |
| algebra::vec<n,C> mln::fun::x2x::rotation< n, C >::operator() | ( | const algebra::vec< n, C > & | v | ) | const |
Perform the rotation of the given vector.
Reimplemented from mln::fun::internal::x2x_linear_impl_< algebra::vec< n, C >, C, rotation< n, C > >.
|
protected |
|
staticinherited |
Definition at line 51 of file x2x_linear_impl.hh.
|
protectedinherited |
Definition at line 68 of file x2x_linear_impl.hh.
|
inherited |
Definition at line 53 of file x2x_linear_impl.hh.
|
inherited |
Definition at line 134 of file function.hh.
| typedef C mln::fun::x2x::rotation< n, C >::data_t |
Type of the underlying data stored in vectors and matrices.
Definition at line 156 of file rotation.hh.
|
inherited |
| typedef rotation<n,C> mln::fun::x2x::rotation< n, C >::invert |
Type of the inverse function.
Definition at line 159 of file rotation.hh.
|
inherited |
Definition at line 55 of file x2x_linear_impl.hh.
|
inherited |
Definition at line 135 of file function.hh.
|
inherited |
Definition at line 54 of file x2x_linear_impl.hh.