OpendTect  7.0
Public Member Functions | Protected Member Functions | List of all members
PosInfo::SortedCubeData Class Reference

Position info for an entire 3D cube. The LineData's are sorted. More...

Inheritance diagram for PosInfo::SortedCubeData:
[legend]

Public Member Functions

 SortedCubeData ()
 
 SortedCubeData (const BinID &start, const BinID &stop, const BinID &step)
 
 SortedCubeData (const CubeData &cd)
 
 SortedCubeData (const SortedCubeData &cd)
 
SortedCubeDataadd (LineData *)
 
int indexOf (const LineData *l) const override
 
int indexOf (int inl, int *newidx=0) const override
 newidx only filled if not null and -1 is returned More...
 
SortedCubeDataoperator= (const CubeData &cd)
 
SortedCubeDataoperator= (const SortedCubeData &scd)
 
- Public Member Functions inherited from PosInfo::CubeData
 CubeData ()
 
 CubeData (BinID start, BinID stop, BinID step)
 
 CubeData (const CubeData &cd)
 
BinID binID (const CubeDataPos &) const
 
CubeDataPos cubeDataPos (const BinID &) const
 
void generate (BinID start, BinID stop, BinID step, bool allowreversed=false)
 
bool getCrlRange (StepInterval< int > &, bool sorted=true) const
 Returns whether fully regular. More...
 
bool getInlRange (StepInterval< int > &, bool sorted=true) const
 Returns whether fully regular. More...
 
void getRanges (Interval< int > &inl, Interval< int > &crl) const
 
bool haveCrlStepInfo () const
 
bool haveInlStepInfo () const
 
bool includes (const BinID &) const
 
bool includes (int inl, int crl) const
 
int indexOf (const LineData *l) const override
 
bool isCrlReversed () const
 
bool isFullyRectAndReg () const
 
bool isValid (const BinID &) const
 
bool isValid (const CubeDataPos &) const
 
bool isValid (std::int64_t globalidx, const TrcKeySampling &) const
 
void limitTo (const TrcKeySampling &)
 
void merge (const CubeData &, bool incl)
 incl=union, !incl=intersection More...
 
CubeDataoperator= (const CubeData &cd)
 
bool read (od_istream &, bool asc)
 
bool toNext (CubeDataPos &) const
 
int totalSize () const
 
int totalSizeInside (const TrcKeySampling &hrg) const
 
bool write (od_ostream &, bool asc) const
 
- Public Member Functions inherited from ManagedObjectSet< LineData >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< LineData > &)
 
 ManagedObjectSet (const ObjectSet< LineData > &)
 
void append (const ObjectSet< LineData > &) override
 
ManagedObjectSetclone () const override
 
ManagedObjectSet< LineData > & operator= (const ObjectSet< LineData > &)
 
- Public Member Functions inherited from ManagedObjectSetBase< T >
void erase () override
 
bool isManaged () const override
 
ManagedObjectSetBase< T > & operator-= (T *) override
 
T * pop () override
 
virtual T * removeAndTake (idx_type, bool kporder=true)
 
void removeRange (idx_type, idx_type) override
 
T * removeSingle (idx_type, bool kporder=true) override
 
T * replace (idx_type, T *) override
 
- Public Member Functions inherited from ObjectSet< T >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (T *)
 
 ObjectSet (T *, T *)
 
 ObjectSet (T *, T *, T *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (T *t)
 
bool addIfNew (T *)
 
void allowNull (bool yn=true)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
T * first ()
 
const T * first () const
 
virtual T * get (const T *) const
 check & unconst More...
 
virtual T * get (idx_type)
 
virtual const T * get (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const T *) const
 
virtual void insertAfter (T *newptr, idx_type)
 
virtual void insertAt (T *newptr, idx_type)
 
virtual bool isPresent (const T *) const
 
T * last ()
 
const T * last () const
 
size_type max_size () const
 
std::int64_t nrItems () const override
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (T *t)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const T * operator[] (const T *t) const
 
T * operator[] (idx_type i)
 
const T * operator[] (idx_type i) const
 
void plainErase ()
 
void push (T *t)
 
void reverse () override
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
void swapItems (std::int64_t i1, std::int64_t i2) override
 
void useIndexes (const idx_type *)
 
bool validIdx (std::int64_t) const override
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

CubeDatadoAdd (LineData *) override
 
- Protected Member Functions inherited from PosInfo::CubeData
void copyContents (const CubeData &)
 
- Protected Member Functions inherited from ManagedObjectSetBase< T >
 ManagedObjectSetBase (PtrFunc delfunc)
 
 ~ManagedObjectSetBase ()
 
- Protected Member Functions inherited from ObjectSet< T >
virtual ObjectSetdoAdd (T *)
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< LineData >
typedef ObjectSet< LineData >::idx_type idx_type
 
typedef ObjectSet< LineData >::size_type size_type
 
- Public Types inherited from ManagedObjectSetBase< T >
typedef ObjectSet< T >::idx_type idx_type
 
typedef ObjectSet< T >::size_type size_type
 
- Public Types inherited from ObjectSet< T >
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 T object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef T * value_type
 
- Static Public Member Functions inherited from OD::Set
static std::int32_t maxIdx32 ()
 
static std::int64_t maxIdx64 ()
 
- Protected Types inherited from ManagedObjectSetBase< T >
typedef void(* PtrFunc) (T *ptr)
 
- Protected Types inherited from ObjectSet< T >
typedef VectorAccess< T *, size_typeimpl_type
 
- Protected Attributes inherited from ObjectSet< T >
bool allow0_ = false
 
impl_type vec_
 

Detailed Description

Position info for an entire 3D cube. The LineData's are sorted.

<>

Constructor & Destructor Documentation

◆ SortedCubeData() [1/4]

PosInfo::SortedCubeData::SortedCubeData ( )
inline

◆ SortedCubeData() [2/4]

PosInfo::SortedCubeData::SortedCubeData ( const BinID start,
const BinID stop,
const BinID step 
)
inline

◆ SortedCubeData() [3/4]

PosInfo::SortedCubeData::SortedCubeData ( const SortedCubeData cd)
inline

◆ SortedCubeData() [4/4]

PosInfo::SortedCubeData::SortedCubeData ( const CubeData cd)
inline

Member Function Documentation

◆ add()

SortedCubeData& PosInfo::SortedCubeData::add ( LineData )

◆ doAdd()

CubeData& PosInfo::SortedCubeData::doAdd ( LineData )
overrideprotected

◆ indexOf() [1/2]

int PosInfo::SortedCubeData::indexOf ( const LineData l) const
inlineoverride

◆ indexOf() [2/2]

int PosInfo::SortedCubeData::indexOf ( int  inl,
int *  newidx = 0 
) const
overridevirtual

newidx only filled if not null and -1 is returned

Reimplemented from PosInfo::CubeData.

◆ operator=() [1/2]

SortedCubeData& PosInfo::SortedCubeData::operator= ( const CubeData cd)
inline

◆ operator=() [2/2]

SortedCubeData& PosInfo::SortedCubeData::operator= ( const SortedCubeData scd)
inline

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