Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess > Class Template Reference

#include <Block.h>

Inheritance diagram for Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ei_traits< Block >
::AlignedDerivedType 
AlignedDerivedType

Public Member Functions

AlignedDerivedType _convertToForceAligned ()
 Block (const MatrixType &matrix, int startRow, int startCol, int blockRows, int blockCols)
 Block (const MatrixType &matrix, int startRow, int startCol)
 Block (const MatrixType &matrix, int i)
int stride (void) const

Protected Member Functions

 Block (const MatrixType &matrix, const Scalar *data, int blockRows, int blockCols)

Protected Attributes

const MatrixType::Nested m_matrix

Friends

class Block< MatrixType, BlockRows, BlockCols, PacketAccess==int(AsRequested)?ForceAligned:AsRequested, HasDirectAccess >

Detailed Description

template<typename MatrixType, int BlockRows, int BlockCols, int PacketAccess>
class Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >

Definition at line 216 of file Block.h.


Member Typedef Documentation

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
typedef ei_traits<Block>::AlignedDerivedType Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::AlignedDerivedType

Constructor & Destructor Documentation

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::Block ( const MatrixType &  matrix,
int  i 
) [inline]

Column or Row constructor

Definition at line 237 of file Block.h.

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::Block ( const MatrixType &  matrix,
int  startRow,
int  startCol 
) [inline]

Fixed-size constructor

Definition at line 252 of file Block.h.

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::Block ( const MatrixType &  matrix,
int  startRow,
int  startCol,
int  blockRows,
int  blockCols 
) [inline]

Dynamic-size constructor

Definition at line 261 of file Block.h.

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::Block ( const MatrixType &  matrix,
const Scalar data,
int  blockRows,
int  blockCols 
) [inline, protected]

Definition at line 278 of file Block.h.


Member Function Documentation

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
AlignedDerivedType Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::_convertToForceAligned (  )  [inline]

Definition at line 229 of file Block.h.

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
int Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::stride ( void   )  const [inline]
Returns:
number of elements to skip to pass from one row (resp. column) to another for a row-major (resp. column-major) matrix. Combined with coeffRef() and the flags flags, it allows a direct access to the data of the underlying matrix.

Reimplemented from MapBase< Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess > >.

Definition at line 273 of file Block.h.


Friends And Related Function Documentation

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
friend class Block< MatrixType, BlockRows, BlockCols, PacketAccess==int(AsRequested)?ForceAligned:AsRequested, HasDirectAccess > [friend]

Definition at line 225 of file Block.h.


Member Data Documentation

template<typename MatrixType , int BlockRows, int BlockCols, int PacketAccess>
const MatrixType::Nested Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess >::m_matrix [protected]

Definition at line 282 of file Block.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:21:49 2013