OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
InverseDistanceGridder2D Class Reference

Uses inverse distance method for 2D gridding. More...

Inheritance diagram for InverseDistanceGridder2D:
[legend]

Public Member Functions

 InverseDistanceGridder2D ()
 
 InverseDistanceGridder2D (const InverseDistanceGridder2D &)
 
bool allPointsAreRelevant () const override
 
Gridder2Dclone () const override
 
void fillPar (IOPar &) const override
 
float getSearchRadius () const
 
bool getWeights (const Coord &, TypeSet< double > &weights, TypeSet< int > &relevantpoints) const override
 
bool isPointUsable (const Coord &, const Coord &) const override
 
bool operator== (const Gridder2D &) const override
 
void setSearchRadius (float)
 
bool usePar (const IOPar &) override
 
bool wantsAllPoints () const override
 If false, points should be tested with isPointUsable. More...
 
- Public Member Functions inherited from Gridder2D
virtual ~Gridder2D ()
 
virtual bool areWeightsValuesDependent () const
 
const TypeSet< Coord > * getPoints () const
 
virtual float getValue (const Coord &, const TypeSet< double > *weights=0, const TypeSet< int > *relevantpoints=0) const
 Does the gridding. More...
 
const TypeSet< float > * getValues () const
 
virtual void setGridArea (const Interval< float > &, const Interval< float > &)
 
bool setPoints (const TypeSet< Coord > &)
 
bool setPoints (const TypeSet< Coord > &, TaskRunner *)
 
virtual void setTrend (PolyTrend::Order)
 
bool setValues (const TypeSet< float > &)
 

Static Public Member Functions

static uiString searchRadiusErrMsg ()
 
static const char * sKeySearchRadius ()
 

Protected Attributes

float radius_
 
- Protected Attributes inherited from Gridder2D
const TypeSet< Coord > * points_
 
PolyTrendtrend_
 
TypeSet< int > usedpoints_
 
const TypeSet< float > * values_
 

Additional Inherited Members

- Protected Member Functions inherited from Gridder2D
 Gridder2D ()
 
 Gridder2D (const Gridder2D &)
 
float getDetrendedValue (int idx) const
 
bool isAtInputPos (const Coord &, int &idx) const
 
virtual bool pointsChangedCB (CallBacker *)
 
virtual void valuesChangedCB (CallBacker *)
 

Detailed Description

Uses inverse distance method for 2D gridding.

<>

Constructor & Destructor Documentation

◆ InverseDistanceGridder2D() [1/2]

InverseDistanceGridder2D::InverseDistanceGridder2D ( )

◆ InverseDistanceGridder2D() [2/2]

InverseDistanceGridder2D::InverseDistanceGridder2D ( const InverseDistanceGridder2D )

Member Function Documentation

◆ allPointsAreRelevant()

bool InverseDistanceGridder2D::allPointsAreRelevant ( ) const
overridevirtual

Implements Gridder2D.

◆ clone()

Gridder2D* InverseDistanceGridder2D::clone ( ) const
overridevirtual

Implements Gridder2D.

◆ fillPar()

void InverseDistanceGridder2D::fillPar ( IOPar ) const
overridevirtual

Reimplemented from Gridder2D.

◆ getSearchRadius()

float InverseDistanceGridder2D::getSearchRadius ( ) const
inline

◆ getWeights()

bool InverseDistanceGridder2D::getWeights ( const Coord ,
TypeSet< double > &  weights,
TypeSet< int > &  relevantpoints 
) const
overridevirtual

Only use this if multiple setValues() are called for the same setPoints() The output weights and pointset must then be provided to the getValue function

Implements Gridder2D.

◆ isPointUsable()

bool InverseDistanceGridder2D::isPointUsable ( const Coord ,
const Coord  
) const
overridevirtual

Reimplemented from Gridder2D.

◆ operator==()

bool InverseDistanceGridder2D::operator== ( const Gridder2D ) const
overridevirtual

Reimplemented from Gridder2D.

◆ searchRadiusErrMsg()

static uiString InverseDistanceGridder2D::searchRadiusErrMsg ( )
static

◆ setSearchRadius()

void InverseDistanceGridder2D::setSearchRadius ( float  )

◆ sKeySearchRadius()

static const char* InverseDistanceGridder2D::sKeySearchRadius ( )
inlinestatic

◆ usePar()

bool InverseDistanceGridder2D::usePar ( const IOPar )
overridevirtual

Reimplemented from Gridder2D.

◆ wantsAllPoints()

bool InverseDistanceGridder2D::wantsAllPoints ( ) const
inlineoverridevirtual

If false, points should be tested with isPointUsable.

Only checks the name and trend. Should be re-implemented in inheriting classed if they have own variables/ settings.

Reimplemented from Gridder2D.

Member Data Documentation

◆ radius_

float InverseDistanceGridder2D::radius_
protected

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