OpendTect  7.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Array3DSlice< T > Class Template Reference

Subclass of Array3D and ArrayNDSliceBase. More...

Inheritance diagram for Array3DSlice< 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

 Array3DSlice (ArrayND< T > &)
 
 Array3DSlice (const ArrayND< T > &)
 
 ~Array3DSlice ()
 
get (idx_type, idx_type, idx_type) const override
 
const Array3DInfoinfo () const override
 
bool isSettable () const override
 
void set (idx_type, idx_type, idx_type, T) override
 
- Public Member Functions inherited from Array3D< T >
virtual T get (int p0, int p1, int p2) const =0
 
virtual T *** get3DData ()
 
virtual const T *** get3DData () const
 
getND (const int *pos) const override
 
virtual void set (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
 
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
 
- Public Member Functions inherited from ArrayNDSliceBase
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

const ValueSeries< T > * getStorage_ () const override
 
- Protected Member Functions inherited from ArrayND< T >
virtual const T * getData_ () const
 
- Protected Member Functions inherited from ArrayNDSliceBase
 ArrayNDSliceBase (ArrayNDInfo *, const ArrayNDInfo &)
 
void getSourcePos (const int *localpos, int *sourcepos) const
 

Protected Attributes

ArrayND< T > & source_
 
OffsetValueSeries< T > * storage_ = nullptr
 
bool writable_
 
- Protected Attributes inherited from ArrayNDSliceBase
ArrayNDInfoinfo_
 
std::int64_t offset_
 
TypeSet< int > position_
 
const ArrayNDInfosourceinfo_
 
TypeSet< int > vardim_
 

Detailed Description

template<class T>
class Array3DSlice< T >

Subclass of Array3D and ArrayNDSliceBase.

<>

Member Typedef Documentation

◆ dim_idx_type

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

◆ idx_type

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

◆ NDPos

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

◆ NDPosBuf

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

◆ NDSize

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

◆ nr_dims_type

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

◆ offset_type

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

◆ size_type

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

◆ total_size_type

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

Constructor & Destructor Documentation

◆ Array3DSlice() [1/2]

template<class T >
Array3DSlice< T >::Array3DSlice ( ArrayND< T > &  source)
inline

◆ Array3DSlice() [2/2]

template<class T >
Array3DSlice< T >::Array3DSlice ( const ArrayND< T > &  source)
inline

◆ ~Array3DSlice()

template<class T >
Array3DSlice< T >::~Array3DSlice
inline

Member Function Documentation

◆ get()

template<class T >
T Array3DSlice< T >::get ( idx_type  pos0,
idx_type  pos1,
idx_type  pos2 
) const
inlineoverride

◆ getStorage_()

template<class T >
const ValueSeries< T > * Array3DSlice< T >::getStorage_
inlineoverrideprotectedvirtual

Reimplemented from ArrayND< T >.

◆ info()

template<class T >
const Array3DInfo & Array3DSlice< T >::info
inlineoverridevirtual

Implements Array3D< T >.

◆ isSettable()

template<class T >
bool Array3DSlice< T >::isSettable
inlineoverridevirtual

Reimplemented from ArrayND< T >.

◆ set()

template<class T >
void Array3DSlice< T >::set ( idx_type  pos0,
idx_type  pos1,
idx_type  pos2,
val 
)
inlineoverride

Member Data Documentation

◆ source_

template<class T >
ArrayND<T>& Array3DSlice< T >::source_
protected

◆ storage_

template<class T >
OffsetValueSeries<T>* Array3DSlice< T >::storage_ = nullptr
mutableprotected

◆ writable_

template<class T >
bool Array3DSlice< T >::writable_
protected

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