OpendTect 8.0
Loading...
Searching...
No Matches
Strat::SharedFormulaLayerValue Class Reference

FormulaLayerValue that keeps a SharedFormula alive via ConstRefMan. More...

#include <stratlayer.h>

Inheritance diagram for Strat::SharedFormulaLayerValue:
[legend]

Public Member Functions

 SharedFormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, const Property::EvalOpts &)
 
 SharedFormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, float xpos)
 
 SharedFormulaLayerValue (const Math::SharedFormula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, const Property::EvalOpts &)
 
 SharedFormulaLayerValue (const Math::SharedFormula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, float xpos)
 
 ~SharedFormulaLayerValue ()
 
SharedFormulaLayerValue * clone (const Layer *) const override
 
const Math::SharedFormula & sharedFormula () const
 
- Public Member Functions inherited from Strat::FormulaLayerValue
 FormulaLayerValue (const IOPar &, const Strat::Layer &, const PropertyRefSelection &, int outpridx)
 
 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, const Property::EvalOpts &)
 
 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, int outpridx, float xpos)
 
 ~FormulaLayerValue ()
 
uiString errMsg () const
 
void fillPar (IOPar &) const
 
bool isBad () const
 
void setRelZ (float)
 
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

 SharedFormulaLayerValue (const Math::SharedFormula &, const Strat::Layer &, float xpos)
 
- Protected Member Functions inherited from Strat::FormulaLayerValue
 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

ConstRefMan< Math::SharedFormula > shared_
 
- Protected Attributes inherited from Strat::FormulaLayerValue
uiString errmsg_
 
const Math::Formula & form_
 
TypeSet< int > inpidxs_
 
TypeSet< double > inpvals_
 
const Layer & lay_
 
const bool myform_
 
float relz_ = 0.f
 
float xpos_ = 0.f
 

Detailed Description

FormulaLayerValue that keeps a SharedFormula alive via ConstRefMan.

Extends FormulaLayerValue without changing its layout: base form_ references the shared snapshot with myform_ == false; shared_ owns the lifetime.

Constructor & Destructor Documentation

◆ SharedFormulaLayerValue() [1/5]

Strat::SharedFormulaLayerValue::SharedFormulaLayerValue ( const Math::SharedFormula & ,
const Strat::Layer & ,
const PropertyRefSelection & ,
int outpridx,
float xpos )

◆ SharedFormulaLayerValue() [2/5]

Strat::SharedFormulaLayerValue::SharedFormulaLayerValue ( const Math::SharedFormula & ,
const Strat::Layer & ,
const PropertyRefSelection & ,
int outpridx,
const Property::EvalOpts &  )

◆ SharedFormulaLayerValue() [3/5]

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

◆ SharedFormulaLayerValue() [4/5]

Strat::SharedFormulaLayerValue::SharedFormulaLayerValue ( const Math::Formula & ,
const Strat::Layer & ,
const PropertyRefSelection & ,
int outpridx,
const Property::EvalOpts &  )

◆ ~SharedFormulaLayerValue()

Strat::SharedFormulaLayerValue::~SharedFormulaLayerValue ( )

◆ SharedFormulaLayerValue() [5/5]

Strat::SharedFormulaLayerValue::SharedFormulaLayerValue ( const Math::SharedFormula & ,
const Strat::Layer & ,
float xpos )
protected

Member Function Documentation

◆ clone()

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

Reimplemented from Strat::FormulaLayerValue.

◆ sharedFormula()

const Math::SharedFormula & Strat::SharedFormulaLayerValue::sharedFormula ( ) const
inline

Member Data Documentation

◆ shared_

ConstRefMan<Math::SharedFormula> Strat::SharedFormulaLayerValue::shared_
protected

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