Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
Eigen  3.3.9
Eigen::Homogeneous< MatrixType, _Direction > Class Template Reference

Detailed Description

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

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

This is defined in the Geometry module.

#include <Eigen/Geometry>
Parameters
MatrixTypethe 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()
+ Inheritance diagram for Eigen::Homogeneous< MatrixType, _Direction >:

Additional Inherited Members

- Public Types inherited from Eigen::DenseBase< Homogeneous< MatrixType, _Direction > >
typedef Array< typename internal::traits< Homogeneous< MatrixType, _Direction > >::Scalar, internal::traits< Homogeneous< MatrixType, _Direction > >::RowsAtCompileTime, internal::traits< Homogeneous< MatrixType, _Direction > >::ColsAtCompileTime, AutoAlign|(internal::traits< Homogeneous< MatrixType, _Direction > >::Flags &RowMajorBit?RowMajor:ColMajor), internal::traits< Homogeneous< MatrixType, _Direction > >::MaxRowsAtCompileTime, internal::traits< Homogeneous< MatrixType, _Direction > >::MaxColsAtCompileTimePlainArray
 
typedef Matrix< typename internal::traits< Homogeneous< MatrixType, _Direction > >::Scalar, internal::traits< Homogeneous< MatrixType, _Direction > >::RowsAtCompileTime, internal::traits< Homogeneous< MatrixType, _Direction > >::ColsAtCompileTime, AutoAlign|(internal::traits< Homogeneous< MatrixType, _Direction > >::Flags &RowMajorBit?RowMajor:ColMajor), internal::traits< Homogeneous< MatrixType, _Direction > >::MaxRowsAtCompileTime, internal::traits< Homogeneous< MatrixType, _Direction > >::MaxColsAtCompileTimePlainMatrix
 
typedef internal::conditional< internal::is_same< typename internal::traits< Homogeneous< MatrixType, _Direction > >::XprKind, MatrixXpr >::value, PlainMatrix, PlainArray >::type PlainObject
 The plain matrix or array type corresponding to this expression. More...
 
typedef internal::traits< Homogeneous< MatrixType, _Direction > >::Scalar Scalar
 
typedef internal::traits< Homogeneous< MatrixType, _Direction > >::StorageIndex StorageIndex
 The type used to store indices. More...
 
typedef Scalar value_type
 
- Public Member Functions inherited from Eigen::MatrixBase< Homogeneous< MatrixType, _Direction > >
ArrayWrapper< Homogeneous< MatrixType, _Direction > > array ()
 
const ArrayWrapper< const Homogeneous< MatrixType, _Direction > > array () const
 
