OpendTect  7.0
Public Member Functions | List of all members
Array3DInfo Class Reference

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

Inheritance diagram for Array3DInfo:
[legend]

Public Member Functions

int getNDim () const override
 
std::uint64_t getOffset (const int *iarr) const override
 
virtual std::uint64_t 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 ArrayNDInfoclone () const =0
 
virtual bool getArrayPos (std::uint64_t, int *) const
 
virtual int getSize (int dim) const =0
 
virtual std::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
 

Additional Inherited Members

- Public Types inherited from ArrayNDInfo
typedef nr_dims_type dim_idx_type
 
typedef size_type idx_type
 
typedef const idx_typeNDPos
 
typedef TypeSet< idx_typeNDPosBuf
 
typedef const size_typeNDSize
 
typedef std::int16_t nr_dims_type
 
typedef std::int64_t offset_type
 
typedef std::int32_t size_type
 
typedef offset_type total_size_type
 
- Protected Member Functions inherited from ArrayNDInfo
std::uint64_t 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
inlineoverridevirtual

Implements ArrayNDInfo.

◆ getOffset() [1/2]

std::uint64_t Array3DInfo::getOffset ( const int *  ) const
inlineoverridevirtual

Returns offset in a 'flat' array.

Reimplemented from ArrayNDInfo.

◆ getOffset() [2/2]

virtual std::uint64_t Array3DInfo::getOffset ( int  ,
int  ,
int   
) const
virtual

Returns offset in a 'flat' array.

◆ validPos() [1/2]

bool Array3DInfo::validPos ( const int *  ) const
inlineoverridevirtual

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-2024