OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
Array3DSubSelection< T > Class Template Reference
Inheritance diagram for Array3DSubSelection< T >:
[legend]

Public Member Functions

 Array3DSubSelection (int start0, int start1, int start2, int sz0, int sz1, int sz2, Array3D< T > &data)
 
get (int, int, int) const override
 
const Array3DInfoinfo () const override
 
bool isOK () const override
 
void set (int, int, int, T) override
 
- Public Member Functions inherited from Array3D< T >
virtual T *** get3DData ()
 
virtual const T *** get3DData () const
 
getND (const int *pos) const override
 
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 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
 

Protected Attributes

Array3DInfoImpl info_
 
Array3D< T > & src_
 
int start_ [3]
 

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 Array3DSubSelection< T >

Makes a subselection of an Array3D cube.

<>

Constructor & Destructor Documentation

◆ Array3DSubSelection()

template<class T >
Array3DSubSelection< T >::Array3DSubSelection ( int  start0,
int  start1,
int  start2,
int  sz0,
int  sz1,
int  sz2,
Array3D< T > &  data 
)
Parameters
start0position of the subselection in data.
start1position of the subselection in data.
start2position of the subselection in data.
sz0size of the subselection.
sz1size of the subselection.
sz2size of the subselection.
dataThe array in which the subselection is done.

Member Function Documentation

◆ get()

template<class T >
T Array3DSubSelection< T >::get ( int  s0,
int  s1,
int  s2 
) const
overridevirtual

Implements Array3D< T >.

◆ info()

template<class T >
const Array3DInfo & Array3DSubSelection< T >::info
overridevirtual

Implements Array3D< T >.

◆ isOK()

template<class T >
bool Array3DSubSelection< T >::isOK
overridevirtual

Reimplemented from ArrayND< T >.

◆ set()

template<class T >
void Array3DSubSelection< T >::set ( int  s0,
int  s1,
int  s2,
val 
)
overridevirtual

Implements Array3D< T >.

Member Data Documentation

◆ info_

template<class T >
Array3DInfoImpl Array3DSubSelection< T >::info_
protected

◆ src_

template<class T >
Array3D<T>& Array3DSubSelection< T >::src_
protected

◆ start_

template<class T >
int Array3DSubSelection< T >::start_[3]
protected

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