![]() |
OpendTect
7.0
|
Base class of Array1DSlice and Array2DSlice. Access-tool to another ArrayND with higher dimensionality. More...
Public Member Functions | |
| virtual | ~ArrayNDSliceBase () |
| int | getDimSize (int dim) const |
| int | getPos (int dim) const |
| bool | init () |
| void | setDimMap (int localdim, int remotedim) |
| bool | setPos (int dim, int pos) |
Protected Member Functions | |
| ArrayNDSliceBase (ArrayNDInfo *, const ArrayNDInfo &) | |
| void | getSourcePos (const int *localpos, int *sourcepos) const |
Protected Attributes | |
| ArrayNDInfo & | info_ |
| std::int64_t | offset_ |
| TypeSet< int > | position_ |
| const ArrayNDInfo & | sourceinfo_ |
| TypeSet< int > | vardim_ |
Base class of Array1DSlice and Array2DSlice. Access-tool to another ArrayND with higher dimensionality.
ArrayXDSlice is an ArrayND that is an access-tool to another ArrayND with higher dimensionality. It can be used to get Array1D through a Array3D cube. Use setPos(int,int) to set the fixed positions and leave out the positions that should vary. When all positions are set, call init().
To unset a position, set it to -1. If positions are unset, init has to be called prior to dataaccesing functions.
<>
|
virtual |
|
protected |
| int ArrayNDSliceBase::getDimSize | ( | int | dim | ) | const |
| int ArrayNDSliceBase::getPos | ( | int | dim | ) | const |
|
protected |
| bool ArrayNDSliceBase::init | ( | ) |
| void ArrayNDSliceBase::setDimMap | ( | int | localdim, |
| int | remotedim | ||
| ) |
| bool ArrayNDSliceBase::setPos | ( | int | dim, |
| int | pos | ||
| ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024