MOAB
4.9.3pre
|
Expression of one (or a set of) homogeneous vector(s) More...
#include <Homogeneous.h>
Public Types | |
enum | { Direction = _Direction } |
typedef MatrixType | NestedExpression |
typedef MatrixBase< Homogeneous > | Base |
Public Member Functions | |
Homogeneous (const MatrixType &matrix) | |
Index | rows () const |
Index | cols () const |
const NestedExpression & | nestedExpression () const |
template<typename Rhs > | |
const Product< Homogeneous, Rhs > | operator* (const MatrixBase< Rhs > &rhs) const |
template<typename Func > | |
EIGEN_STRONG_INLINE internal::result_of< Func(Scalar, Scalar)>::type | redux (const Func &func) const |
Protected Attributes | |
MatrixType::Nested | m_matrix |
Friends | |
template<typename Lhs > | |
const Product< Lhs, Homogeneous > | operator* (const MatrixBase< Lhs > &lhs, const Homogeneous &rhs) |
template<typename Scalar , int Dim, int Mode, int Options> | |
const Product< Transform < Scalar, Dim, Mode, Options > , Homogeneous > | operator* (const Transform< Scalar, Dim, Mode, Options > &lhs, const Homogeneous &rhs) |
Expression of one (or a set of) homogeneous vector(s)
MatrixType | the type of the object in which we are making homogeneous |
This class represents an expression of one (or a set of) homogeneous vector(s). It is the return type of MatrixBase::homogeneous() and most of the time this is the only way it is used.
Definition at line 60 of file Homogeneous.h.
typedef MatrixBase<Homogeneous> Eigen::Homogeneous< MatrixType, _Direction >::Base |
Reimplemented from Eigen::MatrixBase< Homogeneous< MatrixType, _Direction > >.
Definition at line 68 of file Homogeneous.h.
typedef MatrixType Eigen::Homogeneous< MatrixType, _Direction >::NestedExpression |
Definition at line 65 of file Homogeneous.h.
anonymous enum |
Eigen::Homogeneous< MatrixType, _Direction >::Homogeneous | ( | const MatrixType & | matrix | ) | [inline, explicit] |
Definition at line 71 of file Homogeneous.h.
Index Eigen::Homogeneous< MatrixType, _Direction >::cols | ( | void | ) | const [inline] |
Definition at line 76 of file Homogeneous.h.
{ return m_matrix.cols() + (int(Direction)==Horizontal ? 1 : 0); }
const NestedExpression& Eigen::Homogeneous< MatrixType, _Direction >::nestedExpression | ( | ) | const [inline] |
Definition at line 78 of file Homogeneous.h.
{ return m_matrix; }
const Product<Homogeneous,Rhs> Eigen::Homogeneous< MatrixType, _Direction >::operator* | ( | const MatrixBase< Rhs > & | rhs | ) | const [inline] |
Definition at line 82 of file Homogeneous.h.
{ eigen_assert(int(Direction)==Horizontal); return Product<Homogeneous,Rhs>(*this,rhs.derived()); }
EIGEN_STRONG_INLINE internal::result_of<Func(Scalar,Scalar)>::type Eigen::Homogeneous< MatrixType, _Direction >::redux | ( | const Func & | func | ) | const [inline] |
Definition at line 106 of file Homogeneous.h.
Index Eigen::Homogeneous< MatrixType, _Direction >::rows | ( | void | ) | const [inline] |
Definition at line 75 of file Homogeneous.h.
const Product<Lhs,Homogeneous> operator* | ( | const MatrixBase< Lhs > & | lhs, |
const Homogeneous< MatrixType, _Direction > & | rhs | ||
) | [friend] |
Definition at line 90 of file Homogeneous.h.
{ eigen_assert(int(Direction)==Vertical); return Product<Lhs,Homogeneous>(lhs.derived(),rhs); }
const Product<Transform<Scalar,Dim,Mode,Options>, Homogeneous > operator* | ( | const Transform< Scalar, Dim, Mode, Options > & | lhs, |
const Homogeneous< MatrixType, _Direction > & | rhs | ||
) | [friend] |
Definition at line 98 of file Homogeneous.h.
{ eigen_assert(int(Direction)==Vertical); return Product<Transform<Scalar,Dim,Mode,Options>, Homogeneous>(lhs,rhs); }
MatrixType::Nested Eigen::Homogeneous< MatrixType, _Direction >::m_matrix [protected] |
Definition at line 112 of file Homogeneous.h.