Public Member Functions | Static Public Member Functions

Strat::LayerGenerator Class Reference

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

Inheritance diagram for Strat::LayerGenerator:
Strat::SingleLayerGenerator

List of all members.

Public Member Functions

virtual const char * name () const =0
virtual float dispThickness (bool max=true) const =0
virtual void usePar (const IOPar &, const RefTree &)
virtual void fillPar (IOPar &) const
 mDefineFactoryInClass (LayerGenerator, factory)
virtual bool genMaterial (LayerSequence &, Property::EvalOpts eo=Property::EvalOpts()) const =0
virtual bool reset () const
virtual const char * errMsg () const
virtual const char * warnMsg () const

Static Public Member Functions

static LayerGeneratorget (const IOPar &, const RefTree &)

Detailed Description

Description that can generate layers to add to a sequence.

genMaterial() needs a float, which must be in range [0,1]: the model position. When generating 11 sequences, these will be 0, 0.1, 0.2, ... 0.9, 1.


Member Function Documentation

virtual float Strat::LayerGenerator::dispThickness ( bool  max = true  )  const [pure virtual]

Implemented in Strat::SingleLayerGenerator.

virtual const char* Strat::LayerGenerator::errMsg (  )  const [inline, virtual]

Reimplemented in Strat::SingleLayerGenerator.

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

Reimplemented in Strat::SingleLayerGenerator.

virtual bool Strat::LayerGenerator::genMaterial ( LayerSequence ,
Property::EvalOpts  eo = Property::EvalOpts() 
) const [pure virtual]

Implemented in Strat::SingleLayerGenerator.

static LayerGenerator* Strat::LayerGenerator::get ( const IOPar ,
const RefTree  
) [static]
Strat::LayerGenerator::mDefineFactoryInClass ( LayerGenerator  ,
factory   
)
virtual const char* Strat::LayerGenerator::name (  )  const [pure virtual]

Implemented in Strat::SingleLayerGenerator.

virtual bool Strat::LayerGenerator::reset (  )  const [inline, virtual]

Reimplemented in Strat::SingleLayerGenerator.

virtual void Strat::LayerGenerator::usePar ( const IOPar ,
const RefTree  
) [virtual]

Reimplemented in Strat::SingleLayerGenerator.

virtual const char* Strat::LayerGenerator::warnMsg (  )  const [inline, virtual]