UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ZTrSetStream Class Reference

#include <ZTrSetStream.H>

Inheritance diagram for ZTrSetStream:
ZSeismicStream ZCoordObjStream

Public Member Functions

 ZTrSetStream (TrSet *ts)
 
 ZTrSetStream (const ZTrSetStream &ztss)
 
const TrIndexTableindex_table () const
 
TrSettrset () const
 
virtual const ZTraceParoperator() () 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)
 

Detailed Description

Class for stream of seismic traces ordered by some coordinate.

Constructor & Destructor Documentation

ZTrSetStream::ZTrSetStream ( TrSet ts)

Create stream of seismic objects from given TrSet.

ZTrSetStream::ZTrSetStream ( const ZTrSetStream ztss)

Create copy of given object in current state (including index table).

Member Function Documentation

virtual float ZTrSetStream::average_coord_step ( )
virtual

Get average coordinate step between traces.

Implements ZCoordObjStream.

virtual float ZTrSetStream::coord ( )
virtual

Get current coordinate in case of previous go_*_coord() succeeded.

Implements ZCoordObjStream.

virtual int ZTrSetStream::ensemble_length ( ) const
virtual

Get number of records found for this coordinate (always >=1).

Implements ZCoordObjStream.

virtual Logic ZTrSetStream::get_coord_range ( float  c[2])
virtual

Get range of coordinates respecting order of the stream or return FALSE in case of empty range.

Implements ZCoordObjStream.

virtual Logic ZTrSetStream::go_first_coord ( )
virtual

Reset iterator. Returns TRUE on success and FALSE on failure (empty stream).

Implements ZCoordObjStream.

virtual Logic ZTrSetStream::go_next_coord ( )
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 const ZTracePar& ZTrSetStream::operator() ( ) const
virtual

Get common trace parameters (actual usually is the whole range)

Implements ZSeismicStream.

virtual void ZTrSetStream::set_custom_coord ( const char *  coord_name,
Compar  order = ASCENT_ORDER 
)
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 void ZTrSetStream::set_secondary_order ( const char *  secondary_name,
Compar  order = ASCENT_ORDER 
)
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 void ZTrSetStream::set_selection_rule ( TsExpr expr)
virtual

Setup selection of traces applied before primary, secondary and tertiary coordinate order application (reset previous order).

virtual void ZTrSetStream::set_tertiary_order ( const char *  tertiary_name,
Compar  order = ASCENT_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 float* ZTrSetStream::trace_body ( int  ens_index = 0)
virtual

Get trace body with given index inside the ensemble.

Implements ZSeismicStream.

virtual long ZTrSetStream::trace_id ( int  ens_index = 0) const
virtual

Get unique trace index which is raw trace index of TrSet.

Implements ZSeismicStream.

virtual ZTracePar ZTrSetStream::trace_par ( int  ens_index = 0) const
virtual

Get exact trace parameters (actual may be the part of the whole range)

Implements ZSeismicStream.

TrSet* ZTrSetStream::trset ( ) const

Get actual trace set.


The documentation for this class was generated from the following file: