#include <streamlines.h>
Public Member Functions | |
Array2d (int dimx, int dimy) | |
Common Constructor. | |
const T & | operator() (int x, int y) const |
Overloaded Operator for easy access, if the return value has to be defined 'const'. | |
T & | operator() (int x, int y) |
Overloaded Operator for easy access. | |
const int | GetSizeX () const |
Get the arrays x-dimension. | |
const int | GetSizeY () const |
Get the arrays y-dimension. | |
const std::vector< T > & | GetData () const |
Get the array data as continous vector. | |
Private Attributes | |
std::vector< T > | data |
Standard Vector holding the array's data. | |
Fixed array dimensions (specified only during creation - non changeable) | |
int | sizex |
int | sizey |
Definition at line 112 of file streamlines.h.
detail::Array2d< T >::Array2d | ( | int | dimx, | |
int | dimy | |||
) | [inline] |
const T& detail::Array2d< T >::operator() | ( | int | x, | |
int | y | |||
) | const [inline] |
Overloaded Operator for easy access, if the return value has to be defined 'const'.
Definition at line 132 of file streamlines.h.
T& detail::Array2d< T >::operator() | ( | int | x, | |
int | y | |||
) | [inline] |
const int detail::Array2d< T >::GetSizeX | ( | ) | const [inline] |
Get the arrays x-dimension.
Definition at line 148 of file streamlines.h.
Referenced by StreamlineGenerator::GetMinDistance().
const int detail::Array2d< T >::GetSizeY | ( | ) | const [inline] |
Get the arrays y-dimension.
Definition at line 152 of file streamlines.h.
Referenced by StreamlineGenerator::GetMinDistance().
const std::vector<T>& detail::Array2d< T >::GetData | ( | ) | const [inline] |
int detail::Array2d< T >::sizex [private] |
Definition at line 116 of file streamlines.h.
Referenced by detail::Array2d< std::list< vec2 > >::GetSizeX(), and detail::Array2d< std::list< vec2 > >::operator()().
int detail::Array2d< T >::sizey [private] |
Definition at line 117 of file streamlines.h.
Referenced by detail::Array2d< std::list< vec2 > >::GetSizeY(), and detail::Array2d< std::list< vec2 > >::operator()().
std::vector<T> detail::Array2d< T >::data [private] |
Standard Vector holding the array's data.
Definition at line 121 of file streamlines.h.
Referenced by detail::Array2d< std::list< vec2 > >::GetData(), and detail::Array2d< std::list< vec2 > >::operator()().