OpendTect  7.0
Public Types | Public Member Functions | List of all members
Array4D< T > Class Template Referenceabstract

4-Dim ArrayND More...

Inheritance diagram for Array4D< T >:
[legend]

Public Types

typedef ArrayNDInfo ::dim_idx_type dim_idx_type
 
typedef ArrayNDInfo ::idx_type idx_type
 
typedef ArrayNDInfo ::NDPos NDPos
 
typedef ArrayNDInfo ::NDPosBuf NDPosBuf
 
typedef ArrayNDInfo ::NDSize NDSize
 
typedef ArrayNDInfo ::nr_dims_type nr_dims_type
 
typedef ArrayNDInfo ::offset_type offset_type
 
typedef ArrayNDInfo ::size_type size_type
 
typedef ArrayNDInfo ::total_size_type total_size_type
 

Public Member Functions

virtual T get (int, int, int, int) const =0
 
virtual T **** get4DData ()
 
virtual const T **** get4DData () const
 
getND (const int *pos) const override
 
const Array4DInfoinfo () const override=0
 
virtual void set (int, int, int, int, T)=0
 
void setND (const int *pos, T v) override
 
- Public Member Functions inherited from ArrayND< T >
virtual ~ArrayND ()
 
virtual bool canChangeNrDims () const
 
virtual bool canSetInfo () const
 
virtual bool canSetStorage () const
 
virtual T * get1D (const int *)
 
virtual const T * get1D (const int *) const
 
virtual int get1DDim () const
 
virtual void getAll (T *ptr) const
 
virtual void getAll (ValueSeries< T > &vs) const
 
T * getData ()
 
const T * getData () const
 
int getSize (int dim) const
 
ValueSeries< T > * getStorage ()
 
const ValueSeries< T > * getStorage () const
 
virtual bool isEmpty () const
 
virtual bool isOK () const
 
virtual bool isSettable () const
 
int nrDims () const
 
virtual void setAll (T)
 
virtual bool setInfo (const ArrayNDInfo &)
 
virtual bool setStorage (ValueSeries< T > *s)
 
std::uint64_t totalSize () const
 
bool validPos (int *pos) const
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayND< T >
virtual const T * getData_ () const
 
virtual const ValueSeries< T > * getStorage_ () const
 

Detailed Description

template<class T>
class Array4D< T >

4-Dim ArrayND

<>

Member Typedef Documentation

◆ dim_idx_type

template<class T >
typedef ArrayNDInfo :: dim_idx_type Array4D< T >::dim_idx_type

◆ idx_type

template<class T >
typedef ArrayNDInfo :: idx_type Array4D< T >::idx_type

◆ NDPos

template<class T >
typedef ArrayNDInfo :: NDPos Array4D< T >::NDPos

◆ NDPosBuf

template<class T >
typedef ArrayNDInfo :: NDPosBuf Array4D< T >::NDPosBuf

◆ NDSize

template<class T >
typedef ArrayNDInfo :: NDSize Array4D< T >::NDSize

◆ nr_dims_type

template<class T >
typedef ArrayNDInfo :: nr_dims_type Array4D< T >::nr_dims_type

◆ offset_type

template<class T >
typedef ArrayNDInfo :: offset_type Array4D< T >::offset_type

◆ size_type

template<class T >
typedef ArrayNDInfo :: size_type Array4D< T >::size_type

◆ total_size_type

template<class T >
typedef ArrayNDInfo :: total_size_type Array4D< T >::total_size_type

Member Function Documentation

◆ get()

template<class T >
virtual T Array4D< T >::get ( int  ,
int  ,
int  ,
int   
) const
pure virtual

Implemented in Array4DImpl< T >, and Array4DConv< T, TT >.

◆ get4DData() [1/2]

template<class T >
virtual T**** Array4D< T >::get4DData ( )
inlinevirtual

Reimplemented in Array4DImpl< T >.

◆ get4DData() [2/2]

template<class T >
virtual const T**** Array4D< T >::get4DData ( ) const
inlinevirtual

Reimplemented in Array4DImpl< T >.

◆ getND()

template<class T >
T Array4D< T >::getND ( const int *  pos) const
inlineoverridevirtual

Implements ArrayND< T >.

◆ info()

template<class T >
const Array4DInfo& Array4D< T >::info ( ) const
overridepure virtual

Implements ArrayND< T >.

Implemented in Array4DImpl< T >, and Array4DConv< T, TT >.

◆ set()

template<class T >
virtual void Array4D< T >::set ( int  ,
int  ,
int  ,
int  ,
 
)
pure virtual

Implemented in Array4DImpl< T >, and Array4DConv< T, TT >.

◆ setND()

template<class T >
void Array4D< T >::setND ( const int *  pos,
v 
)
inlineoverridevirtual

Implements ArrayND< T >.


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