Orgainizes a number of PreStack::Processors into a chain which can be processed.
More...
Orgainizes a number of PreStack::Processors into a chain which can be processed.
Support for processing prestack gathers is done by a PreStack::ProcessManager. The PreStack::ProcessManager has a chain of PreStack::Processor which are run in sequence.
Example:
for ( relbid.
inl()=-stepout.
inl(); relbid.
inl()<=stepout.
inl();
{
for ( relbid.
crl()=-stepout.
crl(); relbid.
crl()<=stepout.
crl();
{
if ( !processor.wantsInput(relbid) )
continue;
const BinID inputbid( relbid*
BinID(SI().inlStep(),SI().crlStep()) );
const DataPack::ID dpid = getDataPackFromSomewhere( inputbid );
return error;
processmanager.
setInput( relbid, dpid );
}
}
return error;
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
static ID cNoID()
Definition: datapack.h:53
int ID
Definition: datapack.h:37
IdxType & inl()
Definition: posidxpair.h:42
IdxType & crl()
Definition: posidxpair.h:47
Processor for PreStack AGC.
Definition: prestackagc.h:27
void setWindow(const Interval< float > &)
Orgainizes a number of PreStack::Processors into a chain which can be processed.
Definition: prestackprocessor.h:140
void addProcessor(Processor *)
bool reset(bool force=true)
Call when you are about to process new data.
void setInput(const BinID &relbid, DataPack::ID)
DataPack::ID getOutput() const
BinID getInputStepout() const
Only after prepareWork.
<>
◆ ProcessManager()
PreStack::ProcessManager::ProcessManager |
( |
| ) |
|
◆ ~ProcessManager()
PreStack::ProcessManager::~ProcessManager |
( |
| ) |
|
◆ addProcessor()
void PreStack::ProcessManager::addProcessor |
( |
Processor * |
| ) |
|
◆ errMsg()
uiString PreStack::ProcessManager::errMsg |
( |
| ) |
const |
|
inline |
◆ fillPar()
void PreStack::ProcessManager::fillPar |
( |
IOPar & |
| ) |
const |
◆ getInputStepout()
BinID PreStack::ProcessManager::getInputStepout |
( |
| ) |
const |
◆ getOutput()
◆ getProcessor() [1/2]
Processor* PreStack::ProcessManager::getProcessor |
( |
int |
| ) |
|
◆ getProcessor() [2/2]
const Processor* PreStack::ProcessManager::getProcessor |
( |
int |
| ) |
const |
◆ indexOf()
int PreStack::ProcessManager::indexOf |
( |
const Processor * |
| ) |
const |
◆ needsPreStackInput()
bool PreStack::ProcessManager::needsPreStackInput |
( |
| ) |
const |
◆ notifyChange()
void PreStack::ProcessManager::notifyChange |
( |
| ) |
|
|
inline |
◆ nrProcessors()
int PreStack::ProcessManager::nrProcessors |
( |
| ) |
const |
◆ prepareWork()
bool PreStack::ProcessManager::prepareWork |
( |
| ) |
|
◆ process()
bool PreStack::ProcessManager::process |
( |
| ) |
|
◆ removeAllProcessors()
void PreStack::ProcessManager::removeAllProcessors |
( |
| ) |
|
◆ removeProcessor()
void PreStack::ProcessManager::removeProcessor |
( |
int |
| ) |
|
◆ reset()
bool PreStack::ProcessManager::reset |
( |
bool |
force = true | ) |
|
Call when you are about to process new data.
◆ setInput()
◆ sKeyCDPRange()
static const char* PreStack::ProcessManager::sKeyCDPRange |
( |
| ) |
|
|
inlinestatic |
◆ sKeyInputData()
static const char* PreStack::ProcessManager::sKeyInputData |
( |
| ) |
|
|
inlinestatic |
◆ sKeyLineKey()
static const char* PreStack::ProcessManager::sKeyLineKey |
( |
| ) |
|
|
inlinestatic |
◆ sKeyNrProcessors()
static const char* PreStack::ProcessManager::sKeyNrProcessors |
( |
| ) |
|
|
inlinestaticprotected |
◆ sKeyOutputData()
static const char* PreStack::ProcessManager::sKeyOutputData |
( |
| ) |
|
|
inlinestatic |
◆ sKeySetup()
static const char* PreStack::ProcessManager::sKeySetup |
( |
| ) |
|
|
inlinestatic |
◆ swapProcessors()
void PreStack::ProcessManager::swapProcessors |
( |
int |
, |
|
|
int |
|
|
) |
| |
◆ usePar()
bool PreStack::ProcessManager::usePar |
( |
const IOPar & |
| ) |
|
◆ wantsInput()
virtual bool PreStack::ProcessManager::wantsInput |
( |
const BinID & |
relbid | ) |
const |
|
virtual |
◆ errmsg_
uiString PreStack::ProcessManager::errmsg_ |
|
protected |
◆ processors_
◆ setupChange