OpendTect-6_4  6.4
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 SortedCubeData &cd)
 
 SortedCubeData (const CubeData &cd)
 
SortedCubeDataoperator= (const SortedCubeData &scd)
 
SortedCubeDataoperator= (const CubeData &cd)
 
virtual int indexOf (int inl, int *newidx=0) const
 newidx only filled if not null and -1 is returned More...
 
SortedCubeDataadd (LineData *)
 
virtual int indexOf (const LineData *l) const
 
- Public Member Functions inherited from PosInfo::CubeData
 CubeData ()
 
 CubeData (BinID start, BinID stop, BinID step)
 
 CubeData (const CubeData &cd)
 
CubeDataoperator= (const CubeData &cd)
 
int totalSize () const
 
int totalSizeInside (const TrcKeySampling &hrg) const
 
bool includes (const BinID &) const
 
bool includes (int inl, int crl) const
 
void getRanges (Interval< int > &inl, Interval< int > &crl) const
 
bool getInlRange (StepInterval< int > &, bool sorted=true) const
 Returns whether fully regular. More...
 
bool getCrlRange (StepInterval< int > &, bool sorted=true) const
 Returns whether fully regular. More...
 
bool isValid (const CubeDataPos &) const
 
bool isValid (const BinID &) const
 
bool isValid (int64_t globalidx, const TrcKeySampling &) const
 
bool toNext (CubeDataPos &) const
 
BinID binID (const CubeDataPos &) const
 
CubeDataPos cubeDataPos (const BinID &) const
 
bool haveInlStepInfo () const
 
bool haveCrlStepInfo () const
 
bool isFullyRectAndReg () const
 
bool isCrlReversed () const
 
void limitTo (const TrcKeySampling &)
 
void merge (const CubeData &, bool incl)
 incl=union, !incl=intersection More...
 
void generate (BinID start, BinID stop, BinID step, bool allowreversed=false)
 
bool read (od_istream &, bool asc)
 
bool write (od_ostream &, bool asc) const
 
- Public Member Functions inherited from ManagedObjectSet< LineData >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< LineData > &)
 
virtual ~ManagedObjectSet ()
 
ManagedObjectSet< LineData > & operator= (const ObjectSet< LineData > &)
 
ManagedObjectSet< LineData > & operator= (const ManagedObjectSet< LineData > &)
 
virtual bool isManaged () const
 
virtual void erase ()
 
virtual void append (const ObjectSet< LineData > &)
 
virtual void removeRange (size_type, size_type)
 
virtual LineData * removeSingle (int idx, bool kporder=true)
 
virtual LineData * removeAndTake (int idx, bool kporder=true)
 
virtual LineData * replace (int idx, LineData *)
 
virtual ManagedObjectSet< LineData > & operator-= (LineData *)
 
- Public Member Functions inherited from ObjectSet< LineData >
 ObjectSet ()
 
 ObjectSet (const ObjectSet< LineData > &)
 
virtual ~ObjectSet ()
 
ObjectSet< LineData > & operator= (const ObjectSet< LineData > &)
 
bool nullAllowed () const
 
void allowNull (bool yn=true)
 
size_type size () const
 
virtual int64_t nrItems () const
 
virtual LineData * operator[] (size_type)
 
virtual const LineData * operator[] (size_type) const
 
virtual LineData * operator[] (const LineData *) const
 check & unconst More...
 
virtual bool validIdx (int64_t) const
 
virtual bool isPresent (const LineData *) const
 
virtual size_type indexOf (const LineData *) const
 
LineData * first ()
 
const LineData * first () const
 
LineData * last ()
 
const LineData * last () const
 
ObjectSet< LineData > & add (LineData *t)
 
ObjectSet< LineData > & operator+= (LineData *t)
 
void push (LineData *t)
 
bool addIfNew (LineData *)
 
virtual void insertAt (LineData *newptr, size_type)
 
virtual void insertAfter (LineData *newptr, size_type)
 
virtual void copy (const ObjectSet< LineData > &)
 
virtual void swap (int64_t, int64_t)
 
virtual void reverse ()
 
virtual LineData * pop ()
 
void plainErase ()
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

virtual CubeDatadoAdd (LineData *)
 
- Protected Member Functions inherited from PosInfo::CubeData
void copyContents (const CubeData &)
 
- Protected Member Functions inherited from ObjectSet< LineData >
virtual ObjectSet< LineData > & doAdd (LineData *)
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< LineData >
typedef int size_type
 
typedef LineData object_type
 
- Public Types inherited from ObjectSet< LineData >
typedef int size_type
 
typedef LineData object_type
 
- Protected Attributes inherited from ObjectSet< LineData >
VectorAccess< void *, size_typevec_
 
bool allow0_
 

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

SortedCubeData& PosInfo::SortedCubeData::add ( LineData )
virtual CubeData& PosInfo::SortedCubeData::doAdd ( LineData )
protectedvirtual
virtual int PosInfo::SortedCubeData::indexOf ( int  inl,
int *  newidx = 0 
) const
virtual

newidx only filled if not null and -1 is returned

Reimplemented from PosInfo::CubeData.

virtual int PosInfo::SortedCubeData::indexOf ( const LineData l) const
inlinevirtual

Reimplemented from PosInfo::CubeData.

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

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