![]() |
OpendTect 8.0
|
Contains the information about the size of ArrayND, and in what order the data is stored (if accessable via a pointer). More...
#include <arrayndinfo.h>
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 od_int16 | nr_dims_type |
| typedef od_int64 | offset_type |
| typedef od_int32 | size_type |
| typedef offset_type | total_size_type |
Public Member Functions | |
| virtual | ~ArrayNDInfo () |
| virtual ArrayNDInfo * | clone () const =0 |
| virtual bool | getArrayPos (od_uint64, int *) const |
| virtual int | getNDim () const =0 |
| virtual od_uint64 | getOffset (const int *) const |
| virtual int | getSize (int dim) const =0 |
| virtual od_uint64 | 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 | |
| od_uint64 | 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 od_int16 ArrayNDInfo::nr_dims_type |
| typedef od_int64 ArrayNDInfo::offset_type |
| typedef od_int32 ArrayNDInfo::size_type |
|
inlinevirtual |
|
protected |
|
pure virtual |
Implemented in Array1DInfoImpl, Array2DInfoImpl, Array3DInfoImpl, Array4DInfoImpl, and ArrayNDInfoImpl.
|
virtual |
Given an offset, what is the ND position.
|
pure virtual |
Implemented in Array1DInfo, Array2DInfo, Array3DInfo, Array4DInfo, and ArrayNDInfoImpl.
|
virtual |
Returns offset in a 'flat' array.
Reimplemented in Array1DInfo, Array2DInfo, Array3DInfo, and Array4DInfo.
|
pure virtual |
Implemented in Array1DInfoImpl, Array2DInfoImpl, Array3DInfoImpl, Array4DInfoImpl, and ArrayNDInfoImpl.
|
virtual |
Reimplemented in Array1DInfoImpl, Array2DInfoImpl, Array3DInfoImpl, and ArrayNDInfoImpl.
|
virtual |
Reimplemented in Array1DInfoImpl, Array2DInfoImpl, Array3DInfoImpl, Array4DInfoImpl, and ArrayNDInfoImpl.
|
inline |
|
virtual |
Reimplemented in Array1DInfoImpl, Array2DInfoImpl, Array3DInfoImpl, Array4DInfoImpl, and ArrayNDInfoImpl.
| 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 Array1DInfo, Array2DInfo, Array3DInfo, and Array4DInfo.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025