OpendTect  6.6
Public Member Functions | List of all members
Array4DInfo Class Reference

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

Inheritance diagram for Array4DInfo:
[legend]

Public Member Functions

virtual int getNDim () const
 
virtual uint64_t getOffset (const int *pos) const
 
virtual uint64_t getOffset (int, int, int, int) const
 
virtual bool validPos (const int *pos) const
 
virtual bool validPos (int, int, int, int) const
 
- Public Member Functions inherited from ArrayNDInfo
virtual ~ArrayNDInfo ()
 
virtual ArrayNDInfoclone () const =0
 
virtual bool getArrayPos (uint64_t, int *) const
 
virtual int getSize (int dim) const =0
 
virtual 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 short nr_dims_type
 
typedef int64_t offset_type
 
typedef int size_type
 
typedef offset_type total_size_type
 
- Protected Member Functions inherited from ArrayNDInfo
uint64_t calcTotalSz () const
 

Detailed Description

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

<>

Member Function Documentation

◆ getNDim()

virtual int Array4DInfo::getNDim ( ) const
inlinevirtual

Implements ArrayNDInfo.

◆ getOffset() [1/2]

virtual uint64_t Array4DInfo::getOffset ( const int *  ) const
inlinevirtual

Returns offset in a 'flat' array.

Reimplemented from ArrayNDInfo.

◆ getOffset() [2/2]

virtual uint64_t Array4DInfo::getOffset ( int  ,
int  ,
int  ,
int   
) const
virtual

Returns offset in a 'flat' array.

◆ validPos() [1/2]

virtual bool Array4DInfo::validPos ( const int *  ) const
inlinevirtual

Checks if the position exists.

Reimplemented from ArrayNDInfo.

◆ validPos() [2/2]

virtual bool Array4DInfo::validPos ( int  ,
int  ,
int  ,
int   
) const
virtual

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