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

Protected Member Functions

virtual bool commitSelections_ ()
 
virtual bool initRead_ ()
 
virtual bool initWrite_ (const SeisTrc &)
 
virtual bool writeTrc_ (const SeisTrc &)
 
virtual bool wantBuffering () 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 readData (TraceData *extbuf=0)
 
virtual bool prepareWriteBlock (StepInterval< int > &, bool &)
 
virtual bool dumpBlock ()
 will call blockDumped() More...
 
virtual void blockDumped (int nrtrcs)
 
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

Reader * rdr_
 
FPDataRepType preselfprep_
 
- 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 (BlocksSeisTrcTranslator)
 
 BlocksSeisTrcTranslator (const char *, const char *)
 
 ~BlocksSeisTrcTranslator ()
 
virtual const char * defExtension () const
 
virtual bool forRead () const
 
virtual bool readInfo (SeisTrcInfo &)
 
virtual bool read (SeisTrc &)
 
virtual bool skip (int)
 
virtual bool supportsGoTo () const
 
virtual bool goTo (const BinID &)
 
virtual bool isUserSelectable (bool forread) const
 
virtual bool getGeometryInfo (PosInfo::CubeData &) const
 
virtual void usePar (const IOPar &)
 
virtual bool close ()
 
virtual void cleanUp ()
 Prepare for new initialisation. More...
 
virtual const char * iconName () const
 
virtual void convToConnExpr (BufferString &) const
 
virtual int bytesOverheadPerTrace () const
 
virtual bool isSingleComponent () const
 
virtual int estimatedNrTraces () const
 
virtual BufferStringSet auxExtensions () const
 

Static Private Member Functions

static const char * sKeyTrName ()
 

Private Attributes

isTranslator(Blocks, SeisTrc) public typedef DataCharacteristics::UserType FPDataRepType
 

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 &)
 
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)
 
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

BlocksSeisTrcTranslator::BlocksSeisTrcTranslator ( const char *  ,
const char *   
)
private
BlocksSeisTrcTranslator::~BlocksSeisTrcTranslator ( )
private

Member Function Documentation

virtual BufferStringSet BlocksSeisTrcTranslator::auxExtensions ( ) const
privatevirtual
virtual int BlocksSeisTrcTranslator::bytesOverheadPerTrace ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

virtual void BlocksSeisTrcTranslator::cleanUp ( )
privatevirtual

Prepare for new initialisation.

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::close ( )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::commitSelections_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

virtual void BlocksSeisTrcTranslator::convToConnExpr ( BufferString ) const
privatevirtual
virtual const char* BlocksSeisTrcTranslator::defExtension ( ) const
inlineprivatevirtual

Reimplemented from Translator.

virtual int BlocksSeisTrcTranslator::estimatedNrTraces ( ) const
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::forRead ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::goTo ( const BinID )
privatevirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from Translator.

virtual bool BlocksSeisTrcTranslator::initRead_ ( )
protectedvirtual

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::initWrite_ ( const SeisTrc )
protectedvirtual

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::isSingleComponent ( ) const
inlineprivatevirtual
virtual bool BlocksSeisTrcTranslator::isUserSelectable ( bool  forread) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

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

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::readInfo ( SeisTrcInfo )
privatevirtual

Reimplemented from SeisTrcTranslator.

static const char* BlocksSeisTrcTranslator::sKeyTrName ( )
inlinestaticprivate
virtual bool BlocksSeisTrcTranslator::skip ( int  )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::supportsGoTo ( ) const
inlineprivatevirtual

Reimplemented from SeisTrcTranslator.

virtual void BlocksSeisTrcTranslator::usePar ( const IOPar )
privatevirtual

Reimplemented from SeisTrcTranslator.

virtual bool BlocksSeisTrcTranslator::wantBuffering ( ) const
inlineprotectedvirtual
virtual bool BlocksSeisTrcTranslator::writeTrc_ ( const SeisTrc )
protectedvirtual

Reimplemented from SeisTrcTranslator.

Member Data Documentation

isTranslator (Blocks,SeisTrc) public typedef DataCharacteristics::UserType BlocksSeisTrcTranslator::FPDataRepType
private
FPDataRepType BlocksSeisTrcTranslator::preselfprep_
protected
Reader* BlocksSeisTrcTranslator::rdr_
protected

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