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

Protected Member Functions

virtual void cleanUp ()
 Prepare for new initialisation. More...
 
virtual bool initRead_ ()
 
virtual bool initWrite_ (const SeisTrc &)
 
virtual bool commitSelections_ ()
 
virtual bool writeTrc_ (const SeisTrc &)
 
virtual void blockDumped (int)
 
bool startWrite ()
 
bool toNext ()
 
bool getFileName (BufferString &)
 
bool inactiveSelData () const
 
int selRes (const BinID &) const
 
- 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...
 
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

bool forread_
 
bool headerdone_
 
bool donext_
 
int nrdone_
 
int coordpol_
 
bool * compsel_
 
unsigned char ** blockbufs_
 
TraceDataInterpreter ** storinterps_
 
int preseldatatype_
 
VBrickSpecbrickspec_
 
CBVSReadMgrrdmgr_
 
CBVSWriteMgrwrmgr_
 
PosAuxInfo auxinf_
 
bool is2d_
 
bool single_file_
 
bool forceusecbvsinfo_
 
- 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 (CBVSSeisTrcTranslator)
 
 ~CBVSSeisTrcTranslator ()
 
bool readInfo (SeisTrcInfo &)
 
bool read (SeisTrc &)
 
bool skip (int nrtrcs=1)
 
bool supportsGoTo () const
 
bool goTo (const BinID &)
 
bool toStart ()
 
virtual int bytesOverheadPerTrace () const
 
virtual bool forRead () const
 
virtual void usePar (const IOPar &)
 
const CBVSReadMgrreadMgr () const
 
Pos::IdxPair2Coord getTransform () const
 
virtual bool getGeometryInfo (PosInfo::CubeData &) const
 
virtual bool implRemove (const IOObj *) const
 
virtual bool implRename (const IOObj *, const char *, const CallBack *cb=0) const
 
virtual bool implSetReadOnly (const IOObj *, bool) const
 
const char * defExtension () const
 
bool is2D () const
 
void set2D (bool yn=true)
 
bool singleFile () const
 
void setSingleFile (bool yn=true)
 
void setForceUseCBVSInfo (bool yn)
 
void setCoordPol (bool dowrite, bool intrailer)
 
void setPreselDataType (int dt)
 
bool isUserSelectable (bool) const
 
void destroyVars (int)
 
virtual bool readData (TraceData *externalbuf)
 

Static Private Member Functions

static isTranslator(CBVS, SeisTrc) public CBVSSeisTrcTranslatormake (const char *fnm, bool forinfoonly, bool is2d, uiString *errmsg=0, bool forceusecbvsinfo=false)
 
static const char * sKeyDefExtension ()
 
static const char * sKeyOptDir ()
 

Static Private Attributes

static const IOPardatatypeparspec
 

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
 
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...
 
- 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

CBVSSeisTrcTranslator::~CBVSSeisTrcTranslator ( )
private

Member Function Documentation

virtual void CBVSSeisTrcTranslator::blockDumped ( int  )
protectedvirtual

Reimplemented from SeisTrcTranslator.

virtual int CBVSSeisTrcTranslator::bytesOverheadPerTrace ( ) const
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual void CBVSSeisTrcTranslator::cleanUp ( )
protectedvirtual

Prepare for new initialisation.

Reimplemented from SeisTrcTranslator.

virtual bool CBVSSeisTrcTranslator::commitSelections_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

const char* CBVSSeisTrcTranslator::defExtension ( ) const
inlineprivatevirtual

Reimplemented from Translator.

void CBVSSeisTrcTranslator::destroyVars ( int  )
private
virtual bool CBVSSeisTrcTranslator::forRead ( ) const
privatevirtual

Reimplemented from SeisTrcTranslator.

bool CBVSSeisTrcTranslator::getFileName ( BufferString )
protected
virtual bool CBVSSeisTrcTranslator::getGeometryInfo ( PosInfo::CubeData ) const
privatevirtual

Reimplemented from SeisTrcTranslator.

Pos::IdxPair2Coord CBVSSeisTrcTranslator::getTransform ( ) const
private
bool CBVSSeisTrcTranslator::goTo ( const BinID )
privatevirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from Translator.

virtual bool CBVSSeisTrcTranslator::implRename ( const IOObj ,
const char *  ,
const CallBack cb = 0 
) const
privatevirtual

Reimplemented from Translator.

virtual bool CBVSSeisTrcTranslator::implSetReadOnly ( const IOObj ,
bool   
) const
privatevirtual

Reimplemented from Translator.

bool CBVSSeisTrcTranslator::inactiveSelData ( ) const
protected
virtual bool CBVSSeisTrcTranslator::initRead_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

virtual bool CBVSSeisTrcTranslator::initWrite_ ( const SeisTrc )
protectedvirtual

Reimplemented from SeisTrcTranslator.

bool CBVSSeisTrcTranslator::is2D ( ) const
inlineprivate
bool CBVSSeisTrcTranslator::isUserSelectable ( bool  ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

static isTranslator (CBVS,SeisTrc) public CBVSSeisTrcTranslator* CBVSSeisTrcTranslator::make ( const char *  fnm,
bool  forinfoonly,
bool  is2d,
uiString errmsg = 0,
bool  forceusecbvsinfo = false 
)
staticprivate
CBVSSeisTrcTranslator::mODTextTranslationClass ( CBVSSeisTrcTranslator  )
private
bool CBVSSeisTrcTranslator::read ( SeisTrc )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool CBVSSeisTrcTranslator::readData ( TraceData externalbuf)
privatevirtual

Reimplemented from SeisTrcTranslator.

bool CBVSSeisTrcTranslator::readInfo ( SeisTrcInfo )
privatevirtual

Reimplemented from SeisTrcTranslator.

const CBVSReadMgr* CBVSSeisTrcTranslator::readMgr ( ) const
inlineprivate
int CBVSSeisTrcTranslator::selRes ( const BinID ) const
protected
void CBVSSeisTrcTranslator::set2D ( bool  yn = true)
private
void CBVSSeisTrcTranslator::setCoordPol ( bool  dowrite,
bool  intrailer 
)
private
void CBVSSeisTrcTranslator::setForceUseCBVSInfo ( bool  yn)
inlineprivate
void CBVSSeisTrcTranslator::setPreselDataType ( int  dt)
inlineprivate
void CBVSSeisTrcTranslator::setSingleFile ( bool  yn = true)
inlineprivate
bool CBVSSeisTrcTranslator::singleFile ( ) const
inlineprivate
static const char* CBVSSeisTrcTranslator::sKeyDefExtension ( )
staticprivate
static const char* CBVSSeisTrcTranslator::sKeyOptDir ( )
inlinestaticprivate
bool CBVSSeisTrcTranslator::skip ( int  nrtrcs = 1)
privatevirtual

Reimplemented from SeisTrcTranslator.

bool CBVSSeisTrcTranslator::startWrite ( )
protected
bool CBVSSeisTrcTranslator::supportsGoTo ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

bool CBVSSeisTrcTranslator::toNext ( )
protected
bool CBVSSeisTrcTranslator::toStart ( )
private
virtual void CBVSSeisTrcTranslator::usePar ( const IOPar )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool CBVSSeisTrcTranslator::writeTrc_ ( const SeisTrc )
protectedvirtual

Reimplemented from SeisTrcTranslator.

Member Data Documentation

PosAuxInfo CBVSSeisTrcTranslator::auxinf_
protected
unsigned char** CBVSSeisTrcTranslator::blockbufs_
protected
VBrickSpec& CBVSSeisTrcTranslator::brickspec_
protected
bool* CBVSSeisTrcTranslator::compsel_
protected
int CBVSSeisTrcTranslator::coordpol_
protected
const IOPar& CBVSSeisTrcTranslator::datatypeparspec
staticprivate
bool CBVSSeisTrcTranslator::donext_
protected
bool CBVSSeisTrcTranslator::forceusecbvsinfo_
protected
bool CBVSSeisTrcTranslator::forread_
protected
bool CBVSSeisTrcTranslator::headerdone_
protected
bool CBVSSeisTrcTranslator::is2d_
protected
int CBVSSeisTrcTranslator::nrdone_
protected
int CBVSSeisTrcTranslator::preseldatatype_
protected
CBVSReadMgr* CBVSSeisTrcTranslator::rdmgr_
protected
bool CBVSSeisTrcTranslator::single_file_
protected
TraceDataInterpreter** CBVSSeisTrcTranslator::storinterps_
protected
CBVSWriteMgr* CBVSSeisTrcTranslator::wrmgr_
protected

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