OpendTect
7.0
|
A set of data buffers and their interpreters. More...
Public Member Functions | |
TraceData () | |
TraceData (const TraceData &td) | |
~TraceData () | |
void | addComponent (int ns, const DataCharacteristics &, bool cleardata=false) |
bool | allOk () const |
int | bytesPerSample (int icomp=0) const |
void | convertTo (const DataCharacteristics &, bool preserve_data=true) |
void | convertToFPs (bool preserve_data=true) |
void | copyFrom (const TraceData &) |
copy all components, making an exact copy. More... | |
void | copyFrom (const TraceData &, int comp_from, int comp_to) |
copy comp_from of argument to my comp_to More... | |
void | delComponent (int) |
DataBuffer * | getComponent (int icomp=0) |
const DataBuffer * | getComponent (int icomp=0) const |
TraceDataInterpreter * | getInterpreter (int icomp=0) |
const TraceDataInterpreter * | getInterpreter (int icomp=0) const |
float | getValue (int isamp, int icomp=0) const |
void | handleDataSwapping () |
bool | isEmpty () const |
bool | isValidComp (int icomp=0) const |
bool | isZero (int icomp=0) const |
int | nrComponents () const |
TraceData & | operator= (const TraceData &td) |
void | reSize (int, int icomp=-1, bool copydata=false) |
-1 = all data buffers More... | |
void | scale (const Scaler &, int icomp=-1) |
-1 = all data buffers More... | |
void | setComponent (const DataCharacteristics &, int icomp=0) |
void | setNrComponents (int nrcomp, DataCharacteristics::UserType) |
void | setValue (int isamp, float, int icomp=0) |
int | size (int icomp=0) const |
void | zero (int icomp=-1) |
-1 = all data buffers More... | |
Protected Attributes | |
DataBuffer ** | data_ |
pre-swaps all buffers that need it More... | |
TraceDataInterpreter ** | interp_ |
int | nrcomp_ |
A set of data buffers and their interpreters.
A data buffer + interpreter is referred to as 'Component'. Note that this class is not concernedabout what is contained in the buffers (descriptions, constraints etc.).
<>
|
inline |
|
inline |
TraceData::~TraceData | ( | ) |
void TraceData::addComponent | ( | int | ns, |
const DataCharacteristics & | , | ||
bool | cleardata = false |
||
) |
bool TraceData::allOk | ( | ) | const |
|
inline |
void TraceData::convertTo | ( | const DataCharacteristics & | , |
bool | preserve_data = true |
||
) |
void TraceData::convertToFPs | ( | bool | preserve_data = true | ) |
void TraceData::copyFrom | ( | const TraceData & | ) |
copy all components, making an exact copy.
void TraceData::copyFrom | ( | const TraceData & | , |
int | comp_from, | ||
int | comp_to | ||
) |
copy comp_from of argument to my comp_to
void TraceData::delComponent | ( | int | ) |
|
inline |
|
inline |
|
inline |
|
inline |
float TraceData::getValue | ( | int | isamp, |
int | icomp = 0 |
||
) | const |
void TraceData::handleDataSwapping | ( | ) |
bool TraceData::isEmpty | ( | ) | const |
bool TraceData::isValidComp | ( | int | icomp = 0 | ) | const |
|
inline |
|
inline |
void TraceData::reSize | ( | int | , |
int | icomp = -1 , |
||
bool | copydata = false |
||
) |
-1 = all data buffers
void TraceData::scale | ( | const Scaler & | , |
int | icomp = -1 |
||
) |
-1 = all data buffers
void TraceData::setComponent | ( | const DataCharacteristics & | , |
int | icomp = 0 |
||
) |
void TraceData::setNrComponents | ( | int | nrcomp, |
DataCharacteristics::UserType | |||
) |
void TraceData::setValue | ( | int | isamp, |
float | , | ||
int | icomp = 0 |
||
) |
|
inline |
void TraceData::zero | ( | int | icomp = -1 | ) |
-1 = all data buffers
|
protected |
pre-swaps all buffers that need it
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024