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

SeisPSIOProvider Class Reference

Pre-Stack Seismics objects provider. More...

List of all members.

Public Member Functions

virtual ~SeisPSIOProvider ()
virtual SeisPS3DReadermake3DReader (const char *, int i=mUdf(int)) const
virtual SeisPS2DReadermake2DReader (const char *, const char *lnm) const
virtual SeisPSWritermake3DWriter (const char *) const
virtual SeisPSWritermake2DWriter (const char *, const char *lnm) const
const char * type () const
virtual bool getLineNames (const char *, BufferStringSet &) const

Static Public Attributes

static const char * sKeyCubeID

Protected Member Functions

 SeisPSIOProvider (const char *t)

Protected Attributes

BufferString type_

Detailed Description

Pre-Stack Seismics objects provider.

It is not mandatory to provide both reader and writer. Null returns must be expected.

The key provided to makeReader and makeWriter is the key to the data store. It can be a file or directory, but also some kind of data store access code. This name is stored in IOObjs refering to PS data stores. The IOObj's tranlator() is used for the type. OpendTect's simple CBVS PS data store has type 'CBVS' (who'd have thought that!), and the data store key is a directory name.

If you pass an inline number to the makeReader, you will get a Reader that should be able to read that inline, but be aware that this reader may not be able to provide the full geometry of the entire data store. If the inline is present in the data store, at least the segments for that inline should be filled (i.e. the geometry for that inline will be filled correctly). Construction time can be much faster when you pass an inline number. Pass: negative number for no scanning positive number for single inline usage mUdf(int) (=default) for scanning the entire datastore

For 2D pre-stack data stores, you have to pass a line name to get the relevant reader. This can return null if the line name is not found.


Constructor & Destructor Documentation

virtual SeisPSIOProvider::~SeisPSIOProvider (  )  [inline, virtual]
SeisPSIOProvider::SeisPSIOProvider ( const char *  t  )  [inline, protected]

Member Function Documentation

virtual bool SeisPSIOProvider::getLineNames ( const char *  ,
BufferStringSet  
) const [inline, virtual]
virtual SeisPS2DReader* SeisPSIOProvider::make2DReader ( const char *  ,
const char *  lnm 
) const [inline, virtual]
virtual SeisPSWriter* SeisPSIOProvider::make2DWriter ( const char *  ,
const char *  lnm 
) const [inline, virtual]
virtual SeisPS3DReader* SeisPSIOProvider::make3DReader ( const char *  ,
int  i = mUdf(int) 
) const [inline, virtual]
virtual SeisPSWriter* SeisPSIOProvider::make3DWriter ( const char *   )  const [inline, virtual]
const char* SeisPSIOProvider::type (  )  const [inline]

Member Data Documentation

const char* SeisPSIOProvider::sKeyCubeID [static]