UNIVERS
15.3
UNIVERS base processing software API
|
#include <ZSVOptions.H>
Public Member Functions | |
ZSVOptions (const ZSVOptions &svo) | |
ZSVOptions & | operator= (const ZSVOptions &svo) |
ZSVOptions & | assign (const ZSVOptions &svo, int mask=~0) |
void | by_default () |
void | build_palette (ZScaledPalette &spal, float mm[2]) const |
void | setup_trace_par (const ZTracePar &trpar) |
void | gain_control_prepare (float *w, const float *src, float *wmax=NULL, const ZTracePar *ptrpar=NULL) const |
void | gain_control_apply (float *dst, const float *src, const float *w, float mm[2]=NULL, const ZTracePar *ptrpar=NULL) const |
void | new_colpal (int mWhichColpal, const char *szColPal) |
void | reset_colpal (int mWhichColpal) |
Public Attributes | |
ZsvDrawingMode | drawing_mode |
ZsvZeroDrawMode | zero_draw_mode |
float | almost_zero_thd |
ZsvAmplDrawMode | pos_draw_mode |
ZsvAmplDrawMode | neg_draw_mode |
ZsvGainCtrlMode | gain_ctrl_mode |
float | agc_gap |
ZsvNormMode | norm_mode |
ZsvTraceView | trace_view |
float | cut_level |
ZsvDivColorMode | div_color_mode |
Logic | invert_com_pal |
Logic | invert_pos_pal |
Logic | invert_neg_pal |
Logic | use_ampl_range |
float | ampl_range [2] |
ZsvEnsDrawMode | ens_draw_mode |
float | ens_split_delta |
float | div_ampl_gain |
char * | spec_zero_color |
char * | common_colpal |
char * | pos_ampl_colpal |
char * | neg_ampl_colpal |
Seismic view options
ZSVOptions& ZSVOptions::assign | ( | const ZSVOptions & | svo, |
int | mask = ~0 |
||
) |
Copy options by mask
void ZSVOptions::build_palette | ( | ZScaledPalette & | spal, |
float | mm[2] | ||
) | const |
Build palette with equal distribution of colors through the range. Options: div_color_mode, common_colpal, pos_ampl_colpal, neg_ampl_colpal, invert_com_pal, invert_pos_pal, invert_neg_pal
void ZSVOptions::by_default | ( | ) |
Setup default options
void ZSVOptions::gain_control_apply | ( | float * | dst, |
const float * | src, | ||
const float * | w, | ||
float | mm[2] = NULL , |
||
const ZTracePar * | ptrpar = NULL |
||
) | const |
Gain control application procedures over the trace. Applies gain function (w) over the source (src) and makes the target (dst) trace, described by setup_trace_par or by ptrpar. Returns min,max for (dst). Options: gain_ctrl_mode, agc_gap
void ZSVOptions::gain_control_prepare | ( | float * | w, |
const float * | src, | ||
float * | wmax = NULL , |
||
const ZTracePar * | ptrpar = NULL |
||
) | const |
Gain control preparation procedure over the trace. Computes gain function (w) over the source trace (src), described by setup_trace_par or by ptrpar. Returns (wmax) if needed. Options: gain_ctrl_mode, agc_gap
void ZSVOptions::new_colpal | ( | int | mWhichColpal, |
const char * | szColPal | ||
) |
Assign new color or palette name to given (by mask) field of the object. Multiple fields assignment is allowed.
ZSVOptions& ZSVOptions::operator= | ( | const ZSVOptions & | svo | ) |
Copy all options
void ZSVOptions::reset_colpal | ( | int | mWhichColpal | ) |
Reset (make NULL, empty) color or palette name to given (by mask) field of the object. Multiple fields assignment is allowed.
void ZSVOptions::setup_trace_par | ( | const ZTracePar & | trpar | ) |
Setup environment for basic trace parameters. Allows: gain_control_*()
float ZSVOptions::agc_gap |
sliding base width for ZsvAGC
float ZSVOptions::almost_zero_thd |
threshold of "zero" amplitudes
float ZSVOptions::ampl_range[2] |
range of ampl for color palette
char * ZSVOptions::common_colpal |
color or palette for all ampl.
float ZSVOptions::cut_level |
0..1 amplitude cutting level
float ZSVOptions::div_ampl_gain |
0>(=1) gain over avg.step
ZsvDivColorMode ZSVOptions::div_color_mode |
how to color pos/neg ampls
ZsvDrawingMode ZSVOptions::drawing_mode |
way to draw seismic field
ZsvEnsDrawMode ZSVOptions::ens_draw_mode |
ens.traces drawing management
float ZSVOptions::ens_split_delta |
coord. which splits the traces
ZsvGainCtrlMode ZSVOptions::gain_ctrl_mode |
way to ajust amplitudes
Logic ZSVOptions::invert_com_pal |
invert colors' order in palette
Logic ZSVOptions::invert_neg_pal |
invert colors' order in palette
Logic ZSVOptions::invert_pos_pal |
invert colors' order in palette
char * ZSVOptions::neg_ampl_colpal |
color or palette for pos.ampl.
ZsvAmplDrawMode ZSVOptions::neg_draw_mode |
negative amplitudes only
ZsvNormMode ZSVOptions::norm_mode |
fitting trace to rectangle
char * ZSVOptions::pos_ampl_colpal |
color or palette for pos.ampl.
ZsvAmplDrawMode ZSVOptions::pos_draw_mode |
positive amplitudes only
char * ZSVOptions::spec_zero_color |
color for "zero" (ZsvSpecColor)
ZsvTraceView ZSVOptions::trace_view |
VSP or CDP
Logic ZSVOptions::use_ampl_range |
TRUE forces mm_ampl usage
ZsvZeroDrawMode ZSVOptions::zero_draw_mode |
how to draw "zero" amplitudes