Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::utils::FixedArray< T, 4u > Struct Template Reference

Specialization for 4D-matrics providing direct access to values x, y, z and h. More...

#include <FixedArray.h>

Public Member Functions

 FixedArray ()
 empty constructor (leaving data uninitialized) More...
 
 FixedArray (const T &x, const T &y, const T &z, const T &w)
 constructor with given values, x, y, z and w More...
 
T & operator[] (unsigned int idx)
 index access operator More...
 
const T & operator[] (unsigned int idx) const
 index access operator (const) More...
 

Public Attributes

union icl::utils::FixedArray< T, 4u >:: { ... }  
 
m_data [4]
 
x
 
y
 
z
 
h
 
w
 

Detailed Description

template<class T>
struct icl::utils::FixedArray< T, 4u >

Specialization for 4D-matrics providing direct access to values x, y, z and h.

Constructor & Destructor Documentation

◆ FixedArray() [1/2]

template<class T >
icl::utils::FixedArray< T, 4u >::FixedArray ( )
inline

empty constructor (leaving data uninitialized)

◆ FixedArray() [2/2]

template<class T >
icl::utils::FixedArray< T, 4u >::FixedArray ( const T &  x,
const T &  y,
const T &  z,
const T &  w 
)
inline

constructor with given values, x, y, z and w

Member Function Documentation

◆ operator[]() [1/2]

template<class T >
T& icl::utils::FixedArray< T, 4u >::operator[] ( unsigned int  idx)
inline

index access operator

◆ operator[]() [2/2]

template<class T >
const T& icl::utils::FixedArray< T, 4u >::operator[] ( unsigned int  idx) const
inline

index access operator (const)

Member Data Documentation

◆ @11

union { ... }

◆ h

template<class T >
T icl::utils::FixedArray< T, 4u >::h

◆ m_data

template<class T >
T icl::utils::FixedArray< T, 4u >::m_data[4]

◆ w

template<class T >
T icl::utils::FixedArray< T, 4u >::w

◆ x

template<class T >
T icl::utils::FixedArray< T, 4u >::x

◆ y

template<class T >
T icl::utils::FixedArray< T, 4u >::y

◆ z

template<class T >
T icl::utils::FixedArray< T, 4u >::z

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