UNIVERS
15.3
UNIVERS base processing software API
|
#include <ZTrSetStream.H>
Public Member Functions | |
ZTrSetStream (TrSet *ts) | |
ZTrSetStream (const ZTrSetStream &ztss) | |
const TrIndexTable * | index_table () const |
TrSet * | trset () const |
virtual const ZTracePar & | operator() () const |
virtual void | set_selection_rule (TsExpr *expr) |
virtual void | set_custom_coord (const char *coord_name, Compar order=ASCENT_ORDER) |
virtual void | set_secondary_order (const char *secondary_name, Compar order=ASCENT_ORDER) |
virtual void | set_tertiary_order (const char *tertiary_name, Compar order=ASCENT_ORDER) |
virtual Logic | get_coord_range (float c[2]) |
virtual float | average_coord_step () |
void | set_custom_coord_vector (double *coordslist) |
virtual Logic | go_first_coord () |
virtual Logic | go_next_coord () |
virtual float | coord () |
virtual int | ensemble_length () const |
virtual float * | trace_body (int ens_index=0) |
virtual ZTracePar | trace_par (int ens_index=0) const |
virtual long | trace_id (int ens_index=0) const |
Public Member Functions inherited from ZSeismicStream | |
virtual void | set_custom_taid (TraceAttrId coord_taid, Compar order=ASCENT_ORDER) |
virtual void | set_secondary_taid (TraceAttrId secondary_taid, Compar order=ASCENT_ORDER) |
virtual void | set_tertiary_taid (TraceAttrId tertiary_taid, Compar order=ASCENT_ORDER) |
Class for stream of seismic traces ordered by some coordinate.
ZTrSetStream::ZTrSetStream | ( | const ZTrSetStream & | ztss | ) |
Create copy of given object in current state (including index table).
|
virtual |
Get average coordinate step between traces.
Implements ZCoordObjStream.
|
virtual |
Get current coordinate in case of previous go_*_coord() succeeded.
Implements ZCoordObjStream.
|
virtual |
Get number of records found for this coordinate (always >=1).
Implements ZCoordObjStream.
|
virtual |
Get range of coordinates respecting order of the stream or return FALSE in case of empty range.
Implements ZCoordObjStream.
|
virtual |
Reset iterator. Returns TRUE on success and FALSE on failure (empty stream).
Implements ZCoordObjStream.
|
virtual |
Go to next iteration. Returns TRUE on success and FALSE on failure (end of stream).
Implements ZCoordObjStream.
const TrIndexTable* ZTrSetStream::index_table | ( | ) | const |
Get access to index table of the current seismic stream.
|
virtual |
Get common trace parameters (actual usually is the whole range)
Implements ZSeismicStream.
|
virtual |
Set custom primary coordinate and items order. May be not available in derivations. May be implemented partially - only name or only order is interpreted.
Reimplemented from ZCoordObjStream.
void ZTrSetStream::set_custom_coord_vector | ( | double * | coordslist | ) |
Set custom coordinate (not secondary and tertiary!) by passing expected number of coordinates in needed order to be iterated. NULL means reset to normal behaviour. set_custom_coord(), set_secondary_order() and set_tertiary_order() reset this feature.
|
virtual |
Set custom secondary coordinate and items order. Does not affect iterator methods and and get_coord_range() but changes order of items with the same primary coordinate. May be not available in derivations. May be implemented partially - only name or only order is interpreted.
Reimplemented from ZCoordObjStream.
|
virtual |
Setup selection of traces applied before primary, secondary and tertiary coordinate order application (reset previous order).
|
virtual |
Set custom tertiary coordinate and items order. Does not affect iterator methods and and get_coord_range() but changes order of items with the same primary and secondary coordinates. May be not available in derivations. May be implemented partially - only name or only order is interpreted.
Reimplemented from ZCoordObjStream.
|
virtual |
Get trace body with given index inside the ensemble.
Implements ZSeismicStream.
|
virtual |
Get unique trace index which is raw trace index of TrSet.
Implements ZSeismicStream.
|
virtual |
Get exact trace parameters (actual may be the part of the whole range)
Implements ZSeismicStream.
TrSet* ZTrSetStream::trset | ( | ) | const |
Get actual trace set.