OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Strat::LayerGenerator Class Referenceabstract

Description that can generate layers and add these to a sequence. More...

Inheritance diagram for Strat::LayerGenerator:
[legend]

Public Member Functions

virtual ~LayerGenerator ()
 
virtual bool canBeCloned () const =0
 
virtual LayerGeneratorclone () const
 
virtual float dispThickness (bool max=false) const =0
 
virtual uiString errMsg () const
 
virtual void fillPar (IOPar &) const
 
bool generateMaterial (LayerSequence &, Property::EvalOpts eo=Property::EvalOpts()) const
 
virtual const char * name () const =0
 
virtual bool reset () const
 
void setGenDesc (LayerSequenceGenDesc *gd)
 
virtual void syncProps (const PropertyRefSelection &)=0
 
virtual void updateUsedProps (PropertyRefSelection &) const =0
 
virtual bool usePar (const IOPar &, const RefTree &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

static LayerGeneratorget (const IOPar &, const RefTree &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

virtual LayerGeneratorcreateClone () const
 
virtual bool genMaterial (LayerSequence &, Property::EvalOpts) const =0
 
virtual bool postProcess (LayerSequence &, float pos) const
 

Protected Attributes

const LayerSequenceGenDescgendesc_
 set before generation More...
 

Friends

class LayerSequenceGenDesc
 

Detailed Description

Description that can generate layers and add these to a sequence.

To be able to display this to users, youneed to be able to return a non-varying thickness. This dispThickness() can be the maximum possible (or if that is impossible, like 2 std devs), or an average/typical/center value.

<>

Constructor & Destructor Documentation

◆ ~LayerGenerator()

virtual Strat::LayerGenerator::~LayerGenerator ( )
virtual

Member Function Documentation

◆ canBeCloned()

virtual bool Strat::LayerGenerator::canBeCloned ( ) const
pure virtual

Implemented in Strat::SingleLayerGenerator.

◆ clone()

virtual LayerGenerator* Strat::LayerGenerator::clone ( ) const
inlinevirtual

◆ createClone()

virtual LayerGenerator* Strat::LayerGenerator::createClone ( ) const
inlineprotectedvirtual

Reimplemented in Strat::SingleLayerGenerator.

◆ dispThickness()

virtual float Strat::LayerGenerator::dispThickness ( bool  max = false) const
pure virtual

Implemented in Strat::SingleLayerGenerator.

◆ errMsg()

virtual uiString Strat::LayerGenerator::errMsg ( ) const
inlinevirtual

Reimplemented in Strat::SingleLayerGenerator.

◆ fillPar()

virtual void Strat::LayerGenerator::fillPar ( IOPar ) const
virtual

Reimplemented in Strat::SingleLayerGenerator.

◆ generateMaterial()

bool Strat::LayerGenerator::generateMaterial ( LayerSequence ,
Property::EvalOpts  eo = Property::EvalOpts() 
) const

◆ genMaterial()

virtual bool Strat::LayerGenerator::genMaterial ( LayerSequence ,
Property::EvalOpts   
) const
protectedpure virtual

Implemented in Strat::SingleLayerGenerator.

◆ get()

static LayerGenerator* Strat::LayerGenerator::get ( const IOPar ,
const RefTree  
)
static

◆ name()

virtual const char* Strat::LayerGenerator::name ( ) const
pure virtual

Implemented in Strat::SingleLayerGenerator.

◆ postProcess()

virtual bool Strat::LayerGenerator::postProcess ( LayerSequence ,
float  pos 
) const
inlineprotectedvirtual

◆ reset()

virtual bool Strat::LayerGenerator::reset ( ) const
inlinevirtual

Reimplemented in Strat::SingleLayerGenerator.

◆ setGenDesc()

void Strat::LayerGenerator::setGenDesc ( LayerSequenceGenDesc gd)
inline

◆ syncProps()

virtual void Strat::LayerGenerator::syncProps ( const PropertyRefSelection )
pure virtual

Implemented in Strat::SingleLayerGenerator.

◆ updateUsedProps()

virtual void Strat::LayerGenerator::updateUsedProps ( PropertyRefSelection ) const
pure virtual

Implemented in Strat::SingleLayerGenerator.

◆ usePar()

virtual bool Strat::LayerGenerator::usePar ( const IOPar ,
const RefTree  
)
virtual

Reimplemented in Strat::SingleLayerGenerator.

Friends And Related Function Documentation

◆ LayerSequenceGenDesc

friend class LayerSequenceGenDesc
friend

Member Data Documentation

◆ gendesc_

const LayerSequenceGenDesc* Strat::LayerGenerator::gendesc_
protected

set before generation


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