3 #ifndef __ZtSeismicTrace_H
4 #define __ZtSeismicTrace_H
7 #include <zm/ZtObject.H>
8 #include <zm/ZScaledPalette.H>
9 #include <zm/ZBarDraw.H>
10 #include <zm/ZSVOptions.H>
23 #define AnyType ZTraceNode
24 #define AnyAr ZTraceNodeAr
25 #define AnyFormatSpec "\n%d: ampl[%g]=%g"
26 #define AnyPrintList i, item.time, item.ampl
27 #define AnyArQuant 500
28 #define AnyArVolume 3000
29 #include <mix/AnyAr.H>
54 ZGroupId pxid, ZGroupId pyid,
55 ZGroupId nxid, ZGroupId nyid,
56 ZDimension timeorient);
60 ZGroupId pxid_int, ZGroupId pyid_int,
61 ZGroupId pxid_ext, ZGroupId pyid_ext,
62 ZGroupId nxid, ZGroupId nyid,
63 ZDimension timeorient);
67 void describe_data (
unsigned n_samples,
float dt,
float t0 = 0.0);
88 virtual void draw_trace (
float coord,
int half_area,
95 ZTraceNodeAr& outline,
123 int svo_mask = ~0)
const;
161 virtual const char*
class_id ()
const;
216 float *time_t2c, *coord_t2c;
int n_t2c
Definition: ZtSeismicTrace.H:215
virtual Logic belong(int px, int py) const
Logic attached
Definition: ZtSeismicTrace.H:181
Logic get_status_of_data() const
Definition: ZtSeismicView.H:30
float tr_max_ampl
Definition: ZtSeismicTrace.H:201
void sync_pixel_height_from(ZtSeismicView *vSV, float fGain=1.0)
virtual void draw_trace(float coord, int half_area, const float *body, const ZTracePar *ptrpar=NULL)
float ph_sync_gain
Definition: ZtSeismicTrace.H:199
Definition: ZtSeismicTrace.H:46
Definition: ZSVOptions.H:129
virtual const ZSVOptions & get_options() const
ZtSeismicTrace(ZtMain *pManager, ZGroupId pxid, ZGroupId pyid, ZGroupId nxid, ZGroupId nyid, ZDimension timeorient)
virtual void set_options(const ZSVOptions &svo, int svo_mask=~0)
virtual const char * class_id() const
ZTracePar * trpar
Definition: ZtSeismicTrace.H:185
void set_bar_draw(ZBarDraw *pdr)
Definition: ZPixelCoord.H:102
virtual void outline_trace(const float *body, ZTraceNodeAr &outline, const ZTracePar *ptrpar=NULL)
ZBarDraw * ext_drawer
Definition: ZtSeismicTrace.H:206
ZSVOptions options
Definition: ZtSeismicTrace.H:190
ZBarDraw * get_bar_draw() const
ZPCoordSlave py_ext
Definition: ZtSeismicTrace.H:177
Definition: ZTracePar.H:13
float tr_coord
Definition: ZtSeismicTrace.H:184
ZtSeismicView * ph_sync_from_sv
Definition: ZtSeismicTrace.H:193
Definition: ZtObject.H:57
float get_max_ampl() const
float ampl
Definition: ZtSeismicTrace.H:20
int get_pixel_height() const
void describe_data(unsigned n_samples, float dt, float t0=0.0)
Definition: ZScaledPalette.H:15
float time
Definition: ZtSeismicTrace.H:19
float * tr_body
Definition: ZtSeismicTrace.H:183
ZPCoordSlave px_ext
Definition: ZtSeismicTrace.H:173
Definition: ZBarDraw.H:19
const ZTracePar & check_trace_par(const ZTracePar *ptrpar) const
ZPCoordSlave px
Definition: ZtObject.H:203
static float get_ampl(float t, const ZTracePar &ztp, const float *body)
void set_pixel_height(int ph)
int pixel_height
Definition: ZtSeismicTrace.H:187
Definition: ZtSeismicTrace.H:17
ZPCoordSlave py
Definition: ZtObject.H:204
ZDimension time_orient
Definition: ZtSeismicTrace.H:179
ZtSeismicTrace * ph_sync_from_st
Definition: ZtSeismicTrace.H:196
void set_time2coord(int n, const float *t, const float *c)
virtual void extent_rect(ZRect &res)
void attach_data(float coord, const float *body, const ZTracePar *ptrpar=NULL)
void set_max_ampl(float ma)