OpendTect  6.6
Public Member Functions | Public Attributes | List of all members
Attrib::SliceSet Class Reference

Set of attrib slices. More...

Inheritance diagram for Attrib::SliceSet:
[legend]

Public Member Functions

 SliceSet ()
 
Array3D< float > * createArray (int inldim=0, int crlcim=1, int depthdim=2) const
 
void getIdx (int dimnr, int inl, int crl, float z, int &) const
 
void getIdxs (int inl, int crl, float z, int &, int &, int &) const
 
float getValue (int inl, int crl, float z) const
 
- Public Member Functions inherited from ObjectSet< Slice >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (Slice *)
 
 ObjectSet (Slice *, Slice *)
 
 ObjectSet (Slice *, Slice *, Slice *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (Slice *t)
 
bool addIfNew (Slice *)
 
void allowNull (bool yn=true)
 
virtual void append (const ObjectSet &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual ObjectSetclone () const
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
virtual void erase ()
 
Slice * first ()
 
const Slice * first () const
 
virtual Slice * get (const Slice *) const
 check & unconst More...
 
virtual Slice * get (idx_type)
 
virtual const Slice * get (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const Slice *) const
 
virtual void insertAfter (Slice *newptr, idx_type)
 
virtual void insertAt (Slice *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const Slice *) const
 
Slice * last ()
 
const Slice * last () const
 
size_type max_size () const
 
virtual int64_t nrItems () const
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (Slice *t)
 
virtual ObjectSetoperator-= (Slice *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const Slice * operator[] (const Slice *t) const
 
Slice * operator[] (idx_type i)
 
const Slice * operator[] (idx_type i) const
 
void plainErase ()
 
virtual Slice * pop ()
 
void push (Slice *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual Slice * removeSingle (idx_type, bool keep_order=true)
 
virtual Slice * replace (idx_type, Slice *)
 
virtual void reverse ()
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
virtual void swapItems (int64_t i1, int64_t i2)
 
void useIndexes (const idx_type *)
 
virtual bool validIdx (int64_t) const
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Public Attributes

TrcKeyZSampling::Dir direction_
 
TrcKeyZSampling sampling_
 

Additional Inherited Members

- Public Types inherited from ObjectSet< Slice >
typedef impl_type::const_iterator const_iterator
 
typedef const value_typeconst_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef Slice object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef Slice * value_type
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< Slice >
typedef VectorAccess< Slice *, size_typeimpl_type
 
- Protected Member Functions inherited from ObjectSet< Slice >
virtual ObjectSetdoAdd (Slice *)
 
- Protected Attributes inherited from ObjectSet< Slice >
bool allow0_
 
impl_type vec_
 

Detailed Description

Set of attrib slices.

The two array2d directions shall be filled following the TrcKeyZSampling convention. The slices will be in order of increasing inl, crl or Z.

Slices can be null!

<>

Constructor & Destructor Documentation

◆ SliceSet()

Attrib::SliceSet::SliceSet ( )

Member Function Documentation

◆ createArray()

Array3D<float>* Attrib::SliceSet::createArray ( int  inldim = 0,
int  crlcim = 1,
int  depthdim = 2 
) const

Makes an array where the dims are as specified

◆ getIdx()

void Attrib::SliceSet::getIdx ( int  dimnr,
int  inl,
int  crl,
float  z,
int &   
) const

◆ getIdxs()

void Attrib::SliceSet::getIdxs ( int  inl,
int  crl,
float  z,
int &  ,
int &  ,
int &   
) const

◆ getValue()

float Attrib::SliceSet::getValue ( int  inl,
int  crl,
float  z 
) const

Member Data Documentation

◆ direction_

TrcKeyZSampling::Dir Attrib::SliceSet::direction_

◆ sampling_

TrcKeyZSampling Attrib::SliceSet::sampling_

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