OpendTect-6_4
6.4
|
Contains the information about the size of ArrayND, and in what order the data is stored (if accessable via a pointer). More...
Public Member Functions | |
virtual ArrayNDInfo * | clone () const =0 |
virtual | ~ArrayNDInfo () |
virtual int | getNDim () const =0 |
virtual int | getSize (int dim) const =0 |
virtual bool | setSize (int dim, int sz) |
virtual bool | isOK () const |
virtual uint64_t | getTotalSz () const |
virtual uint64_t | getOffset (const int *) const |
virtual bool | validPos (const int *) const |
bool | validDimPos (int dim, int pos) const |
virtual bool | getArrayPos (uint64_t, 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).
|
inlinevirtual |
|
protected |
|
pure virtual |
Implemented in ArrayNDInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Given an offset, what is the ND position.
|
pure virtual |
Implemented in ArrayNDInfoImpl, Array3DInfo, Array2DInfo, and Array1DInfo.
|
virtual |
Returns offset in a 'flat' array.
Reimplemented in Array3DInfo, Array2DInfo, and Array1DInfo.
|
pure virtual |
Implemented in ArrayNDInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Reimplemented in ArrayNDInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Reimplemented in ArrayNDInfoImpl, Array3DInfoImpl, Array2DInfoImpl, and Array1DInfoImpl.
|
virtual |
Reimplemented in ArrayNDInfoImpl, 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 Array3DInfo, Array2DInfo, and Array1DInfo.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019