OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
InverseDistanceGridder2D Class Reference

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

Inheritance diagram for InverseDistanceGridder2D:
[legend]

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

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

Private Member Functions

 mODTextTranslationClass (InverseDistanceGridder2D)
 

Additional Inherited Members

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

Detailed Description

Uses inverse distance method for 2D gridding.

Constructor & Destructor Documentation

InverseDistanceGridder2D::InverseDistanceGridder2D ( )
InverseDistanceGridder2D::InverseDistanceGridder2D ( const InverseDistanceGridder2D )

Member Function Documentation

bool InverseDistanceGridder2D::allPointsAreRelevant ( ) const
virtual

Implements Gridder2D.

Gridder2D* InverseDistanceGridder2D::clone ( ) const
virtual

Implements Gridder2D.

void InverseDistanceGridder2D::fillPar ( IOPar ) const
virtual

Reimplemented from Gridder2D.

float InverseDistanceGridder2D::getSearchRadius ( ) const
inline
bool InverseDistanceGridder2D::getWeights ( const Coord ,
TypeSet< double > &  weights,
TypeSet< int > &  relevantpoints 
) const
virtual

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.

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

Reimplemented from Gridder2D.

InverseDistanceGridder2D::mDefaultFactoryInstantiation ( Gridder2D  ,
InverseDistanceGridder2D  ,
"InverseDistance"  ,
tr("Inverse distance")   
)
InverseDistanceGridder2D::mODTextTranslationClass ( InverseDistanceGridder2D  )
private
bool InverseDistanceGridder2D::operator== ( const Gridder2D ) const
virtual

Reimplemented from Gridder2D.

static uiString InverseDistanceGridder2D::searchRadiusErrMsg ( )
static
void InverseDistanceGridder2D::setSearchRadius ( float  )
static const char* InverseDistanceGridder2D::sKeySearchRadius ( )
inlinestatic
bool InverseDistanceGridder2D::usePar ( const IOPar )
virtual

Reimplemented from Gridder2D.

bool InverseDistanceGridder2D::wantsAllPoints ( ) const
inlinevirtual

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

float InverseDistanceGridder2D::radius_
protected

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