OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
VolProc::BodyFiller Class Reference

Body filler. More...

Inheritance diagram for VolProc::BodyFiller:
[legend]

Public Types

enum  ValueType { Constant , PrevStep , Undefined }
 
- Public Types inherited from VolProc::Step
typedef int ID
 
typedef int InputSlotID
 
typedef int OutputSlotID
 

Public Member Functions

 BodyFiller ()
 
 ~BodyFiller ()
 
bool areSamplesIndependent () const
 
bool canInputAndOutputBeSame () const
 
TaskcreateTask ()
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const
 
void fillPar (IOPar &) const
 
float getInsideValue () const
 
ValueType getInsideValueType () const
 
float getOutsideValue () const
 
ValueType getOutsideValueType () const
 
MultiID getSurfaceID ()
 
bool isInputPrevStep () const
 
 mDefaultFactoryCreatorImpl (VolProc::Step, BodyFiller)
 
 mDefaultFactoryInstanciationBase ("BodyFiller", tr("Body shape painter"))
 
bool needsFullVolume () const
 
bool needsInput () const
 
void releaseData ()
 
void setInsideValue (float)
 
void setInsideValueType (ValueType)
 
void setOutsideValue (float)
 
void setOutsideValueType (ValueType)
 
bool setSurface (const MultiID &)
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from VolProc::Step
virtual ~Step ()
 
virtual bool canHandle2D () 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 > &, 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 needReportProgress ()
 
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 const char * sKeyOldType ()
 
- 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

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

Static Protected Member Functions

static const char * sKeyInsideType ()
 
static const char * sKeyInsideValue ()
 
static const char * sKeyMultiID ()
 
static const char * sKeyOldInsideOutsideValue ()
 
static const char * sKeyOldMultiID ()
 
static const char * sKeyOutsideType ()
 
static const char * sKeyOutsideValue ()
 

Protected Attributes

EM::Bodybody_
 
EM::EMObjectemobj_
 
double epsilon_
 
TrcKeyZSampling flatpolygon_
 
EM::ImplicitBodyimplicitbody_
 
float insideval_
 
ValueType insidevaltype_
 
MultiID mid_
 
float outsideval_
 
ValueType outsidevaltype_
 
TypeSet< Coord3plgbids_
 
char plgdir_
 
TypeSet< Coord3plgknots_
 
ODPolygon< double > * polygon_
 
- 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_
 

Detailed Description

Body filler.

<>

Member Enumeration Documentation

◆ ValueType

Enumerator
Constant 
PrevStep 
Undefined 

Constructor & Destructor Documentation

◆ BodyFiller()

VolProc::BodyFiller::BodyFiller ( )

◆ ~BodyFiller()

VolProc::BodyFiller::~BodyFiller ( )

Member Function Documentation

◆ areSamplesIndependent()

bool VolProc::BodyFiller::areSamplesIndependent ( ) const
inlinevirtual

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

Reimplemented from VolProc::Step.

◆ canInputAndOutputBeSame()

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

Reimplemented from VolProc::Step.

◆ computeBinID()

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

Reimplemented from VolProc::Step.

◆ createTask()

Task* VolProc::BodyFiller::createTask ( )
virtual

Reimplemented from VolProc::Step.

◆ extraMemoryUsage()

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

Reimplemented from VolProc::Step.

◆ fillPar()

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

Reimplemented from VolProc::Step.

◆ getFlatPlgZRange()

bool VolProc::BodyFiller::getFlatPlgZRange ( const BinID ,
Interval< double > &  result 
)
protected

◆ getInsideValue()

float VolProc::BodyFiller::getInsideValue ( ) const

◆ getInsideValueType()

ValueType VolProc::BodyFiller::getInsideValueType ( ) const

◆ getOutsideValue()

float VolProc::BodyFiller::getOutsideValue ( ) const

◆ getOutsideValueType()

ValueType VolProc::BodyFiller::getOutsideValueType ( ) const

◆ getSurfaceID()

