OpendTect-6_4
6.4
|
An ArrayND is an array with a given number of dimensions and a size. More...
Public Member Functions | |
virtual | ~ArrayND () |
virtual bool | isOK () const |
virtual bool | isEmpty () const |
virtual T | getND (const int *) const =0 |
virtual bool | isSettable () const |
virtual void | setND (const int *, T)=0 |
const ValueSeries< T > * | getStorage () const |
ValueSeries< T > * | getStorage () |
virtual bool | canSetStorage () const |
virtual bool | setStorage (ValueSeries< T > *s) |
const T * | getData () const |
T * | getData () |
virtual const T * | get1D (const int *) const |
virtual T * | get1D (const int *) |
virtual int | get1DDim () const |
virtual const ArrayNDInfo & | info () const =0 |
virtual bool | canSetInfo () const |
virtual bool | canChangeNrDims () const |
virtual bool | setInfo (const ArrayNDInfo &) |
virtual void | setAll (T) |
virtual void | getAll (T *ptr) const |
virtual void | getAll (ValueSeries< T > &vs) const |
Protected Member Functions | |
virtual const ValueSeries< T > * | getStorage_ () const |
virtual const T * | getData_ () const |
An ArrayND is an array with a given number of dimensions and a size.
The ArrayND can be accessed via set() and get().
The ArrayND can give away a pointer to its storage, but there is no guarantee that it will. If no pointer is given, the user can copy the ArrayND by constructing an ArrayNDImpl with the original array as an argument to the constructor.
|
inlinevirtual |
Reimplemented in ArrayNDImpl< T >, and ArrayNDImpl< float >.
|
inlinevirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
inlinevirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Fills ptr with values from array. ptr is assumed to be allocated with info().getTotalSz() number of values.
Reimplemented in Attrib::DataHolderArray.
|
inlinevirtual |
Fills vs with values from array. ptr is assumed to be allocated with info().getTotalSz() number of values.
Reimplemented in Attrib::DataHolderArray.
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
pure virtual |
Implemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3D< T >, Array3D< TT >, Array3D< float >, Array3D< int >, Array3D< float_complex >, Array3D< unsigned char >, Array3D< bool >, Array2D< T >, Array2D< TT >, Array2D< float >, Array2D< int >, Array2D< unsigned int >, Array2D< float_complex >, Array2D< SeisTrc * >, Array2D< Coord3 >, Array2D< unsigned char >, Array2D< od_int64 >, Array2D< char >, Array2D< bool >, Array1D< T >, Array1D< TT >, Array1D< float >, and Array1D< char >.
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array2DSlice< T >, Array1DImpl< T >, Array1DImpl< float >, Array1DImpl< float_complex >, and Array1DSlice< T >.
|
pure virtual |
Implemented in Array3DConv< T, TT >, Array2DConv< T, TT >, Array1DConv< T, TT >, ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array3D< T >, Array3D< TT >, Array3D< float >, Array3D< int >, Array3D< float_complex >, Array3D< unsigned char >, Array3D< bool >, Array2D< T >, Array2D< TT >, Array2D< float >, Array2D< int >, Array2D< unsigned int >, Array2D< float_complex >, Array2D< SeisTrc * >, Array2D< Coord3 >, Array2D< unsigned char >, Array2D< od_int64 >, Array2D< char >, Array2D< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1D< T >, Array1D< TT >, Array1D< float >, Array1D< char >, Array2DSlice< T >, Array1DImpl< T >, Array1DImpl< float >, Array1DImpl< float_complex >, Array3DSubSelection< T >, Array1DSlice< T >, Array3DWrapper< T >, Attrib::DataHolderArray, Array2DSubSelection< T >, SeisTrcBufArray2D, and BIDValSetArrAdapter.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array3DSubSelection< T >, Array1DImpl< T >, Array1DImpl< float >, Array1DImpl< float_complex >, Array3DWrapper< T >, Array2DSubSelection< T >, and SeisTrcBufArray2D.
|
inlinevirtual |
Reimplemented in Array2DSlice< T >, and Array1DSlice< T >.
|
inlinevirtual |
Reimplemented in Array1D< T >, and Array1D< float >.
|
inlinevirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< double >, Array2DImpl< float >, Array2DImpl< float_complex >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
pure virtual |
|
inlinevirtual |
becomes mine. The size must be settable, or I return false.
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array2DImpl< T >, Array2DImpl< float >, Array2DImpl< float_complex >, Array1DImpl< T >, and Array1DImpl< float >.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019