OpendTect  6.6
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 &)
 
 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, float xpos)
 
 ~FormulaLayerValue ()
 
FormulaLayerValueclone (const Layer *) const
 
uiString errMsg () const
 
void fillPar (IOPar &) const
 
bool isBad () const
 
virtual void setXPos (float)
 
virtual float value () const
 
- 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, bool c=false)
 
void useForm (const PropertyRefSelection &)
 

Protected Attributes

uiString errmsg_
 
const Math::Formulaform_
 
TypeSet< int > inpidxs_
 
TypeSet< float > 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 ,
float  xpos 
)

◆ FormulaLayerValue() [2/3]

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

◆ ~FormulaLayerValue()

Strat::FormulaLayerValue::~FormulaLayerValue ( )

◆ FormulaLayerValue() [3/3]

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

Member Function Documentation

◆ clone()

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

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()

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

Reimplemented from Strat::LayerValue.

◆ useForm()

void Strat::FormulaLayerValue::useForm ( const PropertyRefSelection )
protected

◆ value()

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

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<float> 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-2022