OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SeisTrcWriter Class Reference
Inheritance diagram for SeisTrcWriter:
[legend]

Public Member Functions

 SeisTrcWriter (const char *fnm, bool is_2d, bool is_ps)
 
 SeisTrcWriter (const IOObj &, const Seis::GeomType *=nullptr, const GeomIDProvider *=nullptr)
 
 SeisTrcWriter (const IOObj &, Pos::GeomID, const Seis::GeomType *=nullptr, const GeomIDProvider *=nullptr)
 Restricted to a given Pos::GeomID. More...
 
 SeisTrcWriter (const IOObj *, const GeomIDProvider *=nullptr)
 
 SeisTrcWriter (const MultiID &, Seis::GeomType, const GeomIDProvider *=nullptr)
 
 SeisTrcWriter (const SeisStoreAccess::Setup &)
 
 ~SeisTrcWriter ()
 
IOParauxPars ()
 
bool close () override
 
Pos::GeomID geomID () const override
 
const GeomIDProvidergeomIDProvider () const
 
bool isMultiComp () const
 
bool isMultiConn () const
 
Seis2DLinePutterlinePutter ()
 
const Seis2DLinePutterlinePutter () const
 
int nrWritten () const
 
bool prepareWork (const SeisTrc &)
 
SeisPSWriterpsWriter ()
 
const SeisPSWriterpsWriter () const
 
virtual bool put (const SeisTrc &)
 
void setAttrib (const char *a)
 if set, overrules attrib in linekey More...
 
void setComponentNames (const BufferStringSet &)
 
void setCrFrom (const char *str)
 
void setCrUserInfo (const char *str)
 
void setDataType (const char *dt)
 
void setGeomIDProvider (const GeomIDProvider *)
 
void setSelData (Seis::SelData *) override
 
- Public Member Functions inherited from SeisStoreAccess
virtual ~SeisStoreAccess ()
 
ConncurConn3D ()
 
const ConncurConn3D () const
 
Seis2DDataSetdataSet ()
 
const Seis2DDataSetdataSet () const
 
uiString errMsg () const
 
virtual void fillPar (IOPar &) const
 
Seis::GeomType geomType () const
 
const IOObjioObj () const
 
bool is2D () const
 
bool isOK () const
 
bool isPrepared () const
 
bool isPS () const
 
const SeisPSIOProviderpsIOProv () const
 
SeisTrcTranslatorseisTranslator ()
 
const SeisTrcTranslatorseisTranslator () const
 
const Seis::SelDataselData () const
 
void setIOObj (const IOObj *)
 
void setIOObj (const Setup &)
 
int tracesHandled () const
 
Translatortranslator ()
 
Translatortranslator () const
 
virtual void usePar (const IOPar &)
 
const ZDomain::InfozDomain () const
 
bool zInFeet () const
 
bool zInMeter () const
 
bool zIsTime () const
 
const UnitOfMeasurezUnit () const
 

Protected Member Functions

 SeisTrcWriter (const MultiID &)=delete
 
ConncrConn (int, bool)
 
bool ensureRightConn (const SeisTrc &, bool)
 
bool next2DLine ()
 
bool put2D (const SeisTrc &)
 
bool start3DWrite (Conn *, const SeisTrc &)
 
void startWork ()
 
void updateLineData ()
 
- Protected Member Functions inherited from SeisStoreAccess
 SeisStoreAccess (const IOObj *, const Seis::GeomType *)
 
 SeisStoreAccess (const IOObj *, Pos::GeomID, const Seis::GeomType *)
 
 SeisStoreAccess (const MultiID &, Seis::GeomType)
 
 SeisStoreAccess (const Setup &)
 
bool cleanUp (bool alsoioobj=true)
 
SeisTrcTranslatorstrl () const
 

Protected Attributes

BufferString attribnm_
 
IOParauxpars_
 
BufferStringSet compnames_
 
BufferString crfrom_
 
BufferString crusrinfo_
 
BufferString datatype_
 
int firstns_ = mUdf(int)
 
SamplingData< float > firstsampling_
 
const GeomIDProvidergidp_ = nullptr
 
PosInfo::Line2DDatalinedata_ = nullptr
 
int nrtrcs_ = 0
 
int nrwritten_ = 0
 
Pos::GeomID prevgeomid_
 
SeisPSWriterpswriter_ = nullptr
 
Seis2DLinePutterputter_ = nullptr
 
TypeSet< float > spnrs_
 
SeisTrcworktrc_
 
- Protected Attributes inherited from SeisStoreAccess
Seis2DDataSetdataset_ = nullptr
 
uiString errmsg_
 
IOObjioobj_ = nullptr
 
bool is2d_ = false
 
int nrtrcs_
 
bool prepared_ = false
 
const SeisPSIOProviderpsioprov_ = nullptr
 
Seis::SelDataseldata_ = nullptr
 
Translatortrl_ = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from SeisStoreAccess
static PtrMan< IOObjgetFromPar (const IOPar &)
 
static IOObjgetTmp (const char *fnm, bool isps, bool is2d)
 
static const char * sKeyHeader ()
 
static const ZDomain::InfozDomain (const IOObj *)
 
- Static Public Attributes inherited from SeisStoreAccess
static const char * sNrTrcs
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ SeisTrcWriter() [1/7]

SeisTrcWriter::SeisTrcWriter ( const MultiID ,
Seis::GeomType  ,
const GeomIDProvider = nullptr 
)

Write to real user entries from '.omf' file Can be anything: SEGY - CBVS - database

◆ SeisTrcWriter() [2/7]

SeisTrcWriter::SeisTrcWriter ( const IOObj ,
const Seis::GeomType = nullptr,
const GeomIDProvider = nullptr 
)

Write to real user entries from '.omf' file Can be anything: SEGY - CBVS - database

◆ SeisTrcWriter() [3/7]

SeisTrcWriter::SeisTrcWriter ( const IOObj ,
Pos::GeomID  ,
const Seis::GeomType = nullptr,
const GeomIDProvider = nullptr 
)

Restricted to a given Pos::GeomID.

◆ SeisTrcWriter() [4/7]

SeisTrcWriter::SeisTrcWriter ( const SeisStoreAccess::Setup )

◆ ~SeisTrcWriter()

SeisTrcWriter::~SeisTrcWriter ( )

◆ SeisTrcWriter() [5/7]

SeisTrcWriter::SeisTrcWriter ( const MultiID )
protecteddelete

◆ SeisTrcWriter() [6/7]

SeisTrcWriter::SeisTrcWriter ( const IOObj ,
const GeomIDProvider = nullptr 
)

◆ SeisTrcWriter() [7/7]

SeisTrcWriter::SeisTrcWriter ( const char *  fnm,
bool  is_2d,
bool  is_ps 
)

Write 'loose' CBVS files (or prestack: directories) only.

Member Function Documentation

◆ auxPars()

IOPar& SeisTrcWriter::auxPars ( )
inline

◆ close()

bool SeisTrcWriter::close ( )
overridevirtual

Reimplemented from SeisStoreAccess.

◆ crConn()

Conn* SeisTrcWriter::crConn ( int  ,
bool   
)
protected

◆ ensureRightConn()

bool SeisTrcWriter::ensureRightConn ( const SeisTrc ,
bool   
)
protected

◆ geomID()

Pos::GeomID SeisTrcWriter::geomID ( ) const
overridevirtual

Reimplemented from SeisStoreAccess.

◆ geomIDProvider()

const GeomIDProvider* SeisTrcWriter::geomIDProvider ( ) const
inline

◆ isMultiComp()

bool SeisTrcWriter::isMultiComp ( ) const

◆ isMultiConn()

bool SeisTrcWriter::isMultiConn ( ) const

◆ linePutter() [1/2]

Seis2DLinePutter* SeisTrcWriter::linePutter ( )
inline

◆ linePutter() [2/2]

const Seis2DLinePutter* SeisTrcWriter::linePutter ( ) const
inline

◆ next2DLine()

bool SeisTrcWriter::next2DLine ( )
protected

◆ nrWritten()

int SeisTrcWriter::nrWritten ( ) const
inline

◆ prepareWork()

bool SeisTrcWriter::prepareWork ( const SeisTrc )

◆ psWriter() [1/2]

SeisPSWriter* SeisTrcWriter::psWriter ( )
inline

◆ psWriter() [2/2]

const SeisPSWriter* SeisTrcWriter::psWriter ( ) const
inline

◆ put()

virtual bool SeisTrcWriter::put ( const SeisTrc )
virtual

◆ put2D()

bool SeisTrcWriter::put2D ( const SeisTrc )
protected

◆ setAttrib()

void SeisTrcWriter::setAttrib ( const char *  a)
inline

if set, overrules attrib in linekey

◆ setComponentNames()

void SeisTrcWriter::setComponentNames ( const BufferStringSet )

◆ setCrFrom()

void SeisTrcWriter::setCrFrom ( const char *  str)
inline

◆ setCrUserInfo()

void SeisTrcWriter::setCrUserInfo ( const char *  str)
inline

◆ setDataType()

void SeisTrcWriter::setDataType ( const char *  dt)
inline

◆ setGeomIDProvider()

void SeisTrcWriter::setGeomIDProvider ( const GeomIDProvider )

◆ setSelData()

void SeisTrcWriter::setSelData ( Seis::SelData )
overridevirtual

If no GeomIDProvider set, seldata's GeomID will be used

Reimplemented from SeisStoreAccess.

◆ start3DWrite()

bool SeisTrcWriter::start3DWrite ( Conn ,
const SeisTrc  
)
protected

◆ startWork()

void SeisTrcWriter::startWork ( )
protected

◆ updateLineData()

void SeisTrcWriter::updateLineData ( )
protected

Member Data Documentation

◆ attribnm_

BufferString SeisTrcWriter::attribnm_
protected

◆ auxpars_

IOPar& SeisTrcWriter::auxpars_
protected

◆ compnames_

BufferStringSet SeisTrcWriter::compnames_
protected

◆ crfrom_

BufferString SeisTrcWriter::crfrom_
protected

◆ crusrinfo_

BufferString SeisTrcWriter::crusrinfo_
protected

◆ datatype_

BufferString SeisTrcWriter::datatype_
protected

◆ firstns_

int SeisTrcWriter::firstns_ = mUdf(int)
protected

◆ firstsampling_

SamplingData<float> SeisTrcWriter::firstsampling_
protected

◆ gidp_

const GeomIDProvider* SeisTrcWriter::gidp_ = nullptr
protected

◆ linedata_

PosInfo::Line2DData* SeisTrcWriter::linedata_ = nullptr
protected

◆ nrtrcs_

int SeisTrcWriter::nrtrcs_ = 0
protected

◆ nrwritten_

int SeisTrcWriter::nrwritten_ = 0
protected

◆ prevgeomid_

Pos::GeomID SeisTrcWriter::prevgeomid_
protected

◆ pswriter_

SeisPSWriter* SeisTrcWriter::pswriter_ = nullptr
protected

◆ putter_

Seis2DLinePutter* SeisTrcWriter::putter_ = nullptr
protected

◆ spnrs_

TypeSet<float> SeisTrcWriter::spnrs_
protected

◆ worktrc_

SeisTrc& SeisTrcWriter::worktrc_
protected

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