OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SeisPSCubeSeisTrcTranslator Class Reference
Inheritance diagram for SeisPSCubeSeisTrcTranslator:
[legend]

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

 mODTextTranslationClass (SeisPSCubeSeisTrcTranslator)
 
isTranslator(SeisPSCube, SeisTrc) public ~SeisPSCubeSeisTrcTranslator ()
 
virtual bool readInfo (SeisTrcInfo &)
 
virtual bool read (SeisTrc &)
 
virtual bool skip (int)
 
virtual bool forRead () const
 
virtual bool supportsGoTo () const
 
virtual bool goTo (const BinID &)
 
virtual int bytesOverheadPerTrace () const
 
virtual bool implRemove (const IOObj *) const
 
virtual bool implRename (const IOObj *, const char *, const CallBack *) const
 
virtual bool implSetReadOnly (const IOObj *, bool) const
 
virtual const char * connType () const
 
virtual bool isUserSelectable (bool fr) const
 

Additional Inherited Members

- Public Member Functions inherited from SeisTrcTranslator
 SeisTrcTranslator (const char *, const char *)
 
virtual ~SeisTrcTranslator ()
 
bool initRead (Conn *, Seis::ReadMode rt=Seis::Prod)
 
bool initWrite (Conn *, const SeisTrc &)
 
virtual ConncurConn ()
 
SeisPacketInfopacketInfo ()
 
const Seis::SelDataselData () const
 
ObjectSet< TargetComponentData > & componentInfo ()
 
const ObjectSet< TargetComponentData > & componentInfo () const
 
const ObjectSet< ComponentData > & inputComponentData () const
 
const SamplingData< float > & inpSD () const
 
int inpNrSamples () const
 
const SamplingData< float > & outSD () const
 
int outNrSamples () const
 
void setSelData (const Seis::SelData *t)
 
bool commitSelections ()
 
virtual bool write (const SeisTrc &)
 
virtual bool close ()
 
uiString errMsg () const
 
virtual bool inlCrlSorted () const
 
virtual void usePar (const IOPar &)
 
int selComp (int nr=0) const
 
int nrSelComps () const
 
SeisTrcgetEmpty ()
 
SeisTrcgetFilled (const BinID &)
 
virtual void cleanUp ()
 Prepare for new initialisation. More...
 
virtual bool getGeometryInfo (PosInfo::CubeData &) const
 
bool isPS () const
 
void enforceRegularWrite (bool yn)
 
void enforceSurvinfoWrite (bool yn)
 
const LineKeycurLineKey () const
 
void setCurLineKey (const LineKey &lk)
 
Pos::GeomID curGeomID () const
 
void setCurGeomID (Pos::GeomID gid)
 
virtual int estimatedNrTraces () const
 
void setComponentNames (const BufferStringSet &)
 
void getComponentNames (BufferStringSet &) const
 
bool haveWarnings () const
 
const BufferStringSetwarnings () const
 
void setIs2D (bool yn)
 
void setIsPS (bool yn)
 
- Public Member Functions inherited from Translator
uiString sSelObjectIsWrongType ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
- Static Public Member Functions inherited from SeisTrcTranslator
static bool getRanges (const MultiID &, TrcKeyZSampling &, const char *linekey=0)
 
static bool getRanges (const IOObj &, TrcKeyZSampling &, const char *linekey=0)
 
static bool is2D (const IOObj &, bool only_internal=false)
 
static bool isPS (const IOObj &)
 
static bool isLineSet (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 uiString sNoIoobjMsg ()
 
static uiString sBadConnection ()
 

Detailed Description

Constructor & Destructor Documentation

isTranslator (SeisPSCube,SeisTrc) public SeisPSCubeSeisTrcTranslator::~SeisPSCubeSeisTrcTranslator ( )
private

Member Function Documentation

virtual int SeisPSCubeSeisTrcTranslator::bytesOverheadPerTrace ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SeisPSCubeSeisTrcTranslator::commitSelections_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from Translator.

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

Reimplemented from SeisTrcTranslator.

virtual bool SeisPSCubeSeisTrcTranslator::goTo ( const BinID )
privatevirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from Translator.

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

Reimplemented from Translator.

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

Reimplemented from Translator.

virtual bool SeisPSCubeSeisTrcTranslator::initRead_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

virtual bool SeisPSCubeSeisTrcTranslator::initWrite_ ( const SeisTrc )
inlineprotectedvirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from SeisTrcTranslator.

SeisPSCubeSeisTrcTranslator::mODTextTranslationClass ( SeisPSCubeSeisTrcTranslator  )
private
virtual bool SeisPSCubeSeisTrcTranslator::read ( SeisTrc )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SeisPSCubeSeisTrcTranslator::readInfo ( SeisTrcInfo )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SeisPSCubeSeisTrcTranslator::skip ( int  )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SeisPSCubeSeisTrcTranslator::supportsGoTo ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

bool SeisPSCubeSeisTrcTranslator::toNext ( )
protected

Member Data Documentation

BinID SeisPSCubeSeisTrcTranslator::curbinid_
protected
bool SeisPSCubeSeisTrcTranslator::inforead_
protected
PosInfo::CubeData& SeisPSCubeSeisTrcTranslator::posdata_
protected
SeisPS3DReader* SeisPSCubeSeisTrcTranslator::psrdr_
protected
SeisTrc& SeisPSCubeSeisTrcTranslator::trc_
protected
TypeSet<int> SeisPSCubeSeisTrcTranslator::trcnrs_
protected

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