OpendTect
6.6
|
An ArrayND is an array with a given number of dimensions and a size. More...
Public Member Functions | |
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 |
virtual T | getND (const int *) const =0 |
int | getSize (int dim) const |
ValueSeries< T > * | getStorage () |
const ValueSeries< T > * | getStorage () const |
virtual const ArrayNDInfo & | info () const =0 |
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 void | setND (const int *, T)=0 |
virtual bool | setStorage (ValueSeries< T > *s) |
uint64_t | totalSize () const |
bool | validPos (int *pos) const |
Protected Member Functions | |
virtual const T * | getData_ () const |
virtual const ValueSeries< T > * | getStorage_ () 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 >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, 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 >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, 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.
|
inlinevirtual |
Fills vs with values from array. ptr is assumed to be allocated with info().getTotalSz() number of values.
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
pure virtual |
Implemented in Array4D< T >, Array4D< TT >, 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< Array1D< float_complex > * >, Array2D< bool >, Array1D< T >, Array1D< TT >, Array1D< float >, Array1D< float_complex >, Array1D< char >, ArrayNDImpl< T >, and ArrayNDImpl< float >.
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in Array3DSlice< T >, Array2DSlice< T >, Array1DSlice< T >, ArrayNDImpl< T >, ArrayNDImpl< float >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
pure virtual |
Implemented in Array4D< TT >, Array3D< TT >, Array3D< float >, Array3D< int >, Array3D< float_complex >, Array3D< unsigned char >, Array3D< bool >, 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< Array1D< float_complex > * >, Array2D< bool >, Array1D< TT >, Array1D< float >, Array1D< float_complex >, Array1D< char >, Array4D< T >, Array3D< T >, Array2D< T >, Array1D< T >, SeisTrcBufArray2D, BIDValSetArrAdapter, Array3DSubSelection< T >, Array2DSubSelection< T >, Array3DWrapper< T >, Array3DSlice< T >, Array2DSlice< T >, Array1DSlice< T >, ArrayNDImpl< T >, ArrayNDImpl< float >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, Array1DImpl< float_complex >, Array4DConv< T, TT >, Array3DConv< T, TT >, Array2DConv< T, TT >, Array1DConv< T, TT >, and Attrib::DataHolderArray.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in SeisTrcBufArray2D, Array3DSubSelection< T >, Array2DSubSelection< T >, Array3DWrapper< T >, ArrayNDImpl< T >, ArrayNDImpl< float >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, Array2DImpl< const Attrib::DataHolder * >, Array2DImpl< visBase::HorizonSectionTile * >, Array2DImpl< Attrib::DataHolder * >, Array1DImpl< T >, Array1DImpl< float >, and Array1DImpl< float_complex >.
|
inlinevirtual |
Reimplemented in Array3DSlice< T >, Array2DSlice< T >, and Array1DSlice< T >.
|
inline |
|
inlinevirtual |
Reimplemented in Array1D< T >.
|
inlinevirtual |
Reimplemented in ArrayNDImpl< T >, ArrayNDImpl< float >, Array4DImpl< T >, Array3DImpl< T >, Array3DImpl< float >, Array3DImpl< float_complex >, Array3DImpl< bool >, Array2DImpl< T >, Array2DImpl< fT >, Array2DImpl< float >, Array2DImpl< int >, Array2DImpl< float_complex >, Array2DImpl< const SeisTrc * >, Array2DImpl< SeisTrc * >, 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 Array2DImpl< visBase::HorizonSectionTile * >, ArrayNDImpl< T >, Array4DImpl< T >, Array3DImpl< T >, Array2DImpl< T >, Array1DImpl< T >, Array2DImpl< SeisTrc * >, Array2DImpl< fT >, Array1DImpl< float_complex >, ArrayNDImpl< float >, Array1DImpl< float >, Array2DImpl< const SeisTrc * >, Array2DImpl< const Attrib::DataHolder * >, Array3DImpl< bool >, and Array2DImpl< Attrib::DataHolder * >.
|
inline |
|
inline |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022