OpendTect  6.6
Public Member Functions | Static 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 (ProcessingChain &)
 
 ~VolumeReader ()
 
bool canHandle2D () const
 
bool canInputAndOutputBeSame () const
 
bool compute (int start, int stop)
 
const char * errMsg () const
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const
 
void fillPar (IOPar &) const
 
void fillPar (IOPar &) const
 
const MultiIDgetStorage () const
 
const MultiIDgetVolumeID () const
 
bool needsFullVolume () const
 
bool needsInput () const
 
bool needsInput (const HorSampling &) const
 
bool setCurrentCalcPos (const BinID &)
 
void setStorage (const MultiID &)
 
bool setVolumeID (const MultiID &)
 
const char * type () const
 
bool usePar (const IOPar &)
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from VolProc::Step
virtual ~Step ()
 
virtual bool areSamplesIndependent () const
 
virtual TaskcreateTaskWithProgMeter (ProgressMeter *)
 
void enableOutput (OutputSlotID)
 
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 > &, Survey::Geometry::ID) 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
 
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
 

Static Public Member Functions

static void initClass ()
 
static const char * sKeyStorageID ()
 
static const char * sKeyType ()
 
- Static Public Member Functions inherited from VolProc::Step
static ID cUndefID ()
 
static int cUndefSlotID ()
 
static mDeprecatedDef od_int64 getBaseMemoryUsage (const TrcKeySampling &, const StepInterval< int > &)
 

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)
 
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 ProcessingStep * create (ProcessingChain &pc)
 
static const char * sKeyVolumeID ()
 

Protected Attributes

TypeSet< int > components_
 
ObjectSet< Scalercompscalers_
 
SeisTrc curtrc_
 
BufferString errmsg_
 
MultiID mid_
 
SeisTrcReaderreader_
 
ObjectSet< SeisTrcReaderreaders_
 
MultiID storageid_
 
ObjectSet< SeisTrcTranslatortranslators_
 
bool validtrc_
 
- 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
 

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

◆ VolumeReader()

VolProc::VolumeReader::VolumeReader ( ProcessingChain &  )

Member Function Documentation

◆ canHandle2D()

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

Reimplemented from VolProc::Step.

◆ canInputAndOutputBeSame()

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

Reimplemented from VolProc::Step.

◆ compute()

bool VolProc::VolumeReader::compute ( int  start,
int  stop 
)

◆ create()

static ProcessingStep* VolProc::VolumeReader::create ( ProcessingChain &  pc)
staticprotected

◆ createTask()

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

Reimplemented from VolProc::Step.

◆ errMsg()

const char* VolProc::VolumeReader::errMsg ( ) const
virtual

Reimplemented from VolProc::Step.

◆ extraMemoryUsage()

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

Reimplemented from VolProc::Step.

◆ fillPar() [1/2]

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

Reimplemented from VolProc::Step.

◆ fillPar() [2/2]

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

Reimplemented from VolProc::Step.

◆ getStorage()

const MultiID& VolProc::VolumeReader::getStorage ( ) const

◆ getVolumeID()

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

◆ initClass()

static void VolProc::VolumeReader::initClass ( )
static

◆ needsFullVolume()

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

Reimplemented from VolProc::Step.

◆ needsInput() [1/2]

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

Implements VolProc::Step.

◆ needsInput() [2/2]

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

◆ prefersBinIDWise()

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

Reimplemented from VolProc::Step.

◆ prepareWork()

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

◆ setCurrentCalcPos()

bool VolProc::VolumeReader::setCurrentCalcPos ( const BinID )

◆ setStorage()

void VolProc::VolumeReader::setStorage ( const MultiID )

◆ setVolumeID()

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

◆ sKeyStorageID()

static const char* VolProc::VolumeReader::sKeyStorageID ( )
inlinestatic

◆ sKeyType()

static const char* VolProc::VolumeReader::sKeyType ( )
inlinestatic

◆ sKeyVolumeID()

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

◆ type()

const char* VolProc::VolumeReader::type ( ) const

◆ usePar() [1/2]

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

Reimplemented from VolProc::Step.

◆ usePar() [2/2]

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

Reimplemented from VolProc::Step.

Member Data Documentation

◆ components_

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

◆ compscalers_

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

◆ curtrc_

SeisTrc VolProc::VolumeReader::curtrc_
protected

◆ errmsg_

BufferString VolProc::VolumeReader::errmsg_
protected

◆ mid_

MultiID VolProc::VolumeReader::mid_
protected

◆ reader_

SeisTrcReader* VolProc::VolumeReader::reader_
protected

◆ readers_

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

◆ storageid_

MultiID VolProc::VolumeReader::storageid_
protected

◆ translators_

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

◆ validtrc_

bool VolProc::VolumeReader::validtrc_
protected

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