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

Protected Member Functions

bool commitSelections_ ()
 
virtual bool initRead_ ()
 
virtual bool initWrite_ (const SeisTrc &)
 
void initVars (bool for_read=true)
 
const PosInfo::CubeDatacubeData () const
 
bool toNextTrace ()
 
bool positionTranslator ()
 
- 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 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

SEGY::DirectDefdef_
 
SEGY::FileDataSetfds_
 
bool headerread_
 
int ild_
 
int iseg_
 
int itrc_
 
bool forread_
 
IOPar segypars_
 
BufferString segyfilename_
 
BufferString segydeffilename_
 
- 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_
 
- Protected Attributes inherited from SEGY::DirectReader
SEGYSeisTrcTranslatortr_
 
int curfilenr_
 

Private Member Functions

 mODTextTranslationClass (SEGYDirectSeisTrcTranslator)
 
isTranslator(SEGYDirect, SeisTrc) public ~SEGYDirectSeisTrcTranslator ()
 
virtual const char * defExtension () const
 
virtual bool readInfo (SeisTrcInfo &)
 
virtual bool read (SeisTrc &)
 
virtual bool skip (int)
 
virtual bool supportsGoTo () const
 
virtual bool isUserSelectable (bool fr) const
 
virtual ConncurConn ()
 
virtual BinID curBinID () const
 
virtual bool forRead () const
 
virtual void toSupported (DataCharacteristics &) const
 
virtual bool write (const SeisTrc &)
 
virtual void usePar (const IOPar &)
 
virtual bool implRemove (const IOObj *) const
 
virtual bool close ()
 
virtual void cleanUp ()
 Prepare for new initialisation. More...
 
virtual IOObjcreateWriteIOObj (const IOObjContext &, const MultiID &) const
 
virtual const char * iconName () const
 
virtual bool getGeometryInfo (PosInfo::CubeData &) const
 
virtual SEGY::DirectDefgetDef ()
 
virtual bool goTo (const BinID &)
 
virtual uiString errMsg () const
 
void setCompDataFromInput ()
 
virtual bool readData (TraceData *externalbuf)
 

Static Private Member Functions

static SEGYSeisTrcTranslatorcreateTranslator (const SEGY::DirectDef &def, int filenr)
 

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 &)
 
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 ()
 
uiString errMsg () const
 
virtual bool inlCrlSorted () const
 
virtual int bytesOverheadPerTrace () const
 
int selComp (int nr=0) const
 
int nrSelComps () const
 
SeisTrcgetEmpty ()
 
SeisTrcgetFilled (const BinID &)
 
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...
 
- Public Member Functions inherited from SEGY::DirectReader
 DirectReader ()
 
virtual ~DirectReader ()
 
virtual SEGYSeisTrcTranslatorgetTranslator ()
 
- 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 (SEGYDirect,SeisTrc) public SEGYDirectSeisTrcTranslator::~SEGYDirectSeisTrcTranslator ( )
private

Member Function Documentation

virtual void SEGYDirectSeisTrcTranslator::cleanUp ( )
privatevirtual

Prepare for new initialisation.

Reimplemented from SeisTrcTranslator.

virtual bool SEGYDirectSeisTrcTranslator::close ( )
privatevirtual

Reimplemented from SeisTrcTranslator.

bool SEGYDirectSeisTrcTranslator::commitSelections_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

static SEGYSeisTrcTranslator* SEGYDirectSeisTrcTranslator::createTranslator ( const SEGY::DirectDef def,
int  filenr 
)
staticprivate
virtual IOObj* SEGYDirectSeisTrcTranslator::createWriteIOObj ( const IOObjContext ,
const MultiID  
) const
privatevirtual

Reimplemented from Translator.

const PosInfo::CubeData& SEGYDirectSeisTrcTranslator::cubeData ( ) const
protected
virtual BinID SEGYDirectSeisTrcTranslator::curBinID ( ) const
privatevirtual
virtual Conn* SEGYDirectSeisTrcTranslator::curConn ( )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual const char* SEGYDirectSeisTrcTranslator::defExtension ( ) const
inlineprivatevirtual

Reimplemented from Translator.

virtual uiString SEGYDirectSeisTrcTranslator::errMsg ( ) const
inlineprivatevirtual

Implements SEGY::DirectReader.

virtual bool SEGYDirectSeisTrcTranslator::forRead ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

virtual SEGY::DirectDef* SEGYDirectSeisTrcTranslator::getDef ( )
inlineprivatevirtual

Implements SEGY::DirectReader.

virtual bool SEGYDirectSeisTrcTranslator::getGeometryInfo ( PosInfo::CubeData ) const
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SEGYDirectSeisTrcTranslator::goTo ( const BinID )
privatevirtual

Implements SEGY::DirectReader.

virtual const char* SEGYDirectSeisTrcTranslator::iconName ( ) const
inlineprivatevirtual

Reimplemented from Translator.

virtual bool SEGYDirectSeisTrcTranslator::implRemove ( const IOObj ) const
privatevirtual

Reimplemented from Translator.

virtual bool SEGYDirectSeisTrcTranslator::initRead_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

void SEGYDirectSeisTrcTranslator::initVars ( bool  for_read = true)
protected
virtual bool SEGYDirectSeisTrcTranslator::initWrite_ ( const SeisTrc )
protectedvirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from SeisTrcTranslator.

SEGYDirectSeisTrcTranslator::mODTextTranslationClass ( SEGYDirectSeisTrcTranslator  )
private
bool SEGYDirectSeisTrcTranslator::positionTranslator ( )
protected
virtual bool SEGYDirectSeisTrcTranslator::read ( SeisTrc )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SEGYDirectSeisTrcTranslator::readData ( TraceData externalbuf)
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SEGYDirectSeisTrcTranslator::readInfo ( SeisTrcInfo )
privatevirtual

Reimplemented from SeisTrcTranslator.

void SEGYDirectSeisTrcTranslator::setCompDataFromInput ( )
private
virtual bool SEGYDirectSeisTrcTranslator::skip ( int  )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SEGYDirectSeisTrcTranslator::supportsGoTo ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

bool SEGYDirectSeisTrcTranslator::toNextTrace ( )
protected
virtual void SEGYDirectSeisTrcTranslator::toSupported ( DataCharacteristics ) const
privatevirtual
virtual void SEGYDirectSeisTrcTranslator::usePar ( const IOPar )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool SEGYDirectSeisTrcTranslator::write ( const SeisTrc )
privatevirtual

Reimplemented from SeisTrcTranslator.

Member Data Documentation

SEGY::DirectDef* SEGYDirectSeisTrcTranslator::def_
protected
SEGY::FileDataSet* SEGYDirectSeisTrcTranslator::fds_
protected
bool SEGYDirectSeisTrcTranslator::forread_
protected
bool SEGYDirectSeisTrcTranslator::headerread_
protected
int SEGYDirectSeisTrcTranslator::ild_
protected
int SEGYDirectSeisTrcTranslator::iseg_
protected
int SEGYDirectSeisTrcTranslator::itrc_
protected
BufferString SEGYDirectSeisTrcTranslator::segydeffilename_
protected
BufferString SEGYDirectSeisTrcTranslator::segyfilename_
protected
IOPar SEGYDirectSeisTrcTranslator::segypars_
protected

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