OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Strat::FormulaLayerValue Class Reference

returns a layer value based on Math::Formula. It does not copy the Formula, so keep the formula alive while the layer is alive! More...

Inheritance diagram for Strat::FormulaLayerValue:
[legend]

Public Member Functions

 FormulaLayerValue (const IOPar &, const Strat::Layer &, const PropertyRefSelection &, int outpridx)
 
 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, float xpos)
 
 ~FormulaLayerValue ()
 
FormulaLayerValueclone (const Layer *) const override
 
uiString errMsg () const
 
void fillPar (IOPar &) const
 
bool isBad () const
 
void setXPos (float) override
 
float value () const override
 
- Public Member Functions inherited from Strat::LayerValue
virtual ~LayerValue ()
 
BufferString dumpStr () const
 
virtual bool isSimple () const
 

Protected Member Functions

 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, float xpos, bool copyform=false)
 
void useForm (const PropertyRefSelection &, int outidx)
 
- Protected Member Functions inherited from Strat::LayerValue
 LayerValue ()
 

Protected Attributes

uiString errmsg_
 
const Math::Formulaform_
 
TypeSet< int > inpidxs_
 
TypeSet< double > inpvals_
 
const Layerlay_
 
const bool myform_
 
float xpos_
 

Detailed Description

returns a layer value based on Math::Formula. It does not copy the Formula, so keep the formula alive while the layer is alive!

<>

Constructor & Destructor Documentation

◆ FormulaLayerValue() [1/3]

Strat::FormulaLayerValue::FormulaLayerValue ( const Math::Formula ,
const Strat::Layer ,
const PropertyRefSelection ,
int  outpridx,
float  xpos 
)

◆ FormulaLayerValue() [2/3]

Strat::FormulaLayerValue::FormulaLayerValue ( const IOPar ,
const Strat::Layer ,
const PropertyRefSelection ,
int  outpridx 
)

◆ ~FormulaLayerValue()

Strat::FormulaLayerValue::~FormulaLayerValue ( )

◆ FormulaLayerValue() [3/3]

Strat::FormulaLayerValue::FormulaLayerValue ( const Math::Formula ,
const Strat::Layer ,
float  xpos,
bool  copyform = false 
)
protected

Member Function Documentation

◆ clone()

FormulaLayerValue* Strat::FormulaLayerValue::clone ( const Layer ) const
overridevirtual

Implements Strat::LayerValue.

◆ errMsg()

uiString Strat::FormulaLayerValue::errMsg ( ) const
inline

◆ fillPar()

void Strat::FormulaLayerValue::fillPar ( IOPar ) const

◆ isBad()

bool Strat::FormulaLayerValue::isBad ( ) const
inline

◆ setXPos()

void Strat::FormulaLayerValue::setXPos ( float  )
overridevirtual

Reimplemented from Strat::LayerValue.

◆ useForm()

void Strat::FormulaLayerValue::useForm ( const PropertyRefSelection ,
int  outidx 
)
protected

◆ value()

float Strat::FormulaLayerValue::value ( ) const
overridevirtual

Implements Strat::LayerValue.

Member Data Documentation

◆ errmsg_

uiString Strat::FormulaLayerValue::errmsg_
mutableprotected

◆ form_

const Math::Formula& Strat::FormulaLayerValue::form_
protected

◆ inpidxs_

TypeSet<int> Strat::FormulaLayerValue::inpidxs_
protected

◆ inpvals_

TypeSet<double> Strat::FormulaLayerValue::inpvals_
mutableprotected

◆ lay_

const Layer& Strat::FormulaLayerValue::lay_
protected

◆ myform_

const bool Strat::FormulaLayerValue::myform_
protected

◆ xpos_

float Strat::FormulaLayerValue::xpos_
protected

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