OpendTect-6_4
6.4
|
Generic interface for 2D gridding. More...
Public Member Functions | |
mDefineFactoryInClass (Gridder2D, factory) | |
virtual | ~Gridder2D () |
virtual Gridder2D * | clone () const =0 |
virtual bool | operator== (const Gridder2D &) const |
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 float | getValue (const Coord &, const TypeSet< double > *weights=0, const TypeSet< int > *relevantpoints=0) const |
Does the gridding. More... | |
virtual void | fillPar (IOPar &) const |
virtual bool | usePar (const IOPar &) |
virtual bool | allPointsAreRelevant () const =0 |
virtual bool | getWeights (const Coord &, TypeSet< double > &weights, TypeSet< int > &relevantpoints) const =0 |
virtual bool | areWeightsValuesDependent () const |
Protected Member Functions | |
Gridder2D () | |
Gridder2D (const Gridder2D &) | |
virtual bool | pointsChangedCB (CallBacker *) |
virtual void | valuesChangedCB (CallBacker *) |
float | getDetrendedValue (int idx) const |
bool | isAtInputPos (const Coord &, int &idx) const |
Protected Attributes | |
const TypeSet< float > * | values_ |
const TypeSet< Coord > * | points_ |
PolyTrend * | trend_ |
TypeSet< int > | usedpoints_ |
Generic interface for 2D gridding.
|
virtual |
|
protected |
|
protected |
|
pure virtual |
Implemented in RadialBasisFunctionGridder2D, TriangulatedGridder2D, and InverseDistanceGridder2D.
|
inlinevirtual |
Reimplemented in RadialBasisFunctionGridder2D.
|
pure virtual |
Implemented in RadialBasisFunctionGridder2D, TriangulatedGridder2D, and InverseDistanceGridder2D.
|
virtual |
Reimplemented in InverseDistanceGridder2D.
|
protected |
|
virtual |
Does the gridding.
Reimplemented in RadialBasisFunctionGridder2D.
|
pure 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
Implemented in RadialBasisFunctionGridder2D, TriangulatedGridder2D, and InverseDistanceGridder2D.
|
protected |
Reimplemented in InverseDistanceGridder2D.
Gridder2D::mDefineFactoryInClass | ( | Gridder2D | , |
factory | |||
) |
|
virtual |
Reimplemented in RadialBasisFunctionGridder2D, and InverseDistanceGridder2D.
|
inlineprotectedvirtual |
Reimplemented in RadialBasisFunctionGridder2D, and TriangulatedGridder2D.
|
inlinevirtual |
Given that we want to calculate cpt, is data at dpt usable. Tells gridder that you will not call setGridPoint outside these ranges. May speed up calculation.
Reimplemented in TriangulatedGridder2D.
bool Gridder2D::setPoints | ( | const TypeSet< Coord > & | , |
TaskRunner * | |||
) |
|
virtual |
bool Gridder2D::setValues | ( | const TypeSet< float > & | ) |
|
virtual |
Reimplemented in InverseDistanceGridder2D.
|
inlineprotectedvirtual |
Reimplemented in RadialBasisFunctionGridder2D.
|
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 in InverseDistanceGridder2D.
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019