#include <rtcArray3.h>
Public Member Functions | |
Array3 () | |
Array3 (int n1, int n2, int n3) | |
Array3 (const Array< T, 3 > &a) | |
int | indexOf (int i1, int i2, int i3) const |
T & | operator() (int i1, int i2, int i3) |
T | operator() (int i1, int i2, int i3) const |
void | setSize (int n1, int n2, int n3) |
A 3-Dimensional Array
Definition at line 39 of file rtcArray3.h.
rtc::Array3< T >::Array3 | ( | ) | [inline] |
Ctor that does no initalization.
Definition at line 85 of file rtcArray3.h.
rtc::Array3< T >::Array3 | ( | int | n1, |
int | n2, | ||
int | n3 | ||
) | [inline] |
Ctor that starts with given dimensions
n1,n2,n3 | is the dimensions |
Definition at line 91 of file rtcArray3.h.
rtc::Array3< T >::Array3 | ( | const Array< T, 3 > & | a | ) | [inline] |
Ctor that initializes an Array3<T> with a Array<T,3>.
Definition at line 98 of file rtcArray3.h.
int rtc::Array3< T >::indexOf | ( | int | i1, |
int | i2, | ||
int | i3 | ||
) | const [inline] |
Returns linear index of given array indices
i1,i2,i3 | are the indices |
Definition at line 138 of file rtcArray3.h.
T & rtc::Array3< T >::operator() | ( | int | i1, |
int | i2, | ||
int | i3 | ||
) | [inline] |
Returns mutable reference to array element
i1,i2,i3 | are the indices |
Definition at line 116 of file rtcArray3.h.
T rtc::Array3< T >::operator() | ( | int | i1, |
int | i2, | ||
int | i3 | ||
) | const [inline] |
Returns inmutable reference to array element
i1,i2,i3 | are the indices |
Definition at line 127 of file rtcArray3.h.
void rtc::Array3< T >::setSize | ( | int | n1, |
int | n2, | ||
int | n3 | ||
) | [inline] |
Set the size of the array
n1,n2,n3 | are the sizes of the array in each dimension |
Definition at line 107 of file rtcArray3.h.