Image Component Library (ICL)
|
Fixed C++-array wrapper class for data handling. More...
#include <FixedArray.h>
Inherited by icl::math::FixedMatrix< float, 1, DIM >, icl::math::FixedMatrix< icl8u, 1, DIM >, icl::math::FixedMatrix< int, 1, DIM >, and icl::math::FixedMatrix< Scalar, 1, DIM >.
Public Member Functions | |
T & | operator[] (unsigned int idx) |
index access operator | |
const T & | operator[] (unsigned int idx) const |
index access operator (const) | |
Public Attributes | |
T | m_data [DIM] |
Fixed C++-array wrapper class for data handling.
This class is specialized for the DIM values 1,2,3 and 4 FixedArray<T,1> contains a union that shares the 1-dim data with a single value x. FixedArray<T,2> has extra values x,y, then x,y,z and finally x,y,z,w (w can also be called h)
T& icl::utils::FixedArray< T, DIM >::operator[] | ( | unsigned int | idx | ) | [inline] |
index access operator
Reimplemented in icl::math::FixedMatrix< T, COLS, ROWS >, icl::math::FixedMatrix< Scalar, 1, DIM >, icl::math::FixedMatrix< float, 1, DIM >, icl::math::FixedMatrix< icl8u, 1, DIM >, icl::math::FixedMatrix< T, DIM, 1 >, icl::math::FixedMatrix< int, 1, DIM >, icl::math::FixedMatrix< T, 3, 3 >, and icl::math::FixedMatrix< T, 1, DIM >.
const T& icl::utils::FixedArray< T, DIM >::operator[] | ( | unsigned int | idx | ) | const [inline] |
index access operator (const)
Reimplemented in icl::math::FixedMatrix< T, COLS, ROWS >, icl::math::FixedMatrix< Scalar, 1, DIM >, icl::math::FixedMatrix< float, 1, DIM >, icl::math::FixedMatrix< icl8u, 1, DIM >, icl::math::FixedMatrix< T, DIM, 1 >, icl::math::FixedMatrix< int, 1, DIM >, icl::math::FixedMatrix< T, 3, 3 >, and icl::math::FixedMatrix< T, 1, DIM >.
T icl::utils::FixedArray< T, DIM >::m_data[DIM] |