Public Types | Public Member Functions | Protected Attributes | Friends

Homogeneous< MatrixType, _Direction > Class Template Reference
[Geometry_Module]

Expression of one (or a set of) homogeneous vector(s). More...

#include <Homogeneous.h>

Inheritance diagram for Homogeneous< MatrixType, _Direction >:
MatrixBase< Homogeneous< MatrixType, _Direction > > DenseBase< Homogeneous< MatrixType, _Direction > > internal::special_scalar_op_base< Derived, Scalar, OtherScalar, EnableIt > DenseCoeffsBase

List of all members.

Public Types

enum  { Direction = _Direction }
typedef MatrixBase< HomogeneousBase

Public Member Functions

 Homogeneous (const MatrixType &matrix)
Index rows () const
Index cols () const
Scalar coeff (Index row, Index col) const
template<typename Rhs >
const
internal::homogeneous_right_product_impl
< Homogeneous, Rhs > 
operator* (const MatrixBase< Rhs > &rhs) const

Protected Attributes

const MatrixType::Nested m_matrix

Friends

template<typename Lhs >
const
internal::homogeneous_left_product_impl
< Homogeneous, Lhs > 
operator* (const MatrixBase< Lhs > &lhs, const Homogeneous &rhs)
template<typename Scalar , int Dim, int Mode, int Options>
const
internal::homogeneous_left_product_impl
< Homogeneous, Transform
< Scalar, Dim, Mode, Options > > 
operator* (const Transform< Scalar, Dim, Mode, Options > &lhs, const Homogeneous &rhs)

Detailed Description

template<typename MatrixType, int _Direction>
class Homogeneous< MatrixType, _Direction >

Expression of one (or a set of) homogeneous vector(s).

Parameters:
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.

See also:
MatrixBase::homogeneous()

Member Typedef Documentation

template<typename MatrixType, int _Direction>
typedef MatrixBase<Homogeneous> Homogeneous< MatrixType, _Direction >::Base

Member Enumeration Documentation

template<typename MatrixType, int _Direction>
anonymous enum
Enumerator:
Direction 

Constructor & Destructor Documentation

template<typename MatrixType, int _Direction>
Homogeneous< MatrixType, _Direction >::Homogeneous ( const MatrixType &  matrix  )  [inline]

Member Function Documentation

template<typename MatrixType, int _Direction>
Scalar Homogeneous< MatrixType, _Direction >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename MatrixType, int _Direction>
Index Homogeneous< MatrixType, _Direction >::cols ( void   )  const [inline]
template<typename MatrixType, int _Direction>
template<typename Rhs >
const internal::homogeneous_right_product_impl<Homogeneous,Rhs> Homogeneous< MatrixType, _Direction >::operator* ( const MatrixBase< Rhs > &  rhs  )  const [inline]
template<typename MatrixType, int _Direction>
Index Homogeneous< MatrixType, _Direction >::rows ( void   )  const [inline]

Friends And Related Function Documentation

template<typename MatrixType, int _Direction>
template<typename Lhs >
const internal::homogeneous_left_product_impl<Homogeneous,Lhs> operator* ( const MatrixBase< Lhs > &  lhs,
const Homogeneous< MatrixType, _Direction > &  rhs 
) [friend]
template<typename MatrixType, int _Direction>
template<typename Scalar , int Dim, int Mode, int Options>
const internal::homogeneous_left_product_impl<Homogeneous,Transform<Scalar,Dim,Mode,Options> > operator* ( const Transform< Scalar, Dim, Mode, Options > &  lhs,
const Homogeneous< MatrixType, _Direction > &  rhs 
) [friend]

Member Data Documentation

template<typename MatrixType, int _Direction>
const MatrixType::Nested Homogeneous< MatrixType, _Direction >::m_matrix [protected]

The documentation for this class was generated from the following file: