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

Public Member Functions

 SeisPSCubeSeisTrcTranslator (const char *, const char *)
 
 ~SeisPSCubeSeisTrcTranslator ()
 
virtual int bytesOverheadPerTrace () const
 
virtual const char * connType () const
 
virtual bool forRead () const
 
virtual bool goTo (const BinID &)
 
virtual bool implRemove (const IOObj *) const
 
virtual bool implRename (const IOObj *, const char *, const CallBack *) const
 
virtual bool implSetReadOnly (const IOObj *, bool) const
 
virtual bool isUserSelectable (bool fr) const
 
virtual bool read (SeisTrc &)
 
virtual bool readInfo (SeisTrcInfo &)
 
virtual bool skip (int)
 
virtual bool supportsGoTo () const
 
- Public Member Functions inherited from SeisTrcTranslator
 SeisTrcTranslator (const char *, const char *)
 
virtual ~SeisTrcTranslator ()
 
virtual void cleanUp ()
 Prepare for new initialisation. More...
 
virtual bool close ()
 
bool commitSelections ()
 
ObjectSet< TargetComponentData > & componentInfo ()
 
const ObjectSet< TargetComponentData > & componentInfo () const
 
virtual ConncurConn ()
 
Pos::GeomID curGeomID () const
 
const LineKeycurLineKey () const
 
void enforceRegularWrite (bool yn)
 
void enforceSurvinfoWrite (bool yn)
 
uiString errMsg () const
 
virtual int estimatedNrTraces () const
 
void getComponentNames (BufferStringSet &) const
 
SeisTrcgetEmpty ()
 
SeisTrcgetFilled (const BinID &)
 
virtual bool getGeometryInfo (PosInfo::CubeData &) const
 
bool haveWarnings () const
 
bool initRead (Conn *, Seis::ReadMode rt=Seis::Prod)
 
bool initWrite (Conn *, const SeisTrc &)
 
virtual bool inlCrlSorted () const
 
int inpNrSamples () const
 
const SamplingData< float > & inpSD () const
 
const ObjectSet< ComponentData > & inputComponentData () const
 
bool isPS () const
 
int nrSelComps () const
 
int outNrSamples () const
 
const SamplingData< float > & outSD () const
 
SeisPacketInfopacketInfo ()
 
bool readTraceData (TraceData *td=nullptr)
 
int selComp (int nr=0) const
 
const Seis::SelDataselData () const
 
void setComponentNames (const BufferStringSet &)
 
void setCurGeomID (Pos::GeomID gid)
 
void setCurLineKey (const LineKey &lk)
 
void setIs2D (bool yn)
 
void setIsPS (bool yn)
 
void setSelData (const Seis::SelData *t)
 
const LinScalertraceScaler () const
 
virtual void usePar (const IOPar &)
 
const BufferStringSetwarnings () const
 
virtual bool write (const SeisTrc &)
 
- Public Member Functions inherited from Translator
 Translator (const char *nm, const char *usr_nm)
 
virtual ~Translator ()
 
virtual IOObjcreateWriteIOObj (const IOObjContext &, const MultiID &) const
 
virtual const char * defExtension () const
 
const char * getDisplayName () const
 "username [group]" More...
 
virtual TranslatorgetNew () const =0
 
const TranslatorGroupgroup () const
 
virtual const char * iconName () const
 
virtual bool implExists (const IOObj *, bool forread) const
 
virtual bool implManagesObjects (const IOObj *) const
 
virtual bool implReadOnly (const IOObj *) const
 
void setGroup (TranslatorGroup *g)
 
uiString sSelObjectIsWrongType ()
 
const OD::StringtypeName () const
 
const OD::StringuserName () const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Protected Member Functions

virtual bool commitSelections_ ()
 
bool doRead (SeisTrc &, TypeSet< float > *offss=0)
 
virtual bool initRead_ ()
 
virtual bool initWrite_ (const SeisTrc &)
 
bool toNext ()
 
- Protected Member Functions inherited from SeisTrcTranslator
void addComp (const DataCharacteristics &, const char *nm=0, int dtype=0)
 
virtual void addWarn (int, const char *)
 
virtual void blockDumped (int nrtrcs)
 
virtual bool dumpBlock ()
 will call blockDumped() More...
 
void prepareComponents (SeisTrc &, int actualsz) const
 
virtual bool prepareWriteBlock (StepInterval< int > &, bool &)
 
virtual bool readData (TraceData *extbuf=0)
 
void setDataType (int icomp, int d)
 
virtual bool writeTrc_ (const SeisTrc &)
 

Protected Attributes

BinID curbinid_
 
bool inforead_
 
PosInfo::CubeDataposdata_
 
SeisPS3DReaderpsrdr_
 
SeisTrctrc_
 
TypeSet< int > trcnrs_
 
- Protected Attributes inherited from SeisTrcTranslator
ObjectSet< ComponentDatacds_
 
BufferStringSetcompnms_
 
Connconn_
 
LineKey curlinekey_
 
const LinScalercurtrcscalebase_
 
bool datareaddone_
 
bool enforce_regular_write
 
bool enforce_survinfo_write
 
uiString errmsg_
 
Pos::GeomID geomid_
 
bool headerdonenew_
 
int innrsamples_
 
ComponentData ** inpcds_
 
SamplingData< float > insd_
 
bool is_2d
 
bool is_prestack
 
TargetComponentData ** outcds_
 
int outnrsamples_
 
SamplingData< float > outsd_
 
SeisPacketInfopinfo_
 
Seis::ReadMode read_mode
 
Interval< int > samprg_
 
const Seis::SelDataseldata_
 
TraceDatastorbuf_
 
ObjectSet< TargetComponentDatatarcds_
 
SeisTrcBuftrcblock_
 
LinScalertrcscalebase_
 
BufferStringSetwarnings_
 
TypeSet< int > warnnrs_
 
- Protected Attributes inherited from Translator
TranslatorGroupgroup_
 
BufferString typname_
 
BufferString usrname_
 

Additional Inherited Members

- Static Public Member Functions inherited from SeisTrcTranslator
static bool getRanges (const IOObj &, TrcKeyZSampling &, const char *linekey=0)
 
static bool getRanges (const MultiID &, TrcKeyZSampling &, const char *linekey=0)
 
static bool is2D (const IOObj &, bool only_internal=false)
 
static bool isLineSet (const IOObj &)
 
static bool isPS (const IOObj &)
 
static const char * sKeyIs2D ()
 
static const char * sKeyIsPS ()
 
static const char * sKeyRegWrite ()
 
static const char * sKeySIWrite ()
 
- Static Public Member Functions inherited from Translator
static const TranslatorgetTemplateInstance (const char *displayname)
 
static uiString sBadConnection ()
 
static uiString sNoIoobjMsg ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Protected Member Functions inherited from Translator
static BufferString getAssociatedFileName (const char *fnm, const char *extension)
 
static BufferString getAssociatedFileName (const IOObj &, const char *extension)
 
static bool removeAssociatedFile (const char *fnm, const char *ext)
 
static bool renameAssociatedFile (const char *fnm, const char *ext, const char *newnm)
 
static bool renameLargeFile (const char *fnm, const char *newfnm, const CallBack *cb=0)
 
static bool setPermAssociatedFile (const char *fnm, const char *ext, bool setwritable)
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ SeisPSCubeSeisTrcTranslator()

SeisPSCubeSeisTrcTranslator::SeisPSCubeSeisTrcTranslator ( const char *  ,
const char *   
)

◆ ~SeisPSCubeSeisTrcTranslator()

SeisPSCubeSeisTrcTranslator::~SeisPSCubeSeisTrcTranslator ( )

Member Function Documentation

◆ bytesOverheadPerTrace()

virtual int SeisPSCubeSeisTrcTranslator::bytesOverheadPerTrace ( ) const
inlinevirtual

Reimplemented from SeisTrcTranslator.

◆ commitSelections_()

virtual bool SeisPSCubeSeisTrcTranslator::commitSelections_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

◆ connType()

virtual const char* SeisPSCubeSeisTrcTranslator::connType ( ) const
virtual

Reimplemented from Translator.

◆ doRead()

bool SeisPSCubeSeisTrcTranslator::doRead ( SeisTrc ,
TypeSet< float > *  offss = 0 
)
protected

◆ forRead()

virtual bool SeisPSCubeSeisTrcTranslator::forRead ( ) const
inlinevirtual

Reimplemented from SeisTrcTranslator.

◆ goTo()

virtual bool SeisPSCubeSeisTrcTranslator::goTo ( const BinID )
virtual

Reimplemented from SeisTrcTranslator.

◆ implRemove()

virtual bool SeisPSCubeSeisTrcTranslator::implRemove ( const IOObj ) const
inlinevirtual

Reimplemented from Translator.

◆ implRename()

virtual bool SeisPSCubeSeisTrcTranslator::implRename ( const IOObj ,
const char *  ,
const CallBack  
) const
inlinevirtual

Reimplemented from Translator.

◆ implSetReadOnly()

virtual bool SeisPSCubeSeisTrcTranslator::implSetReadOnly ( const IOObj ,
bool   
) const
inlinevirtual

Reimplemented from Translator.

◆ initRead_()

virtual bool SeisPSCubeSeisTrcTranslator::initRead_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

◆ initWrite_()

virtual bool SeisPSCubeSeisTrcTranslator::initWrite_ ( const SeisTrc )
inlineprotectedvirtual

Reimplemented from SeisTrcTranslator.

◆ isUserSelectable()

virtual bool SeisPSCubeSeisTrcTranslator::isUserSelectable ( bool  fr) const
inlinevirtual

Reimplemented from SeisTrcTranslator.

◆ read()

virtual bool SeisPSCubeSeisTrcTranslator::read ( SeisTrc )
virtual

Reimplemented from SeisTrcTranslator.

◆ readInfo()

virtual bool SeisPSCubeSeisTrcTranslator::readInfo ( SeisTrcInfo )
virtual

Reimplemented from SeisTrcTranslator.

◆ skip()

virtual bool SeisPSCubeSeisTrcTranslator::skip ( int  )
virtual

Reimplemented from SeisTrcTranslator.

◆ supportsGoTo()

virtual bool SeisPSCubeSeisTrcTranslator::supportsGoTo ( ) const
inlinevirtual

Reimplemented from SeisTrcTranslator.

◆ toNext()

bool SeisPSCubeSeisTrcTranslator::toNext ( )
protected

Member Data Documentation

◆ curbinid_

BinID SeisPSCubeSeisTrcTranslator::curbinid_
protected

◆ inforead_

bool SeisPSCubeSeisTrcTranslator::inforead_
protected

◆ posdata_

PosInfo::CubeData& SeisPSCubeSeisTrcTranslator::posdata_
protected

◆ psrdr_

SeisPS3DReader* SeisPSCubeSeisTrcTranslator::psrdr_
protected

◆ trc_

SeisTrc& SeisPSCubeSeisTrcTranslator::trc_
protected

◆ trcnrs_

TypeSet<int> SeisPSCubeSeisTrcTranslator::trcnrs_
protected

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