OpendTect  7.0
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
VolProc::VoxelConnectivityFilter Class Reference
Inheritance diagram for VolProc::VoxelConnectivityFilter:
[legend]

Public Types

enum  AcceptOutput { Ranking , BodySize , Value , Transparent }
 
enum  Connectivity { Faces , Edges , Corners }
 
- Public Types inherited from VolProc::Step
typedef int ID
 
typedef int InputSlotID
 
typedef int OutputSlotID
 

Public Member Functions

bool areSamplesIndependent () const override
 
bool canInputAndOutputBeSame () const override
 
TaskcreateTask () override
 
uiString errMsg () const override
 
od_int64 extraMemoryUsage (OutputSlotID, const TrcKeySampling &, const StepInterval< int > &) const override
 
void fillPar (IOPar &) const override
 
AcceptOutput getAcceptOutput () const
 
const Interval< float > & getAcceptRange () const
 
float getAcceptValue () const
 
Connectivity getConnectivity () const
 
od_int64 getMinimumBodySize () const
 
mDeprecatedDef od_int64 getProcTimeExtraMemory () const override
 
float getRejectValue () const
 
bool needsFullVolume () const override
 
bool needsInput () const override
 
void setAcceptOutput (AcceptOutput v)
 
void setAcceptRange (const Interval< float > &v)
 
void setAcceptValue (float val)
 
void setConnectivity (Connectivity val)
 
void setMinimumBodySize (od_int64 val)
 
void setRejectValue (float v)
 
bool usePar (const IOPar &) override
 
- Public Member Functions inherited from VolProc::Step
virtual ~Step ()
 
virtual bool canHandle2D () 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 > &, 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 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

 VoxelConnectivityFilter ()
 
 ~VoxelConnectivityFilter ()
 
- 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 prefersBinIDWise () 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 * sKeyAcceptOutput ()
 
static const char * sKeyAcceptValue ()
 
static const char * sKeyConnectivity ()
 
static const char * sKeyMinimumSize ()
 
static const char * sKeyRange ()
 
static const char * sKeyRejectValue ()
 

Protected Attributes

AcceptOutput acceptoutput_
 
float acceptvalue_
 
Connectivity connectivity_
 
od_int64 minbodysize_
 
Interval< float > range_
 
float rejectvalue_
 
- 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

- 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

<>

Member Enumeration Documentation

◆ AcceptOutput

Enumerator
Ranking 
BodySize 
Value 
Transparent 

◆ Connectivity

Enumerator
Faces 
Edges 
Corners 

Constructor & Destructor Documentation

◆ VoxelConnectivityFilter()

VolProc::VoxelConnectivityFilter::VoxelConnectivityFilter ( )
protected

◆ ~VoxelConnectivityFilter()

VolProc::VoxelConnectivityFilter::~VoxelConnectivityFilter ( )
protected

Member Function Documentation

◆ areSamplesIndependent()

bool VolProc::VoxelConnectivityFilter::areSamplesIndependent ( ) const
inlineoverridevirtual

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

Reimplemented from VolProc::Step.

◆ canInputAndOutputBeSame()

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

Reimplemented from VolProc::Step.

◆ createTask()

Task* VolProc::VoxelConnectivityFilter::createTask ( )
overridevirtual

Reimplemented from VolProc::Step.

◆ errMsg()

uiString VolProc::VoxelConnectivityFilter::errMsg ( ) const
inlineoverridevirtual

Reimplemented from VolProc::Step.

◆ extraMemoryUsage()

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

Reimplemented from VolProc::Step.

◆ fillPar()

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

Reimplemented from VolProc::Step.

◆ getAcceptOutput()

AcceptOutput VolProc::VoxelConnectivityFilter::getAcceptOutput ( ) const
inline

◆ getAcceptRange()

const Interval<float>& VolProc::VoxelConnectivityFilter::getAcceptRange ( ) const
inline

◆ getAcceptValue()

float VolProc::VoxelConnectivityFilter::getAcceptValue ( ) const
inline

◆ getConnectivity()

Connectivity VolProc::VoxelConnectivityFilter::getConnectivity ( ) const
inline

◆ getMinimumBodySize()

od_int64 VolProc::VoxelConnectivityFilter::getMinimumBodySize ( ) const
inline

◆ getProcTimeExtraMemory()

mDeprecatedDef od_int64 VolProc::VoxelConnectivityFilter::getProcTimeExtraMemory ( ) const
inlineoverridevirtual

Reimplemented from VolProc::Step.

◆ getRejectValue()

float VolProc::VoxelConnectivityFilter::getRejectValue ( ) const
inline

◆ needsFullVolume()

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

Reimplemented from VolProc::Step.

◆ needsInput()

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

Implements VolProc::Step.

◆ setAcceptOutput()

void VolProc::VoxelConnectivityFilter::setAcceptOutput ( AcceptOutput  v)
inline

◆ setAcceptRange()

void VolProc::VoxelConnectivityFilter::setAcceptRange ( const Interval< float > &  v)
inline

If start is udf, kept range is less than stop. If stop is udf, kept range is more than start. If range is reversed, outside range is kept. Otherwise, inside range is kept.

◆ setAcceptValue()

void VolProc::VoxelConnectivityFilter::setAcceptValue ( float  val)
inline

◆ setConnectivity()

void VolProc::VoxelConnectivityFilter::setConnectivity ( Connectivity  val)
inline

Must be either 6, 12 or 26

◆ setMinimumBodySize()

void VolProc::VoxelConnectivityFilter::setMinimumBodySize ( od_int64  val)
inline

◆ setRejectValue()

void VolProc::VoxelConnectivityFilter::setRejectValue ( float  v)
inline

◆ sKeyAcceptOutput()

static const char* VolProc::VoxelConnectivityFilter::sKeyAcceptOutput ( )
inlinestaticprotected

◆ sKeyAcceptValue()

static const char* VolProc::VoxelConnectivityFilter::sKeyAcceptValue ( )
inlinestaticprotected

◆ sKeyConnectivity()

static const char* VolProc::VoxelConnectivityFilter::sKeyConnectivity ( )
inlinestaticprotected

◆ sKeyMinimumSize()

static const char* VolProc::VoxelConnectivityFilter::sKeyMinimumSize ( )
inlinestaticprotected

◆ sKeyRange()

static const char* VolProc::VoxelConnectivityFilter::sKeyRange ( )
inlinestaticprotected

◆ sKeyRejectValue()

static const char* VolProc::VoxelConnectivityFilter::sKeyRejectValue ( )
inlinestaticprotected

◆ usePar()

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

Reimplemented from VolProc::Step.

Member Data Documentation

◆ acceptoutput_

AcceptOutput VolProc::VoxelConnectivityFilter::acceptoutput_
protected

◆ acceptvalue_

float VolProc::VoxelConnectivityFilter::acceptvalue_
protected

◆ connectivity_

Connectivity VolProc::VoxelConnectivityFilter::connectivity_
protected

◆ minbodysize_

od_int64 VolProc::VoxelConnectivityFilter::minbodysize_
protected

◆ range_

Interval<float> VolProc::VoxelConnectivityFilter::range_
protected

◆ rejectvalue_

float VolProc::VoxelConnectivityFilter::rejectvalue_
protected

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