OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
Seis2DDataSet Class Reference

Set of 2D lines comparable with 3D seismic cube. More...

Inheritance diagram for Seis2DDataSet:
[legend]

Public Member Functions

 Seis2DDataSet (const IOObj &)
 
 Seis2DDataSet (const Seis2DDataSet &)
 
virtual ~Seis2DDataSet ()
 
const char * dataType () const
 
const char * fileName () const
 
Pos::GeomID geomID (int) const
 
void getGeomIDs (TypeSet< Pos::GeomID > &) const
 
void getLineNames (BufferStringSet &) const
 
bool getRanges (Pos::GeomID, StepInterval< int > &trcrg, StepInterval< float > &zrg) const
 
bool getTxtInfo (Pos::GeomID, BufferString &uinfo, BufferString &stdinfo) const
 
bool haveMatch (int, const BinIDValueSet &) const
 
int indexOf (const char *linename) const
 
int indexOf (Pos::GeomID) const
 
bool isEmpty () const
 
bool isEmpty (Pos::GeomID) const
 
bool isPresent (const char *linename) const
 
bool isPresent (Pos::GeomID) const
 
ExecutorlineFetcher (Pos::GeomID, SeisTrcBuf &, int nrtrcsperstep=10, const Seis::SelData *sd=0) const
 May return null. More...
 
const char * lineName (int) const
 
Seis2DLinePutterlinePutter (Pos::GeomID)
 
int nrLines () const
 
bool remove (Pos::GeomID)
 Also removes from disk. More...
 
bool rename (const char *)
 
void setReadOnly (bool yn=true)
 
const char * type () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static void getDataSetsOnLine (const char *lnm, BufferStringSet &ds)
 
static void getDataSetsOnLine (Pos::GeomID geomid, BufferStringSet &ds)
 

Protected Member Functions

void init ()
 

Protected Attributes

BufferString datatype_
 
BufferString fname_
 
TypeSet< Pos::GeomIDgeomids_
 
IOObjioobj_
 
Seis2DLineIOProviderliop_
 
bool readonly_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Member Functions

bool getGeometry (Pos::GeomID, PosInfo::Line2DData &) const
 

Friends

class SeisTrcWriter
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

Set of 2D lines comparable with 3D seismic cube.

<>

Constructor & Destructor Documentation

◆ Seis2DDataSet() [1/2]

Seis2DDataSet::Seis2DDataSet ( const IOObj )

◆ Seis2DDataSet() [2/2]

Seis2DDataSet::Seis2DDataSet ( const Seis2DDataSet )

◆ ~Seis2DDataSet()

virtual Seis2DDataSet::~Seis2DDataSet ( )
virtual

Member Function Documentation

◆ dataType()

const char* Seis2DDataSet::dataType ( ) const
inline

◆ fileName()

const char* Seis2DDataSet::fileName ( ) const
inline

◆ geomID()

Pos::GeomID Seis2DDataSet::geomID ( int  ) const

◆ getDataSetsOnLine() [1/2]

static void Seis2DDataSet::getDataSetsOnLine ( const char *  lnm,
BufferStringSet ds 
)
static

◆ getDataSetsOnLine() [2/2]

static void Seis2DDataSet::getDataSetsOnLine ( Pos::GeomID  geomid,
BufferStringSet ds 
)
static

◆ getGeometry()

bool Seis2DDataSet::getGeometry ( Pos::GeomID  ,
PosInfo::Line2DData  
) const
private

◆ getGeomIDs()

void Seis2DDataSet::getGeomIDs ( TypeSet< Pos::GeomID > &  ) const

◆ getLineNames()

void Seis2DDataSet::getLineNames ( BufferStringSet ) const

◆ getRanges()

bool Seis2DDataSet::getRanges ( Pos::GeomID  ,
StepInterval< int > &  trcrg,
StepInterval< float > &  zrg 
) const

◆ getTxtInfo()

bool Seis2DDataSet::getTxtInfo ( Pos::GeomID  ,
BufferString uinfo,
BufferString stdinfo 
) const

◆ haveMatch()

bool Seis2DDataSet::haveMatch ( int  ,
const BinIDValueSet  
) const

◆ indexOf() [1/2]

int Seis2DDataSet::indexOf ( const char *  linename) const

◆ indexOf() [2/2]

int Seis2DDataSet::indexOf ( Pos::GeomID  ) const

◆ init()

void Seis2DDataSet::init ( )
protected

◆ isEmpty() [1/2]

bool Seis2DDataSet::isEmpty ( ) const

◆ isEmpty() [2/2]

bool Seis2DDataSet::isEmpty ( Pos::GeomID  ) const

◆ isPresent() [1/2]

bool Seis2DDataSet::isPresent ( const char *  linename) const

◆ isPresent() [2/2]

bool Seis2DDataSet::isPresent ( Pos::GeomID  ) const

◆ lineFetcher()

Executor* Seis2DDataSet::lineFetcher ( Pos::GeomID  ,
SeisTrcBuf ,
int  nrtrcsperstep = 10,
const Seis::SelData sd = 0 
) const

May return null.

◆ lineName()

const char* Seis2DDataSet::lineName ( int  ) const

◆ linePutter()

Seis2DLinePutter* Seis2DDataSet::linePutter ( Pos::GeomID  )

May return null. will return replacer if geomid exists

◆ nrLines()

int Seis2DDataSet::nrLines ( ) const
inline

◆ remove()

bool Seis2DDataSet::remove ( Pos::GeomID  )

Also removes from disk.

◆ rename()

bool Seis2DDataSet::rename ( const char *  )

◆ setReadOnly()

void Seis2DDataSet::setReadOnly ( bool  yn = true)
inline

◆ type()

const char* Seis2DDataSet::type ( ) const

Friends And Related Function Documentation

◆ SeisTrcWriter

friend class SeisTrcWriter
friend

Member Data Documentation

◆ datatype_

BufferString Seis2DDataSet::datatype_
protected

◆ fname_

BufferString Seis2DDataSet::fname_
protected

◆ geomids_

TypeSet<Pos::GeomID> Seis2DDataSet::geomids_
protected

◆ ioobj_

IOObj& Seis2DDataSet::ioobj_
protected

◆ liop_

Seis2DLineIOProvider* Seis2DDataSet::liop_
protected

◆ readonly_

bool Seis2DDataSet::readonly_
protected

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