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

Uses Radial Basic Function to predict the values. More...

Inheritance diagram for RadialBasisFunctionGridder2D:
[legend]

Public Member Functions

 RadialBasisFunctionGridder2D ()
 
 RadialBasisFunctionGridder2D (const RadialBasisFunctionGridder2D &)
 
 ~RadialBasisFunctionGridder2D ()
 
bool allPointsAreRelevant () const override
 
bool areWeightsValuesDependent () const override
 
Gridder2Dclone () const override
 
float getValue (const Coord &, const TypeSet< double > *weights=nullptr, const TypeSet< int > *relevantpoints=nullptr) const override
 Does the gridding. More...
 
bool getWeights (const Coord &, TypeSet< double > &weights, TypeSet< int > &relevantpoints) const override
 
bool operator== (const Gridder2D &) const override
 
void setMetricTensor (double m11, double m12, double m22)
 
- Public Member Functions inherited from Gridder2D
virtual ~Gridder2D ()
 
virtual void fillPar (IOPar &) const
 
const TypeSet< Coord > * getPoints () const
 
const TypeSet< float > * getValues () const
 
virtual bool isPointUsable (const Coord &cpt, const Coord &dpt) 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 > &)
 
virtual bool usePar (const IOPar &)
 
virtual bool wantsAllPoints () const
 If false, points should be tested with isPointUsable. More...
 

Static Public Member Functions

static const char * sKeyIsMetric ()
 

Protected Member Functions

double getRadius (const Coord &pos1, const Coord &pos2) const
 
bool pointsChangedCB (CallBacker *) override
 
bool setWeights (const Coord &, TypeSet< double > &weights, TypeSet< int > *usedpoints=0) const
 
bool updateSolution ()
 
bool updateSolver ()
 
bool updateSolver (TaskRunner *)
 
void valuesChangedCB (CallBacker *) override
 
- Protected Member Functions inherited from Gridder2D
 Gridder2D ()
 
 Gridder2D (const Gridder2D &)
 
float getDetrendedValue (int idx) const
 
bool isAtInputPos (const Coord &, int &idx) const
 

Static Protected Member Functions

static double evaluateRBF (double radius, double scale=1.)
 

Protected Attributes

TypeSet< double > * globalweights_
 
bool ismetric_
 
double m11_
 
double m12_
 
double m22_
 
LinSolver< double > * solv_
 
- Protected Attributes inherited from Gridder2D
const TypeSet< Coord > * points_
 
PolyTrendtrend_
 
TypeSet< int > usedpoints_
 
const TypeSet< float > * values_
 

Detailed Description

Uses Radial Basic Function to predict the values.

<>

Constructor & Destructor Documentation

◆ RadialBasisFunctionGridder2D() [1/2]

RadialBasisFunctionGridder2D::RadialBasisFunctionGridder2D ( )

◆ RadialBasisFunctionGridder2D() [2/2]

RadialBasisFunctionGridder2D::RadialBasisFunctionGridder2D ( const RadialBasisFunctionGridder2D )

◆ ~RadialBasisFunctionGridder2D()

RadialBasisFunctionGridder2D::~RadialBasisFunctionGridder2D ( )

Member Function Documentation

◆ allPointsAreRelevant()

bool RadialBasisFunctionGridder2D::allPointsAreRelevant ( ) const
overridevirtual

Implements Gridder2D.

◆ areWeightsValuesDependent()

bool RadialBasisFunctionGridder2D::areWeightsValuesDependent ( ) const
inlineoverridevirtual

Reimplemented from Gridder2D.

◆ clone()

Gridder2D* RadialBasisFunctionGridder2D::clone ( ) const
overridevirtual

Implements Gridder2D.

◆ evaluateRBF()

static double RadialBasisFunctionGridder2D::evaluateRBF ( double  radius,
double  scale = 1. 
)
staticprotected

◆ getRadius()

double RadialBasisFunctionGridder2D::getRadius ( const Coord pos1,
const Coord pos2 
) const
protected

◆ getValue()

float RadialBasisFunctionGridder2D::getValue ( const Coord ,
const TypeSet< double > *  weights = nullptr,
const TypeSet< int > *  relevantpoints = nullptr 
) const
overridevirtual

Does the gridding.

Reimplemented from Gridder2D.

◆ getWeights()

bool RadialBasisFunctionGridder2D::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.

◆ operator==()

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

Reimplemented from Gridder2D.

◆ pointsChangedCB()

bool RadialBasisFunctionGridder2D::pointsChangedCB ( CallBacker )
overrideprotectedvirtual

Reimplemented from Gridder2D.

◆ setMetricTensor()

void RadialBasisFunctionGridder2D::setMetricTensor ( double  m11,
double  m12,
double  m22 
)

◆ setWeights()

bool RadialBasisFunctionGridder2D::setWeights ( const Coord ,
TypeSet< double > &  weights,
TypeSet< int > *  usedpoints = 0 
) const
protected

◆ sKeyIsMetric()

static const char* RadialBasisFunctionGridder2D::sKeyIsMetric ( )
inlinestatic

◆ updateSolution()

bool RadialBasisFunctionGridder2D::updateSolution ( )
protected

◆ updateSolver() [1/2]

bool RadialBasisFunctionGridder2D::updateSolver ( )
protected

◆ updateSolver() [2/2]

bool RadialBasisFunctionGridder2D::updateSolver ( TaskRunner )
protected

◆ valuesChangedCB()

void RadialBasisFunctionGridder2D::valuesChangedCB ( CallBacker )
overrideprotectedvirtual

Reimplemented from Gridder2D.

Member Data Documentation

◆ globalweights_

TypeSet<double>* RadialBasisFunctionGridder2D::globalweights_
protected

◆ ismetric_

bool RadialBasisFunctionGridder2D::ismetric_
protected

◆ m11_

double RadialBasisFunctionGridder2D::m11_
protected

◆ m12_

double RadialBasisFunctionGridder2D::m12_
protected

◆ m22_

double RadialBasisFunctionGridder2D::m22_
protected

◆ solv_

LinSolver<double>* RadialBasisFunctionGridder2D::solv_
protected

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