OpendTect
6.6
|
Contains the information about the size of ArrayND, and in what order the data is stored (if accessable via a pointer). More...
Public Types | |
typedef nr_dims_type | dim_idx_type |
typedef size_type | idx_type |
typedef const idx_type * | NDPos |
typedef TypeSet< idx_type > | NDPosBuf |
typedef const size_type * | NDSize |
typedef short | nr_dims_type |
typedef int64_t | offset_type |
typedef int | size_type |
typedef offset_type | total_size_type |
Public Member Functions | |
virtual | ~ArrayNDInfo () |
virtual ArrayNDInfo * | clone () const =0 |
virtual bool | getArrayPos (uint64_t, int *) const |
virtual int | getNDim () const =0 |
virtual uint64_t | getOffset (const int *) const |
virtual int | getSize (int dim) const =0 |
virtual uint64_t | getTotalSz () const |
virtual bool | isOK () const |
int | nrDims () const |
virtual bool | setSize (int dim, int sz) |
bool | validDimPos (int dim, int pos) const |
virtual bool | validPos (const int *) const |
Protected Member Functions | |
uint64_t | calcTotalSz () const |
Contains the information about the size of ArrayND, and in what order the data is stored (if accessable via a pointer).
<>
typedef size_type ArrayNDInfo::idx_type |
typedef const idx_type* ArrayNDInfo::NDPos |
typedef TypeSet<idx_type> ArrayNDInfo::NDPosBuf |
typedef const size_type* ArrayNDInfo::NDSize |
typedef short ArrayNDInfo::nr_dims_type |
typedef int64_t ArrayNDInfo::offset_type |
typedef int ArrayNDInfo::size_type |
|
inlinevirtual |
|
protected |
|
pure virtual |
Implemented in ArrayNDInfoImpl, Array4DInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Given an offset, what is the ND position.
|
pure virtual |
Implemented in ArrayNDInfoImpl, Array4DInfo, Array3DInfo, Array2DInfo, and Array1DInfo.
|
virtual |
Returns offset in a 'flat' array.
Reimplemented in Array4DInfo, Array3DInfo, Array2DInfo, and Array1DInfo.
|
pure virtual |
Implemented in ArrayNDInfoImpl, Array4DInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Reimplemented in ArrayNDInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Reimplemented in ArrayNDInfoImpl, Array4DInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
inline |
|
virtual |
Reimplemented in ArrayNDInfoImpl, Array4DInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
bool ArrayNDInfo::validDimPos | ( | int | dim, |
int | pos | ||
) | const |
Checks if the position exists on a certain dim.
|
virtual |
Checks if the position exists.
Reimplemented in Array4DInfo, Array3DInfo, Array2DInfo, and Array1DInfo.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022