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

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

Inheritance diagram for RadialBasisFunctionGridder2D:
[legend]

Protected Member Functions

bool updateSolver ()
 
bool updateSolver (TaskRunner *)
 
bool updateSolution ()
 
double getRadius (const Coord &pos1, const Coord &pos2) const
 
bool pointsChangedCB (CallBacker *)
 
void valuesChangedCB (CallBacker *)
 
bool setWeights (const Coord &, TypeSet< double > &weights, TypeSet< int > *usedpoints=0) const
 
- 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

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

Private Member Functions

mODTextTranslationClass(RadialBasisFunctionGridder2D) public RadialBasisFunctionGridder2D ()
 
 RadialBasisFunctionGridder2D (const RadialBasisFunctionGridder2D &)
 
 ~RadialBasisFunctionGridder2D ()
 
Gridder2Dclone () const
 
bool operator== (const Gridder2D &) const
 
void setMetricTensor (double m11, double m12, double m22)
 
bool allPointsAreRelevant () const
 
bool getWeights (const Coord &, TypeSet< double > &weights, TypeSet< int > &relevantpoints) const
 
bool areWeightsValuesDependent () const
 
float getValue (const Coord &, const TypeSet< double > *weights=0, const TypeSet< int > *relevantpoints=0) const
 Does the gridding. More...
 

Static Private Member Functions

static const char * sKeyIsMetric ()
 

Additional Inherited Members

- Public Member Functions inherited from Gridder2D
 mDefineFactoryInClass (Gridder2D, factory)
 
virtual ~Gridder2D ()
 
virtual bool wantsAllPoints () const
 If false, points should be tested with isPointUsable. More...
 
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 *)
 
const TypeSet< Coord > * getPoints () const
 
virtual void setTrend (PolyTrend::Order)
 
bool setValues (const TypeSet< float > &)
 
virtual void fillPar (IOPar &) const
 
virtual bool usePar (const IOPar &)
 

Detailed Description

Uses Radial Basic Function to predict the values.

Constructor & Destructor Documentation

mODTextTranslationClass (RadialBasisFunctionGridder2D) public RadialBasisFunctionGridder2D::RadialBasisFunctionGridder2D ( )
private
RadialBasisFunctionGridder2D::RadialBasisFunctionGridder2D ( const RadialBasisFunctionGridder2D )
private
RadialBasisFunctionGridder2D::~RadialBasisFunctionGridder2D ( )
private

Member Function Documentation

bool RadialBasisFunctionGridder2D::allPointsAreRelevant ( ) const
privatevirtual

Implements Gridder2D.

bool RadialBasisFunctionGridder2D::areWeightsValuesDependent ( ) const
inlineprivatevirtual

Reimplemented from Gridder2D.

Gridder2D* RadialBasisFunctionGridder2D::clone ( ) const
privatevirtual

Implements Gridder2D.

static double RadialBasisFunctionGridder2D::evaluateRBF ( double  radius,
double  scale = 1. 
)
staticprotected
double RadialBasisFunctionGridder2D::getRadius ( const Coord pos1,
const Coord pos2 
) const
protected
float RadialBasisFunctionGridder2D::getValue ( const Coord ,
const TypeSet< double > *  weights = 0,
const TypeSet< int > *  relevantpoints = 0 
) const
privatevirtual

Does the gridding.

Reimplemented from Gridder2D.

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

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 RadialBasisFunctionGridder2D::operator== ( const Gridder2D ) const
privatevirtual

Reimplemented from Gridder2D.

bool RadialBasisFunctionGridder2D::pointsChangedCB ( CallBacker )
protectedvirtual

Reimplemented from Gridder2D.

void RadialBasisFunctionGridder2D::setMetricTensor ( double  m11,
double  m12,
double  m22 
)
private
bool RadialBasisFunctionGridder2D::setWeights ( const Coord ,
TypeSet< double > &  weights,
TypeSet< int > *  usedpoints = 0 
) const
protected
static const char* RadialBasisFunctionGridder2D::sKeyIsMetric ( )
inlinestaticprivate
bool RadialBasisFunctionGridder2D::updateSolution ( )
protected
bool RadialBasisFunctionGridder2D::updateSolver ( )
protected
bool RadialBasisFunctionGridder2D::updateSolver ( TaskRunner )
protected
void RadialBasisFunctionGridder2D::valuesChangedCB ( CallBacker )
protectedvirtual

Reimplemented from Gridder2D.

Member Data Documentation

TypeSet<double>* RadialBasisFunctionGridder2D::globalweights_
protected
bool RadialBasisFunctionGridder2D::ismetric_
protected
double RadialBasisFunctionGridder2D::m11_
protected
double RadialBasisFunctionGridder2D::m12_
protected
double RadialBasisFunctionGridder2D::m22_
protected
LinSolver<double>* RadialBasisFunctionGridder2D::solv_
protected

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