| OpendTect 8.0

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Array3DInfo Class Reference
Basic

Contains the information about the size of Array3D, and in what order the data is stored (if accessable via a pointer). More...

`#include <arrayndinfo.h>`

Inheritance diagram for Array3DInfo:
[legend]

## Public Member Functions
int | getNDim () const override
od_uint64 | getOffset (const int *iarr) const override
virtual od_uint64 | getOffset (int, int, int) const
bool | validPos (const int *iarr) const override
virtual bool | validPos (int, int, int) const
Public Member Functions inherited from ArrayNDInfo
virtual | ~ArrayNDInfo ()
virtual ArrayNDInfo * | clone () const =0
virtual bool | getArrayPos (od_uint64, 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

## Additional Inherited Members
Public Types inherited from ArrayNDInfo
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
Protected Member Functions inherited from ArrayNDInfo
od_uint64 | calcTotalSz () const

## Detailed Description

Contains the information about the size of Array3D, and in what order the data is stored (if accessable via a pointer).

<>

## Member Function Documentation

## ◆ getNDim()

int Array3DInfo::getNDim | ( |  | ) | const
| inline override virtual

Implements ArrayNDInfo.

## ◆ getOffset() [1/2]

od_uint64 Array3DInfo::getOffset | ( | const int * |  | ) | const
| inline override virtual

Returns offset in a 'flat' array.

Reimplemented from ArrayNDInfo.

## ◆ getOffset() [2/2]

virtual od_uint64 Array3DInfo::getOffset | ( | int | ,
|  | int | ,
|  | int | ) const
| virtual

Returns offset in a 'flat' array.

## ◆ validPos() [1/2]

bool Array3DInfo::validPos | ( | const int * |  | ) | const
| inline override virtual

Checks if the position exists.

Reimplemented from ArrayNDInfo.

## ◆ validPos() [2/2]

virtual bool Array3DInfo::validPos | ( | int | ,
|  | int | ,
|  | int | ) const
| virtual

Generated at
for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025