const CwiseBinaryOp< CustomBinaryOp, const Homogeneous< MatrixType, _Direction >, const OtherDerived > binaryExpr (const Eigen::MatrixBase< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
 
CastXpr< NewType >::Type cast () const
 
ConjugateReturnType conjugate () const
 
const MatrixFunctionReturnValue< Homogeneous< MatrixType, _Direction > > cos () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise cosine use ArrayBase::cos . More...
 
const MatrixFunctionReturnValue< Homogeneous< MatrixType, _Direction > > cosh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise hyperbolic cosine use ArrayBase::cosh . More...
 
const CwiseAbsReturnType cwiseAbs () const
 
const CwiseAbs2ReturnType cwiseAbs2 () const
 
const CwiseBinaryOp< std::equal_to< Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > cwiseEqual (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseScalarEqualReturnType cwiseEqual (const Scalar &s) const
 
const CwiseInverseReturnType cwiseInverse () const
 
const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > cwiseMax (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar >, const Homogeneous< MatrixType, _Direction >, const ConstantReturnType > cwiseMax (const Scalar &other) const
 
const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > cwiseMin (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar >, const Homogeneous< MatrixType, _Direction >, const ConstantReturnType > cwiseMin (const Scalar &other) const
 
const CwiseBinaryOp< std::not_equal_to< Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > cwiseNotEqual (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_product_op< Homogeneous< MatrixType, _Direction >::Scalar, OtherDerived::Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > cwiseProduct (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > cwiseQuotient (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseSignReturnType cwiseSign () const
 
const CwiseSqrtReturnType cwiseSqrt () const
 
Index diagonalSize () const
 
const MatrixExponentialReturnValue< Homogeneous< MatrixType, _Direction > > exp () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise exponential use ArrayBase::exp . More...
 
const ImagReturnType imag () const
 
NonConstImagReturnType imag ()
 
const MatrixLogarithmReturnValue< Homogeneous< MatrixType, _Direction > > log () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise logarithm use ArrayBase::log . More...
 
const MatrixFunctionReturnValue< Homogeneous< MatrixType, _Direction > > matrixFunction (StemFunction f) const
 Helper function for the unsupported MatrixFunctions module.
 
bool operator!= (const MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_boolean_and_op, const Homogeneous< MatrixType, _Direction >, const OtherDerived > operator&& (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_product_op< Scalar, T >, Homogeneous< MatrixType, _Direction >, Constant< T > > operator* (const T &scalar) const
 
const CwiseBinaryOp< sum< Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > operator+ (const Eigen::MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< difference< Scalar >, const Homogeneous< MatrixType, _Direction >, const OtherDerived > operator- (const Eigen::MatrixBase< OtherDerived > &other) const
 
const NegativeReturnType operator- () const
 
const CwiseBinaryOp< internal::scalar_quotient_op< Scalar, T >, Homogeneous< MatrixType, _Direction >, Constant< T > > operator/ (const T &scalar) const
 
Homogeneous< MatrixType, _Direction > & operator= (const MatrixBase &other)
 
bool operator== (const MatrixBase< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_boolean_or_op, const Homogeneous< MatrixType, _Direction >, const OtherDerived > operator|| (const Eigen::MatrixBase< OtherDerived > &other) const
 
const MatrixPowerReturnValue< Homogeneous< MatrixType, _Direction > > pow (const RealScalar &p) const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise power to p use ArrayBase::pow . More...
 
const MatrixComplexPowerReturnValue< Homogeneous< MatrixType, _Direction > > pow (const std::complex< RealScalar > &p) const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise power to p use ArrayBase::pow . More...
 
RealReturnType real () const
 
NonConstRealReturnType real ()
 
const MatrixFunctionReturnValue< Homogeneous< MatrixType, _Direction > > sin () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise sine use ArrayBase::sin . More...
 
const MatrixFunctionReturnValue< Homogeneous< MatrixType, _Direction > > sinh () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise hyperbolic sine use ArrayBase::sinh . More...
 
const MatrixSquareRootReturnValue< Homogeneous< MatrixType, _Direction > > sqrt () const
 This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise square root use ArrayBase::sqrt . More...
 
const CwiseUnaryOp< CustomUnaryOp, const Homogeneous< MatrixType, _Direction > > unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise. More...
 
const CwiseUnaryView< CustomViewOp, const Homogeneous< MatrixType, _Direction > > unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
 
- Public Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, _Direction > >
BlockXpr block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const ConstBlockXpr block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 This is the const version of block(Index,Index,Index,Index). */.
 
FixedBlockXpr< NRows, NCols >::Type block (Index startRow, Index startCol)
 
const ConstFixedBlockXpr< NRows, NCols >::Type block (Index startRow, Index startCol) const
 This is the const version of block<>(Index, Index). */.
 
FixedBlockXpr< NRows, NCols >::Type block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const ConstFixedBlockXpr< NRows, NCols >::Type block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 This is the const version of block<>(Index, Index, Index, Index).
 
BlockXpr bottomLeftCorner (Index cRows, Index cCols)
 
const ConstBlockXpr bottomLeftCorner (Index cRows, Index cCols) const
 This is the const version of bottomLeftCorner(Index, Index).
 
FixedBlockXpr< CRows, CCols >::Type bottomLeftCorner ()
 
const ConstFixedBlockXpr< CRows, CCols >::Type bottomLeftCorner () const
 This is the const version of bottomLeftCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type bottomLeftCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr< CRows, CCols >::Type bottomLeftCorner (Index cRows, Index cCols) const
 This is the const version of bottomLeftCorner<int, int>(Index, Index).
 
BlockXpr bottomRightCorner (Index cRows, Index cCols)
 
const ConstBlockXpr bottomRightCorner (Index cRows, Index cCols) const
 This is the const version of bottomRightCorner(Index, Index).
 
FixedBlockXpr< CRows, CCols >::Type bottomRightCorner ()
 
const ConstFixedBlockXpr< CRows, CCols >::Type bottomRightCorner () const
 This is the const version of bottomRightCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type bottomRightCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr< CRows, CCols >::Type bottomRightCorner (Index cRows, Index cCols) const
 This is the const version of bottomRightCorner<int, int>(Index, Index).
 
RowsBlockXpr bottomRows (Index n)
 
ConstRowsBlockXpr bottomRows (Index n) const
 This is the const version of bottomRows(Index).
 
NRowsBlockXpr< N >::Type bottomRows (Index n=N)
 
ConstNRowsBlockXpr< N >::Type bottomRows (Index n=N) const
 This is the const version of bottomRows<int>().
 
ColXpr col (Index i)
 
ConstColXpr col (Index i) const
 This is the const version of col().
 
ConstColwiseReturnType colwise () const
 
EvalReturnType eval () const
 
EIGEN_DEPRECATED const Homogeneous< MatrixType, _Direction > & flagged () const
 
const WithFormat< Homogeneous< MatrixType, _Direction > > format (const IOFormat &fmt) const
 
SegmentReturnType head (Index n)
 
ConstSegmentReturnType head (Index n) const
 This is the const version of head(Index).
 
FixedSegmentReturnType< N >::Type head (Index n=N)
 
ConstFixedSegmentReturnType< N >::Type head (Index n=N) const
 This is the const version of head<int>().
 
Index innerSize () const
 
ColsBlockXpr leftCols (Index n)
 
ConstColsBlockXpr leftCols (Index n) const
 This is the const version of leftCols(Index).
 
NColsBlockXpr< N >::Type leftCols (Index n=N)
 
ConstNColsBlockXpr< N >::Type leftCols (Index n=N) const
 This is the const version of leftCols<int>().
 
ColsBlockXpr middleCols (Index startCol, Index numCols)
 
ConstColsBlockXpr middleCols (Index startCol, Index numCols) const
 This is the const version of middleCols(Index,Index).
 
NColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N)
 
ConstNColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N) const
 This is the const version of middleCols<int>().
 
RowsBlockXpr middleRows (Index startRow, Index n)
 
ConstRowsBlockXpr middleRows (Index startRow, Index n) const
 This is the const version of middleRows(Index,Index).
 
NRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N)
 
ConstNRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N) const
 This is the const version of middleRows<int>().
 
Index nonZeros () const
 
Homogeneous< MatrixType, _Direction > & operator= (const DenseBase< OtherDerived > &other)
 
Homogeneous< MatrixType, _Direction > & operator= (const DenseBase &other)
 
Index outerSize () const
 
const Replicate< Homogeneous< MatrixType, _Direction >, Dynamic, Dynamic > replicate (Index rowFactor, Index colFactor) const
 
void resize (Index newSize)
 
void resize (Index rows, Index cols)
 
ConstReverseReturnType reverse () const
 
ColsBlockXpr rightCols (Index n)
 
ConstColsBlockXpr rightCols (Index n) const
 This is the const version of rightCols(Index).
 
NColsBlockXpr< N >::Type rightCols (Index n=N)
 
ConstNColsBlockXpr< N >::Type rightCols (Index n=N) const
 This is the const version of rightCols<int>().
 
RowXpr row (Index i)
 
ConstRowXpr row (Index i) const
 This is the const version of row(). */.
 
ConstRowwiseReturnType rowwise () const
 
SegmentReturnType segment (Index start, Index n)
 
ConstSegmentReturnType segment (Index start, Index n) const
 This is the const version of segment(Index,Index).
 
FixedSegmentReturnType< N >::Type segment (Index start, Index n=N)
 
ConstFixedSegmentReturnType< N >::Type segment (Index start, Index n=N) const
 This is the const version of segment<int>(Index).
 
void swap (const DenseBase< OtherDerived > &other)
 
void swap (PlainObjectBase< OtherDerived > &other)
 
SegmentReturnType tail (Index n)
 
ConstSegmentReturnType tail (Index n) const
 This is the const version of tail(Index).
 
FixedSegmentReturnType< N >::Type tail (Index n=N)
 
ConstFixedSegmentReturnType< N >::Type tail (Index n=N) const
 This is the const version of tail<int>.
 
BlockXpr topLeftCorner (Index cRows, Index cCols)
 
const ConstBlockXpr topLeftCorner (Index cRows, Index cCols) const
 This is the const version of topLeftCorner(Index, Index).
 
FixedBlockXpr< CRows, CCols >::Type topLeftCorner ()
 
const ConstFixedBlockXpr< CRows, CCols >::Type topLeftCorner () const
 This is the const version of topLeftCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type topLeftCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr< CRows, CCols >::Type topLeftCorner (Index cRows, Index cCols) const
 This is the const version of topLeftCorner<int, int>(Index, Index).
 
BlockXpr topRightCorner (Index cRows, Index cCols)
 
const ConstBlockXpr topRightCorner (Index cRows, Index cCols) const
 This is the const version of topRightCorner(Index, Index).
 
FixedBlockXpr< CRows, CCols >::Type topRightCorner ()
 
const ConstFixedBlockXpr< CRows, CCols >::Type topRightCorner () const
 This is the const version of topRightCorner<int, int>().
 
FixedBlockXpr< CRows, CCols >::Type topRightCorner (Index cRows, Index cCols)
 
const ConstFixedBlockXpr< CRows, CCols >::Type topRightCorner (Index cRows, Index cCols) const
 This is the const version of topRightCorner<int, int>(Index, Index).
 
RowsBlockXpr topRows (Index n)
 
ConstRowsBlockXpr topRows (Index n) const
 This is the const version of topRows(Index).
 
NRowsBlockXpr< N >::Type topRows (Index n=N)
 
ConstNRowsBlockXpr< N >::Type topRows (Index n=N) const
 This is the const version of topRows<int>().
 
CoeffReturnType value () const
 
- Protected Member Functions inherited from Eigen::DenseBase< Homogeneous< MatrixType, _Direction > >
 DenseBase ()
 

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