Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes

PreStack::Stack Class Reference

Inheritance diagram for PreStack::Stack:
PreStack::Processor ParallelTask Task NamedObject CallBacker

List of all members.

Public Member Functions

 Stack ()
 ~Stack ()
void fillPar (IOPar &) const
bool usePar (const IOPar &)
const char * errMsg () const
void setOffsetRange (const Interval< float > *)
 Null pointer means all offsets.
const Interval< float > * getOffsetRange () const
 Null pointer means all offsets.

Static Public Member Functions

static void initClass ()
static ProcessorcreateFunc ()
static const char * sName ()

Protected Member Functions

GathercreateOutputArray (const Gather &) const
od_int64 nrIterations () const
bool doWork (od_int64, od_int64, int)

Static Protected Member Functions

static const char * sKeyOffsetRange ()

Protected Attributes

BufferString errmsg_
Interval< float > * offsetrg_

Constructor & Destructor Documentation

PreStack::Stack::Stack (  ) 
PreStack::Stack::~Stack (  ) 

Member Function Documentation

static Processor* PreStack::Stack::createFunc (  )  [static]
Gather* PreStack::Stack::createOutputArray ( const Gather  )  const [protected, virtual]

Reimplemented from PreStack::Processor.

bool PreStack::Stack::doWork ( od_int64  start,
od_int64  stop,
int   
) [protected, virtual]

If nrIterations is not overridden, start and stop will refer to offsets that should be processed.

Implements PreStack::Processor.

const char* PreStack::Stack::errMsg (  )  const [virtual]

Reimplemented from PreStack::Processor.

void PreStack::Stack::fillPar ( IOPar  )  const [virtual]

Implements PreStack::Processor.

const Interval<float>* PreStack::Stack::getOffsetRange (  )  const

Null pointer means all offsets.

static void PreStack::Stack::initClass (  )  [static]
od_int64 PreStack::Stack::nrIterations (  )  const [protected, virtual]

If algorithms cannot be done in parallel with regards to offsets, override function and return 1. doWork() will then be called with start=stop=0 and you can do whatever you want in doWork. You can also return number of samples in gather and run it parallel vertically.

Reimplemented from PreStack::Processor.

void PreStack::Stack::setOffsetRange ( const Interval< float > *   ) 

Null pointer means all offsets.

static const char* PreStack::Stack::sKeyOffsetRange (  )  [inline, static, protected]
static const char* PreStack::Stack::sName (  )  [inline, static]
bool PreStack::Stack::usePar ( const IOPar  )  [virtual]

Implements PreStack::Processor.


Member Data Documentation

Interval<float>* PreStack::Stack::offsetrg_ [protected]