OpendTect  7.0
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | 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

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

Protected Member Functions

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

Static Protected Member Functions

static const char * sKeyVolumeID ()
 

Protected Attributes

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

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

<>

Constructor & Destructor Documentation

◆ ~VolumeReader()

VolProc::VolumeReader::~VolumeReader ( )

Member Function Documentation

◆ canHandle2D()

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

Reimplemented from VolProc::Step.

◆ canInputAndOutputBeSame()

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

Reimplemented from VolProc::Step.

◆ createTask()

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

Reimplemented from VolProc::Step.

◆ extraMemoryUsage()

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

Reimplemented from VolProc::Step.

◆ fillPar()

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

Reimplemented from VolProc::Step.

◆ getVolumeID()

const MultiID& VolProc::VolumeReader::getVolumeID ( ) const
inline

◆ needsFullVolume()

bool VolProc::VolumeReader::needsFullVolume ( ) const
inlineoverridevirtual

Reimplemented from VolProc::Step.

◆ needsInput()

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

Implements VolProc::Step.

◆ prefersBinIDWise()

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

Reimplemented from VolProc::Step.

◆ prepareWork()

bool VolProc::VolumeReader::prepareWork ( const IOObj )
protected

◆ setVolumeID()

bool VolProc::VolumeReader::setVolumeID ( const MultiID )

◆ sKeyVolumeID()

static const char* VolProc::VolumeReader::sKeyVolumeID ( )
inlinestaticprotected

◆ usePar()

bool VolProc::VolumeReader::usePar ( const IOPar )
overridevirtual

Reimplemented from VolProc::Step.

Member Data Documentation

◆ components_

TypeSet<int> VolProc::VolumeReader::components_
protected

◆ compscalers_

ObjectSet<Scaler> VolProc::VolumeReader::compscalers_
protected

◆ mid_

MultiID VolProc::VolumeReader::mid_
protected

◆ readers_

ObjectSet<SeisTrcReader> VolProc::VolumeReader::readers_
protected

◆ translators_

ObjectSet<SeisTrcTranslator> VolProc::VolumeReader::translators_
protected

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