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 DataPackID dpid = getDataPackFromSomewhere( inputbid );
return error;
processmanager.
setInput( relbid, dpid );
}
}
return error;
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:27
static DataPackID cNoID()
Definition: datapack.h:115
IdxType & inl()
Definition: posidxpair.h:39
IdxType & crl()
Definition: posidxpair.h:44
Processor for PreStack AGC.
Definition: prestackagc.h:23
void setWindow(const Interval< float > &)
Orgainizes a number of PreStack::Processors into a chain which can be processed.
Definition: prestackprocessor.h:135
void setInput(const BinID &relbid, DataPackID)
void addProcessor(Processor *)
bool reset(bool force=true)
Call when you are about to process new data.
BinID getInputStepout() const
Only after prepareWork.
DataPackID getOutput() const
<>
◆ 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()
DataPackID PreStack::ProcessManager::getOutput |
( |
| ) |
const |
◆ 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()
void PreStack::ProcessManager::setInput |
( |
const BinID & |
relbid, |
|
|
DataPackID |
|
|
) |
| |
◆ 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