![]() |
Workspace 6.21.5
|
#include <DataAnalysis/DataStructures/array3ddata.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
using | const_reference = const T & |
using | pointer = T * |
using | reference = T & |
typedef T | value_type |
Public Member Functions | |
Array3dData () | |
Array3dData (const Array3dData &) | |
Array3dData (const unsigned *dimensions, const T &initialValue=T()) | |
Array3dData (unsigned x, unsigned y, unsigned z=1, const T &initialValue=T()) | |
~Array3dData () override | |
T & | back () |
const T & | back () const |
iterator | begin () |
const_iterator | begin () const |
qint64 | cacheKey () const |
Array3dData * | clone () const |
unsigned | dimension (unsigned i) const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
T & | front () |
const T & | front () const |
bool | operator!= (const Array3dData &matrix) const |
T & | operator() (unsigned x, unsigned y, unsigned z=0) |
const T & | operator() (unsigned x, unsigned y, unsigned z=0) const |
Array3dData & | operator= (const Array3dData &) |
bool | operator== (const Array3dData &) const |
void | resize (unsigned x, unsigned y, unsigned z, const T &initialValue=T()) |
unsigned | size () const |
unsigned | sizeX () const |
unsigned | sizeY () const |
unsigned | sizeZ () const |
![]() | |
virtual | ~Array3dDataBase ()=default |
Array3dDataBase & | operator= (const Array3dDataBase &)=default |
Protected Member Functions | |
unsigned | getIndex (unsigned x, unsigned y, unsigned z) const |
Protected Attributes | |
quint64 | cacheKey_ |
PartitionedVector< T > | cells_ |
unsigned | dimensions_ [3] {} |
Static Protected Attributes | |
static const unsigned | DEFAULT_VECTOR_BLOCK_SIZE = 100000 |
Template class for creating an 3-dimensional (N x N x N) matrix of a given type. Only used to ensure that all of the data matrix types use the same internal implementation. The implementation uses the PartitionedVector, which acts as a single dimensional array, but partitioned into multiple blocks of memory.
using const_reference = const T& |
using pointer = T* |
using reference = T& |
typedef T value_type |
Array3dData | ( | const Array3dData< T > & | matrix | ) |
Array3dData | ( | const unsigned * | dimensions, |
const T & | initialValue = T() |
||
) |
Array3dData | ( | unsigned | x, |
unsigned | y, | ||
unsigned | z = 1 , |
||
const T & | initialValue = T() |
||
) |
|
override |
|
inline |
|
inline |
|
inline |
|
inline |
qint64 cacheKey |
Generates a cache key, which is effectively a hash of the data matrix's contents.
Array3dData< T > * clone |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
T & operator() | ( | unsigned | x, |
unsigned | y, | ||
unsigned | z = 0 |
||
) |
const T & operator() | ( | unsigned | x, |
unsigned | y, | ||
unsigned | z = 0 |
||
) | const |
Array3dData< T > & operator= | ( | const Array3dData< T > & | ) |
bool operator== | ( | const Array3dData< T > & | ) | const |
void resize | ( | unsigned | x, |
unsigned | y, | ||
unsigned | z, | ||
const T & | initialValue = T() |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
staticprotected |
|
protected |