Set of 2D lines comparable with 3D seismic cube. More...
Public Member Functions | |
| Seis2DLineSet (const char *fnm) | |
| Seis2DLineSet (const Seis2DLineSet &lg) | |
| Seis2DLineSet (const IOObj &) | |
| Seis2DLineSet & | operator= (const Seis2DLineSet &) |
| virtual | ~Seis2DLineSet () |
| void | setReadOnly (bool yn=true) |
| const char * | type () const |
| int | nrLines () const |
| const IOPar & | getInfo (int idx) const |
| bool | isEmpty (int) const |
| const char * | lineName (int) const |
| returns pars_[idx]->name() | |
| const char * | attribute (int) const |
| const char * | datatype (int) const |
| const char * | zDomainKey (int) const |
| LineKey | lineKey (int idx) const |
| int | indexOf (const char *linekey) const |
| int | indexOfFirstOccurrence (const char *linenm) const |
| void | getZDomainAttrib (BufferStringSet &, const char *linenm, const char *zdomaintype) |
| void | getAvailableAttributes (BufferStringSet &, const char *datatyp=0, bool allowcnstabsent=false, bool incl=true) const |
| void | getLineNamesWithAttrib (BufferStringSet &, const char *attrnm) const |
| Executor * | lineFetcher (int, SeisTrcBuf &, int nrtrcsperstep=10, const Seis::SelData *sd=0) const |
| May return null. | |
| Seis2DLinePutter * | linePutter (IOPar *) |
| bool | addLineKeys (Seis2DLineSet &, const char *attrnm, const char *lnm=0, const char *datatype=0) |
| bool | rename (const char *lsnm) |
| Renames LineSet. | |
| bool | rename (const char *lk, const char *newlk) |
| bool | renameLine (const char *oldlnm, const char *newlnm) |
| bool | remove (const char *lk) |
| bool | renameFiles (const char *) |
| bool | getTxtInfo (int, BufferString &uinfo, BufferString &stdinfo) const |
| bool | getRanges (int, StepInterval< int > &trcrg, StepInterval< float > &zrg) const |
| const char * | getCubeSampling (CubeSampling &, int linenr=-1) const |
| returns err msg, or null when OK | |
| const char * | getCubeSampling (CubeSampling &, const LineKey &) const |
| returns err msg, or null when OK | |
| bool | haveMatch (int, const BinIDValueSet &) const |
| Uses getGeometry. | |
| void | getFrom (std::istream &, BufferString *) |
| void | putTo (std::ostream &) const |
| void | preparePreSet (IOPar &iop, const char *reallskey) const |
Static Public Member Functions | |
| static void | addPreSetLS (const char *, const char *) |
| static void | installPreSet (const IOPar &, const char *reallskey, const char *worklskey) |
Protected Member Functions | |
| void | init (const char *) |
| void | readFile (bool mklock=false, BufferString *typ=0) |
| bool | getPre (BufferString *) |
| void | writeFile () const |
| void | removeLock () const |
Protected Attributes | |
| Seis2DLineIOProvider * | liop_ |
| BufferString | fname_ |
| ObjectSet< IOPar > | pars_ |
| bool | readonly_ |
Private Member Functions | |
| bool | getGeometry (PosInfo::LineSet2DData &) const |
| bool | getGeometry (int, PosInfo::Line2DData &) const |
| Executor * | geometryDumper (std::ostream &, bool inc_nr, float z_val=mUdf(float), const char *linekey=0) const |
Friends | |
| class | SeisTrcWriter |
| class | OD_2DLineGeometryFrom2DLinesTransf |
Set of 2D lines comparable with 3D seismic cube.
| Seis2DLineSet::Seis2DLineSet | ( | const char * | fnm | ) | [inline] |
| Seis2DLineSet::Seis2DLineSet | ( | const Seis2DLineSet & | lg | ) | [inline] |
| Seis2DLineSet::Seis2DLineSet | ( | const IOObj & | ) |
| virtual Seis2DLineSet::~Seis2DLineSet | ( | ) | [virtual] |
| bool Seis2DLineSet::addLineKeys | ( | Seis2DLineSet & | , | |
| const char * | attrnm, | |||
| const char * | lnm = 0, |
|||
| const char * | datatype = 0 | |||
| ) |
if lnm == null, add attrib to all lines will commit to file
| static void Seis2DLineSet::addPreSetLS | ( | const char * | , | |
| const char * | ||||
| ) | [static] |
| const char* Seis2DLineSet::attribute | ( | int | ) | const |
| const char* Seis2DLineSet::datatype | ( | int | ) | const |
| Executor* Seis2DLineSet::geometryDumper | ( | std::ostream & | , | |
| bool | inc_nr, | |||
| float | z_val = mUdf(float), |
|||
| const char * | linekey = 0 | |||
| ) | const [private] |
| void Seis2DLineSet::getAvailableAttributes | ( | BufferStringSet & | , | |
| const char * | datatyp = 0, |
|||
| bool | allowcnstabsent = false, |
|||
| bool | incl = true | |||
| ) | const |
| const char* Seis2DLineSet::getCubeSampling | ( | CubeSampling & | , | |
| int | linenr = -1 | |||
| ) | const |
returns err msg, or null when OK
| const char* Seis2DLineSet::getCubeSampling | ( | CubeSampling & | , | |
| const LineKey & | ||||
| ) | const |
returns err msg, or null when OK
| void Seis2DLineSet::getFrom | ( | std::istream & | , | |
| BufferString * | ||||
| ) |
| bool Seis2DLineSet::getGeometry | ( | PosInfo::LineSet2DData & | ) | const [private] |
| bool Seis2DLineSet::getGeometry | ( | int | , | |
| PosInfo::Line2DData & | ||||
| ) | const [private] |
| const IOPar& Seis2DLineSet::getInfo | ( | int | idx | ) | const [inline] |
| void Seis2DLineSet::getLineNamesWithAttrib | ( | BufferStringSet & | , | |
| const char * | attrnm | |||
| ) | const |
| bool Seis2DLineSet::getPre | ( | BufferString * | ) | [protected] |
| bool Seis2DLineSet::getRanges | ( | int | , | |
| StepInterval< int > & | trcrg, | |||
| StepInterval< float > & | zrg | |||
| ) | const |
| bool Seis2DLineSet::getTxtInfo | ( | int | , | |
| BufferString & | uinfo, | |||
| BufferString & | stdinfo | |||
| ) | const |
| void Seis2DLineSet::getZDomainAttrib | ( | BufferStringSet & | , | |
| const char * | linenm, | |||
| const char * | zdomaintype | |||
| ) |
| bool Seis2DLineSet::haveMatch | ( | int | , | |
| const BinIDValueSet & | ||||
| ) | const |
Uses getGeometry.
| int Seis2DLineSet::indexOf | ( | const char * | linekey | ) | const |
| int Seis2DLineSet::indexOfFirstOccurrence | ( | const char * | linenm | ) | const |
| void Seis2DLineSet::init | ( | const char * | ) | [protected] |
| static void Seis2DLineSet::installPreSet | ( | const IOPar & | , | |
| const char * | reallskey, | |||
| const char * | worklskey | |||
| ) | [static] |
| bool Seis2DLineSet::isEmpty | ( | int | ) | const |
| Executor* Seis2DLineSet::lineFetcher | ( | int | , | |
| SeisTrcBuf & | , | |||
| int | nrtrcsperstep = 10, |
|||
| const Seis::SelData * | sd = 0 | |||
| ) | const |
May return null.
| LineKey Seis2DLineSet::lineKey | ( | int | idx | ) | const [inline] |
| const char* Seis2DLineSet::lineName | ( | int | ) | const |
returns pars_[idx]->name()
| Seis2DLinePutter* Seis2DLineSet::linePutter | ( | IOPar * | ) |
May return null. will return replacer if linekey exists
| int Seis2DLineSet::nrLines | ( | ) | const [inline] |
| Seis2DLineSet& Seis2DLineSet::operator= | ( | const Seis2DLineSet & | ) |
| void Seis2DLineSet::preparePreSet | ( | IOPar & | iop, | |
| const char * | reallskey | |||
| ) | const |
| void Seis2DLineSet::putTo | ( | std::ostream & | ) | const |
| void Seis2DLineSet::readFile | ( | bool | mklock = false, |
|
| BufferString * | typ = 0 | |||
| ) | [protected] |
| bool Seis2DLineSet::remove | ( | const char * | lk | ) |
Also removes from disk Fails if LineSet is currently being written
| void Seis2DLineSet::removeLock | ( | ) | const [protected] |
| bool Seis2DLineSet::rename | ( | const char * | lsnm | ) |
Renames LineSet.
| bool Seis2DLineSet::rename | ( | const char * | lk, | |
| const char * | newlk | |||
| ) |
Fails if new line key exists or if LineSet is currently being written
| bool Seis2DLineSet::renameFiles | ( | const char * | ) |
| bool Seis2DLineSet::renameLine | ( | const char * | oldlnm, | |
| const char * | newlnm | |||
| ) |
Fails if new line name already exists or if LineSet is currently being written
| void Seis2DLineSet::setReadOnly | ( | bool | yn = true |
) | [inline] |
| const char* Seis2DLineSet::type | ( | ) | const |
| void Seis2DLineSet::writeFile | ( | ) | const [protected] |
| const char* Seis2DLineSet::zDomainKey | ( | int | ) | const |
friend class OD_2DLineGeometryFrom2DLinesTransf [friend] |
friend class SeisTrcWriter [friend] |
BufferString Seis2DLineSet::fname_ [protected] |
Seis2DLineIOProvider* Seis2DLineSet::liop_ [protected] |
ObjectSet<IOPar> Seis2DLineSet::pars_ [protected] |
bool Seis2DLineSet::readonly_ [protected] |
1.7.1