$extrastylesheet
#include <mln/fun/x2x/translation.hh>
Public Member Functions | |
translation () | |
translation (const algebra::vec< n, C > &t) | |
invert | inv () const |
algebra::vec< n, C > | inverse (const algebra::vec< n, C > &v) const |
const matrix & | mat () const |
algebra::vec< n, C > | operator() (const algebra::vec< n, C > &v) const |
void | set_t (const algebra::vec< n, C > &t) |
const algebra::vec< n, C > & | t () const |
Static Public Attributes | |
static const unsigned | dim |
Protected Member Functions | |
void | update () |
Protected Attributes | |
matrix | m_ |
algebra::vec< n, C > | t_ |
Public Types | |
typedef algebra::vec< n, C > | argument |
typedef Function_v2v< void > | category |
typedef C | data_t |
typedef translation< n, C > | exact_t |
typedef translation< n, C > | invert |
typedef algebra::h_mat< dim, C > | matrix |
typedef void | mutable_result |
typedef algebra::vec< n, C > | result |
Translation function-object.
Definition at line 52 of file x2x/translation.hh.
mln::fun::x2x::translation< n, C >::translation | ( | ) |
Constructor without argument.
mln::fun::x2x::translation< n, C >::translation | ( | const algebra::vec< n, C > & | t | ) |
Constructor with the translation vector.
invert mln::fun::x2x::translation< n, C >::inv | ( | ) | const |
Return the inverse function.
algebra::vec<n,C> mln::fun::x2x::translation< n, C >::inverse | ( | const algebra::vec< n, C > & | v | ) | const |
|
inherited |
algebra::vec<n,C> mln::fun::x2x::translation< n, C >::operator() | ( | const algebra::vec< n, C > & | v | ) | const |
Perform the translation of the given vector.
Reimplemented from mln::fun::internal::x2x_linear_impl_< algebra::vec< n, C >, C, translation< n, C > >.
void mln::fun::x2x::translation< n, C >::set_t | ( | const algebra::vec< n, C > & | t | ) |
Set a net translation vector.
const algebra::vec<n,C>& mln::fun::x2x::translation< n, C >::t | ( | ) | const |
Return the translation vector.
|
protected |
|
staticinherited |
Definition at line 51 of file x2x_linear_impl.hh.
|
protectedinherited |
Definition at line 68 of file x2x_linear_impl.hh.
|
protected |
Definition at line 85 of file x2x/translation.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::translation< n, C >::data_t |
Type of the underlying data stored in vectors and matrices.
Definition at line 59 of file x2x/translation.hh.
|
inherited |
typedef translation<n,C> mln::fun::x2x::translation< n, C >::invert |
Type of the inverse function.
Definition at line 62 of file x2x/translation.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.