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::HorInterFiller Class Reference

Fills a volume with values. More...

Inheritance diagram for VolProc::HorInterFiller:
[legend]

Public Member Functions

 mDefaultFactoryInstantiation (VolProc::Step, HorInterFiller,"HorInterFiller", tr("Horizon-based painter - Simple"))~HorInterFiller()
 
 HorInterFiller ()
 
bool isOK () const
 
bool needsInput () const
 
bool isInputPrevStep () const
 
bool setTopHorizon (const MultiID *)
 
const MultiIDgetTopHorizonID () const
 
bool setBottomHorizon (const MultiID *)
 
const MultiIDgetBottomHorizonID () const
 
float getTopValue () const
 
void setTopValue (float)
 
bool usesGradient () const
 
void useGradient (bool)
 If false, bottom value will be used. More...
 
float getBottomValue () const
 
void setBottomValue (float)
 
float getGradient () const
 
void setGradient (float)
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
void releaseData ()
 
bool canInputAndOutputBeSame () const
 
bool needsFullVolume () const
 
bool canHandle2D () const
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const
 
virtual bool areSamplesIndependent () 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 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 TaskcreateTask ()
 
virtual TaskcreateTaskWithProgMeter (ProgressMeter *)
 
virtual bool needReportProgress ()
 
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

bool prefersBinIDWise () const
 
bool prepareComp (int)
 
bool computeBinID (const BinID &, int)
 
EM::HorizonloadHorizon (const MultiID &) const
 
- Protected Member Functions inherited from VolProc::Step
 Step ()
 
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 * sKeyTopHorID ()
 
static const char * sKeyBotHorID ()
 
static const char * sKeyTopValue ()
 
static const char * sKeyBotValue ()
 
static const char * sKeyGradient ()
 
static const char * sKeyUseGradient ()
 

Protected Attributes

float topvalue_
 
float bottomvalue_
 
EM::Horizontophorizon_
 
EM::Horizonbottomhorizon_
 
bool usegradient_
 
float gradient_
 
- 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 (HorInterFiller)
 

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

Fills a volume with values.

The top and bottom of the volume are either the survey top/bottom, or horizons. The values are fixed at the top boundary (either horizon or survey top) and change either with a fixed gradient or to a fixed value at the bottom boundary.

Constructor & Destructor Documentation

VolProc::HorInterFiller::HorInterFiller ( )

Member Function Documentation

virtual bool VolProc::HorInterFiller::areSamplesIndependent ( ) const
inlinevirtual

returns whether samples in the output are independent from each other.

Reimplemented from VolProc::Step.

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

Reimplemented from VolProc::Step.

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

Reimplemented from VolProc::Step.

bool VolProc::HorInterFiller::computeBinID ( const BinID ,
int   
)
protectedvirtual

Reimplemented from VolProc::Step.

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

Reimplemented from VolProc::Step.

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

Reimplemented from VolProc::Step.

const MultiID* VolProc::HorInterFiller::getBottomHorizonID ( ) const
float VolProc::HorInterFiller::getBottomValue ( ) const
float VolProc::HorInterFiller::getGradient ( ) const
const MultiID* VolProc::HorInterFiller::getTopHorizonID ( ) const
float VolProc::HorInterFiller::getTopValue ( ) const
bool VolProc::HorInterFiller::isInputPrevStep ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

bool VolProc::HorInterFiller::isOK ( ) const
EM::Horizon* VolProc::HorInterFiller::loadHorizon ( const MultiID ) const
protected
VolProc::HorInterFiller::mDefaultFactoryInstantiation ( VolProc::Step  ,
HorInterFiller  ,
"HorInterFiller"  ,
tr("Horizon-based painter - Simple")   
)
VolProc::HorInterFiller::mODTextTranslationClass ( HorInterFiller  )
private
bool VolProc::HorInterFiller::needsFullVolume ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

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

Implements VolProc::Step.

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

Reimplemented from VolProc::Step.

bool VolProc::HorInterFiller::prepareComp ( int  )
inlineprotectedvirtual

Reimplemented from VolProc::Step.

void VolProc::HorInterFiller::releaseData ( )
virtual

Reimplemented from VolProc::Step.

bool VolProc::HorInterFiller::setBottomHorizon ( const MultiID )
void VolProc::HorInterFiller::setBottomValue ( float  )
void VolProc::HorInterFiller::setGradient ( float  )
bool VolProc::HorInterFiller::setTopHorizon ( const MultiID )
void VolProc::HorInterFiller::setTopValue ( float  )
static const char* VolProc::HorInterFiller::sKeyBotHorID ( )
inlinestaticprotected
static const char* VolProc::HorInterFiller::sKeyBotValue ( )
inlinestaticprotected
static const char* VolProc::HorInterFiller::sKeyGradient ( )
inlinestaticprotected
static const char* VolProc::HorInterFiller::sKeyTopHorID ( )
inlinestaticprotected
static const char* VolProc::HorInterFiller::sKeyTopValue ( )
inlinestaticprotected
static const char* VolProc::HorInterFiller::sKeyUseGradient ( )
inlinestaticprotected
void VolProc::HorInterFiller::useGradient ( bool  )

If false, bottom value will be used.

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

Reimplemented from VolProc::Step.

bool VolProc::HorInterFiller::usesGradient ( ) const

Member Data Documentation

EM::Horizon* VolProc::HorInterFiller::bottomhorizon_
protected
float VolProc::HorInterFiller::bottomvalue_
protected
float VolProc::HorInterFiller::gradient_
protected
EM::Horizon* VolProc::HorInterFiller::tophorizon_
protected
float VolProc::HorInterFiller::topvalue_
protected
bool VolProc::HorInterFiller::usegradient_
protected

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