OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
VolProc::VolumeReader Class Reference

Reads in a volume. Will replace previous values if data is present in the read volume. More...

Inheritance diagram for VolProc::VolumeReader:
[legend]

Public Member Functions

 mDefaultFactoryInstantiation (Step, VolumeReader,"VolumeReader", tr("Input Volume"))~VolumeReader()
 
bool needsInput () const
 
bool setVolumeID (const MultiID &)
 
const MultiIDgetVolumeID () const
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
bool canInputAndOutputBeSame () const
 
bool needsFullVolume () const
 
bool canHandle2D () const
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const
 
- Public Member Functions inherited from VolProc::Step
 mDefineFactoryInClass (Step, factory)
 
virtual ~Step ()
 
ID getID () const
 
ChaingetChain ()
 
const ChaingetChain () const
 
virtual const char * userName () const
 
virtual void setUserName (const char *nm)
 
void resetInput ()
 
virtual int getNrInputs () const
 
virtual InputSlotID getInputSlotID (int idx) const
 
virtual void getInputSlotName (InputSlotID, BufferString &) const
 
virtual bool isInputPrevStep () const
 
virtual int getNrOutputs () const
 
virtual OutputSlotID getOutputSlotID (int idx) const
 
bool validInputSlotID (InputSlotID) const
 
bool validOutputSlotID (OutputSlotID) const
 
virtual TrcKeySampling getInputHRg (const TrcKeySampling &) const
 
virtual StepInterval< int > getInputZRg (const StepInterval< int > &) const
 
virtual StepInterval< int > getInputZRgWithGeom (const StepInterval< int > &, Survey::Geometry::ID) const
 
virtual void setInput (InputSlotID, const RegularSeisDataPack *)
 
const RegularSeisDataPackgetInput (InputSlotID) const
 
virtual void setOutput (OutputSlotID, RegularSeisDataPack *, const TrcKeySampling &, const StepInterval< int > &)
 
const RegularSeisDataPackgetOutput (OutputSlotID) const
 
RegularSeisDataPackgetOutput (OutputSlotID)
 
int getOutputIdx (OutputSlotID) const
 
void enableOutput (OutputSlotID)
 
const RegularSeisDataPackgetOutput () const
 
RegularSeisDataPackgetOutput ()
 
virtual const VelocityDescgetVelDesc () const
 
virtual bool areSamplesIndependent () const
 
virtual TaskcreateTaskWithProgMeter (ProgressMeter *)
 
virtual bool needReportProgress ()
 
virtual void releaseData ()
 
TrcKeyZSampling getInputSampling (const TrcKeyZSampling &) const
 
virtual uiString errMsg () const
 
virtual mDeprecated od_int64 getOuputMemSize (int) const
 
virtual mDeprecated od_int64 getProcTimeExtraMemory () const
 

Protected Member Functions

TaskcreateTask ()
 
bool prefersBinIDWise () const
 
bool prepareWork (const IOObj &)
 
- Protected Member Functions inherited from VolProc::Step
 Step ()
 
virtual bool computeBinID (const BinID &, int threadid)
 
virtual bool prepareComp (int nrthreads)
 
const StepInterval< float > & getZSampling () const
 
void setHStep (const BinID &)
 
void setVStep (int)
 
void setInpNrComps (InputSlotID, int)
 
void setOutputNrComps (int)
 
int getNrInputComponents (InputSlotID) const
 
int getNrOutComponents () const
 
od_uint64 getComponentMemory (const TrcKeySampling &, bool input) const
 

Static Protected Member Functions

static const char * sKeyVolumeID ()
 

Protected Attributes

MultiID mid_
 
ObjectSet< SeisTrcReaderreaders_
 
ObjectSet< SeisTrcTranslatortranslators_
 
TypeSet< int > components_
 
ObjectSet< Scalercompscalers_
 
- Protected Attributes inherited from VolProc::Step
Chainchain_
 
ObjectSet< const RegularSeisDataPackinputs_
 
TypeSet< InputSlotIDinputslotids_
 
BufferString username_
 
ID id_
 
uiString errmsg_
 
TypeSet< OutputSlotIDoutputslotids_
 
TrcKeySampling tks_
 
StepInterval< int > zrg_
 

Private Member Functions

 mODTextTranslationClass (VolumeReader)
 

Additional Inherited Members

- Public Types inherited from VolProc::Step
typedef int ID
 
typedef int InputSlotID
 
typedef int OutputSlotID
 
- Static Public Member Functions inherited from VolProc::Step
static ID cUndefID ()
 
static int cUndefSlotID ()
 
static mDeprecated od_int64 getBaseMemoryUsage (const TrcKeySampling &, const StepInterval< int > &)
 

Detailed Description

Reads in a volume. Will replace previous values if data is present in the read volume.

Member Function Documentation

bool VolProc::VolumeReader::canHandle2D ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

bool VolProc::VolumeReader::canInputAndOutputBeSame ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

Task* VolProc::VolumeReader::createTask ( )
protectedvirtual

Reimplemented from VolProc::Step.

od_int64 VolProc::VolumeReader::extraMemoryUsage ( OutputSlotID  ,
const TrcKeySampling ,
const StepInterval< int > &   
) const
virtual

Reimplemented from VolProc::Step.

void VolProc::VolumeReader::fillPar ( IOPar ) const
virtual

Reimplemented from VolProc::Step.

const MultiID& VolProc::VolumeReader::getVolumeID ( ) const
inline
VolProc::VolumeReader::mDefaultFactoryInstantiation ( Step  ,
VolumeReader  ,
"VolumeReader"  ,
tr("Input Volume")   
)
VolProc::VolumeReader::mODTextTranslationClass ( VolumeReader  )
private
bool VolProc::VolumeReader::needsFullVolume ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

bool VolProc::VolumeReader::needsInput ( ) const
inlinevirtual

Implements VolProc::Step.

bool VolProc::VolumeReader::prefersBinIDWise ( ) const
inlineprotectedvirtual

Reimplemented from VolProc::Step.

bool VolProc::VolumeReader::prepareWork ( const IOObj )
protected
bool VolProc::VolumeReader::setVolumeID ( const MultiID )
static const char* VolProc::VolumeReader::sKeyVolumeID ( )
inlinestaticprotected
bool VolProc::VolumeReader::usePar ( const IOPar )
virtual

Reimplemented from VolProc::Step.

Member Data Documentation

TypeSet<int> VolProc::VolumeReader::components_
protected
ObjectSet<Scaler> VolProc::VolumeReader::compscalers_
protected
MultiID VolProc::VolumeReader::mid_
protected
ObjectSet<SeisTrcReader> VolProc::VolumeReader::readers_
protected
ObjectSet<SeisTrcTranslator> VolProc::VolumeReader::translators_
protected

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