OpendTect
6.6
|
Public Types | |
enum | AuxDataType { NoType =0 , AutoShow , Tracking } |
Public Member Functions | |
SurfaceAuxData (Horizon3D &) | |
virtual | ~SurfaceAuxData () |
int | addAuxData (const char *name) |
void | apply (const Pos::Filter &, int dataidx=-1) |
int | auxDataIndex (const char *) const |
Executor * | auxDataLoader (const char *nm) |
Executor * | auxDataLoader (int selidx=-1) |
const char * | auxDataName (int dataidx) const |
Executor * | auxDataSaver (int dataidx=0, bool overwrite=false) |
float | auxDataShift (int) const |
Array2D< float > * | createArray2D (int dataidx, SectionID) const |
void | fillPar (IOPar &) const |
AuxDataType | getAuxDataType (int dataidx) const |
float | getAuxDataVal (int dataidx, const PosID &posid) const |
float | getAuxDataVal (int dataidx, const TrcKey &) const |
const ObjectSet< BinIDValueSet > & | getData () const |
BufferString | getFileName (const char *attrnm) const |
bool | hasAuxDataName (const char *) const |
void | init (int dataidx, bool onlynewpos=false, float val=mUdf(float)) |
void | init (int dataidx, float val=mUdf(float)) |
bool | isChanged (int) const |
int | nrAuxData () const |
void | removeAll () |
void | removeAuxData (int dataidx) |
bool | removeFile (const char *attrnm) const |
void | removeSection (const SectionID &) |
void | resetChangedFlag () |
void | setArray2D (int dataidx, SectionID, const Array2D< float > &, const TrcKeySampling *tks=nullptr) |
void | setAuxDataName (int dataidx, const char *) |
void | setAuxDataShift (int, float) |
void | setAuxDataType (int dataidx, AuxDataType) |
void | setAuxDataVal (int dataidx, const PosID &posid, float val) |
void | setAuxDataVal (int dataidx, const PosID &posid, float val, bool onlynewpos) |
void | setAuxDataVal (int dataidx, const TrcKey &, float val) |
bool | usePar (const IOPar &) |
bool | validIdx (int idx) const |
Static Public Member Functions | |
static BufferString | getFileName (const char *fullexp, const char *attrnm) |
static BufferString | getFileName (const IOObj &, const char *attrnm) |
static BufferString | getFreeFileName (const IOObj &) |
static bool | hasAttribute (const IOObj &, const char *attrnm) |
static bool | removeFile (const IOObj &, const char *attrnm) |
Protected Attributes | |
ObjectSet< BinIDValueSet > | auxdata_ |
BufferStringSet | auxdatainfo_ |
BufferStringSet | auxdatanames_ |
TypeSet< float > | auxdatashift_ |
TypeSet< AuxDataType > | auxdatatypes_ |
bool | changed_ |
Horizon3D & | horizon_ |
Surface data.
<>
EM::SurfaceAuxData::SurfaceAuxData | ( | Horizon3D & | ) |
|
virtual |
int EM::SurfaceAuxData::addAuxData | ( | const char * | name | ) |
void EM::SurfaceAuxData::apply | ( | const Pos::Filter & | , |
int | dataidx = -1 |
||
) |
int EM::SurfaceAuxData::auxDataIndex | ( | const char * | ) | const |
Executor* EM::SurfaceAuxData::auxDataLoader | ( | const char * | nm | ) |
Executor* EM::SurfaceAuxData::auxDataLoader | ( | int | selidx = -1 | ) |
const char* EM::SurfaceAuxData::auxDataName | ( | int | dataidx | ) | const |
Executor* EM::SurfaceAuxData::auxDataSaver | ( | int | dataidx = 0 , |
bool | overwrite = false |
||
) |
float EM::SurfaceAuxData::auxDataShift | ( | int | ) | const |
void EM::SurfaceAuxData::fillPar | ( | IOPar & | ) | const |
AuxDataType EM::SurfaceAuxData::getAuxDataType | ( | int | dataidx | ) | const |
float EM::SurfaceAuxData::getAuxDataVal | ( | int | dataidx, |
const PosID & | posid | ||
) | const |
float EM::SurfaceAuxData::getAuxDataVal | ( | int | dataidx, |
const TrcKey & | |||
) | const |
|
inline |
tks=nullptr assumes that array has same origin as horizon
BufferString EM::SurfaceAuxData::getFileName | ( | const char * | attrnm | ) | const |
|
static |
|
static |
|
static |
|
static |
bool EM::SurfaceAuxData::hasAuxDataName | ( | const char * | ) | const |
void EM::SurfaceAuxData::init | ( | int | dataidx, |
bool | onlynewpos = false , |
||
float | val = mUdf(float) |
||
) |
dataidx==-1: init all
void EM::SurfaceAuxData::init | ( | int | dataidx, |
float | val = mUdf(float) |
||
) |
dataidx==-1: init all
bool EM::SurfaceAuxData::isChanged | ( | int | ) | const |
int EM::SurfaceAuxData::nrAuxData | ( | ) | const |
void EM::SurfaceAuxData::removeAll | ( | ) |
void EM::SurfaceAuxData::removeAuxData | ( | int | dataidx | ) |
bool EM::SurfaceAuxData::removeFile | ( | const char * | attrnm | ) | const |
|
static |
void EM::SurfaceAuxData::removeSection | ( | const SectionID & | ) |
void EM::SurfaceAuxData::resetChangedFlag | ( | ) |
void EM::SurfaceAuxData::setArray2D | ( | int | dataidx, |
SectionID | , | ||
const Array2D< float > & | , | ||
const TrcKeySampling * | tks = nullptr |
||
) |
void EM::SurfaceAuxData::setAuxDataName | ( | int | dataidx, |
const char * | |||
) |
void EM::SurfaceAuxData::setAuxDataShift | ( | int | , |
float | |||
) |
void EM::SurfaceAuxData::setAuxDataType | ( | int | dataidx, |
AuxDataType | |||
) |
void EM::SurfaceAuxData::setAuxDataVal | ( | int | dataidx, |
const PosID & | posid, | ||
float | val | ||
) |
void EM::SurfaceAuxData::setAuxDataVal | ( | int | dataidx, |
const PosID & | posid, | ||
float | val, | ||
bool | onlynewpos | ||
) |
void EM::SurfaceAuxData::setAuxDataVal | ( | int | dataidx, |
const TrcKey & | , | ||
float | val | ||
) |
bool EM::SurfaceAuxData::usePar | ( | const IOPar & | ) |
bool EM::SurfaceAuxData::validIdx | ( | int | idx | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022