MultiID VolProc::BodyFiller::getSurfaceID ( )
inline

◆ isInputPrevStep()

bool VolProc::BodyFiller::isInputPrevStep ( ) const
inlinevirtual

Reimplemented from VolProc::Step.

◆ mDefaultFactoryCreatorImpl()

VolProc::BodyFiller::mDefaultFactoryCreatorImpl ( VolProc::Step  ,
BodyFiller   
)

◆ mDefaultFactoryInstanciationBase()

VolProc::BodyFiller::mDefaultFactoryInstanciationBase ( "BodyFiller"  ,
tr("Body shape painter")   
)

◆ needsFullVolume()

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

Reimplemented from VolProc::Step.

◆ needsInput()

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

Implements VolProc::Step.

◆ prefersBinIDWise()

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

Reimplemented from VolProc::Step.

◆ prepareComp()

bool VolProc::BodyFiller::prepareComp ( int  nrthreads)
inlineprotectedvirtual

Reimplemented from VolProc::Step.

◆ releaseData()

void VolProc::BodyFiller::releaseData ( )
virtual

Reimplemented from VolProc::Step.

◆ setInsideValue()

void VolProc::BodyFiller::setInsideValue ( float  )

◆ setInsideValueType()

void VolProc::BodyFiller::setInsideValueType ( ValueType  )

◆ setOutsideValue()

void VolProc::BodyFiller::setOutsideValue ( float  )

◆ setOutsideValueType()

void VolProc::BodyFiller::setOutsideValueType ( ValueType  )

◆ setSurface()

bool VolProc::BodyFiller::setSurface ( const MultiID )

◆ sKeyInsideType()

static const char* VolProc::BodyFiller::sKeyInsideType ( )
staticprotected

◆ sKeyInsideValue()

static const char* VolProc::BodyFiller::sKeyInsideValue ( )
staticprotected

◆ sKeyMultiID()

static const char* VolProc::BodyFiller::sKeyMultiID ( )
staticprotected

◆ sKeyOldInsideOutsideValue()

static const char* VolProc::BodyFiller::sKeyOldInsideOutsideValue ( )
staticprotected

◆ sKeyOldMultiID()

static const char* VolProc::BodyFiller::sKeyOldMultiID ( )
staticprotected

◆ sKeyOldType()

static const char* VolProc::BodyFiller::sKeyOldType ( )
static

◆ sKeyOutsideType()

static const char* VolProc::BodyFiller::sKeyOutsideType ( )
staticprotected

◆ sKeyOutsideValue()

static const char* VolProc::BodyFiller::sKeyOutsideValue ( )
staticprotected

◆ usePar()

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

Reimplemented from VolProc::Step.

Member Data Documentation

◆ body_

EM::Body* VolProc::BodyFiller::body_
protected

◆ emobj_

EM::EMObject* VolProc::BodyFiller::emobj_
protected

◆ epsilon_

double VolProc::BodyFiller::epsilon_
protected

◆ flatpolygon_

TrcKeyZSampling VolProc::BodyFiller::flatpolygon_
protected

◆ implicitbody_

EM::ImplicitBody* VolProc::BodyFiller::implicitbody_
protected

◆ insideval_

float VolProc::BodyFiller::insideval_
protected

◆ insidevaltype_

ValueType VolProc::BodyFiller::insidevaltype_
protected

◆ mid_

MultiID VolProc::BodyFiller::mid_
protected

◆ outsideval_

float VolProc::BodyFiller::outsideval_
protected

◆ outsidevaltype_

ValueType VolProc::BodyFiller::outsidevaltype_
protected

◆ plgbids_

TypeSet<Coord3> VolProc::BodyFiller::plgbids_
protected

◆ plgdir_

char VolProc::BodyFiller::plgdir_
protected

◆ plgknots_

TypeSet<Coord3> VolProc::BodyFiller::plgknots_
protected

◆ polygon_

ODPolygon<double>* VolProc::BodyFiller::polygon_
protected

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