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

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

#include <FixedArray.h>

Public Member Functions

 FixedArray ()
 empty constructor (leaving data uninitialized) More...
 
 FixedArray (const T &x, const T &y, const T &z)
 constructor with given values, x, y and z 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, 3u >:: { ... }  
 
m_data [3]
 
x
 
y
 
z
 

Detailed Description

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

Specialization for 3D-matrics providing direct access to values x, y, z.

Constructor & Destructor Documentation

◆ FixedArray() [1/2]

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

empty constructor (leaving data uninitialized)

◆ FixedArray() [2/2]

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

constructor with given values, x, y and z

Member Function Documentation

◆ operator[]() [1/2]

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

index access operator

◆ operator[]() [2/2]

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

index access operator (const)

Member Data Documentation

◆ @7

union { ... }

◆ m_data

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

◆ x

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

◆ y

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

◆ z

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

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