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

Vel::VolumeConverter Class Reference

Inheritance diagram for Vel::VolumeConverter:
ParallelTask Task NamedObject CallBacker

List of all members.

Public Member Functions

 VolumeConverter (const IOObj &input, const IOObj &output, const HorSampling &ranges, const VelocityDesc &outdesc)
 ~VolumeConverter ()
const char * errMsg () const

Static Public Member Functions

static const char * sKeyInput ()
static const char * sKeyOutput ()

Protected Member Functions

od_int64 nrIterations () const
bool doPrepare (int)
bool doFinish (bool)
bool doWork (od_int64, od_int64, int)
const char * nrDoneText () const
char getNewTrace (SeisTrc &, int threadidx)

Protected Attributes

od_int64 totalnr_
IOObjinput_
IOObjoutput_
VelocityDesc veldesc_
HorSampling hrg_
FixedString errmsg_
SeisTrcReaderreader_
SeisTrcWriterwriter_
SeisSequentialWritersequentialwriter_
Threads::ConditionVar lock_

Detailed Description

Reads in a volume with eather Vrms or Vint, and writes out a volume with eather Vrms or Vint.


Constructor & Destructor Documentation

Vel::VolumeConverter::VolumeConverter ( const IOObj input,
const IOObj output,
const HorSampling ranges,
const VelocityDesc outdesc 
)
Vel::VolumeConverter::~VolumeConverter (  ) 

Member Function Documentation

bool Vel::VolumeConverter::doFinish ( bool   )  [protected, virtual]

Reimplemented from ParallelTask.

bool Vel::VolumeConverter::doPrepare ( int   )  [protected, virtual]

Reimplemented from ParallelTask.

bool Vel::VolumeConverter::doWork ( od_int64  ,
od_int64  ,
int   
) [protected]
const char* Vel::VolumeConverter::errMsg (  )  const [inline]
char Vel::VolumeConverter::getNewTrace ( SeisTrc ,
int  threadidx 
) [protected]
const char* Vel::VolumeConverter::nrDoneText (  )  const [inline, protected, virtual]

Reimplemented from Task.

od_int64 Vel::VolumeConverter::nrIterations (  )  const [inline, protected, virtual]

Implements ParallelTask.

static const char* Vel::VolumeConverter::sKeyInput (  )  [static]
static const char* Vel::VolumeConverter::sKeyOutput (  )  [static]

Member Data Documentation

od_int64 Vel::VolumeConverter::totalnr_ [protected]