UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZSVOdialog.H
1 /* ZSVOdialog.H */
2 /* $Id: ZSVOdialog.H,v 1.2 2003/10/22 10:13:51 vlad Exp $ */
3 #ifndef __ZSVOdialog_H
4 #define __ZSVOdialog_H
5 
6 #include <zm/QfTools.H>
7 #include <zm/Qmisc.H>
8 #include <zm/RadioGroup.H>
9 
10 #include <zm/ZSVOptions.H>
11 #include <zm/ZtSeismicView.H>
12 #include <zm/ZtSeismicTrace.H>
13 
14 
23 class ZSVOdialog : public QfCastle
24 {
25 public:
26 
28  ZSVOdialog (Widget wParent,
29  /* mask of main editable options */
30  int mMainOptions,
31  /* mask of additional editable options */
32  int mAuxOptions,
33  QfDecoration eDecor = QfDECOR_NONE);
34 
37  virtual const ZSVOptions& options () const;
38 
41  virtual void set_options (const ZSVOptions& svo);
42 
45  virtual void store_gui ();
46 
49  virtual void load_gui ();
50 
51 
53  void attach (ZtSeismicView* sv);
54 
56  void attach (ZtSeismicTrace* st);
57 
59  void detach (ZtSeismicView* sv);
60 
62  void detach (ZtSeismicTrace* st);
63 
64  /*
65  * Hooks for extending in derived classes
66  */
67 
70  virtual void create_main_custom_options () {}
71 
74  virtual void create_aux_custom_options () {}
75 
76 
78  static void colors_and_palettes (void* pSelf);
79 
80 private:
81 
82 #define PtrType ZtSeismicView*
83 #define PtrAr ZtSeismicViewAr
84 #include <mix/PtrAr.H>
85 
86 #define PtrType ZtSeismicTrace*
87 #define PtrAr ZtSeismicTraceAr
88 #include <mix/PtrAr.H>
89 
90 protected:
91 
93  ZtSeismicViewAr svar;
94 
96  ZtSeismicTraceAr star;
97 
100 
102  int mMain;
103 
105  int mAux;
106 
108  void create_gui (int mask, QfTower& tow);
109 
110  /* Internal parameters */
111 
137  char szSpecZeroColor[ZCP_COLORNAME_LEN+1];
138 
139  char szCommonColor[ZCP_COLORNAME_LEN+1];
140  char szPosAmplColor[ZCP_COLORNAME_LEN+1];
141  char szNegAmplColor[ZCP_COLORNAME_LEN+1];
142 
143  char szCommonPalette[ZCP_COLORNAME_LEN+1];
144  char szPosAmplPalette[ZCP_COLORNAME_LEN+1];
145  char szNegAmplPalette[ZCP_COLORNAME_LEN+1];
146 
147  Real4 fAlmostZeroThd;
148  Real4 fAgcGap;
149 
150 
155  Real4 fEnsSplitDelta;
156 
157  Real4 fCutLevel;
158 
159  Real4 fDivAmplGain;
160 
162  int pack_drawing_mode ();
163 
165  void unpack_drawing_mode (int i);
166 
169  static void copy_colorname (char* dst, const char* src);
170 
171 };
172 
173 
174 #endif /* ZSVOdialog.H */
void create_gui(int mask, QfTower &tow)
Definition: ZtSeismicView.H:30
virtual void store_gui()
Definition: ZtSeismicTrace.H:46
Definition: ZSVOptions.H:129
RadioGroup eColorMode
Definition: ZSVOdialog.H:125
int mMain
Definition: ZSVOdialog.H:102
Definition: ZSVOdialog.H:23
Definition: QfCastle.H:13
RadioGroup eTraceView
Definition: ZSVOdialog.H:112
int iComColorSchema
Definition: ZSVOdialog.H:127
virtual void set_options(const ZSVOptions &svo)
Definition: QfTower.H:13
int iEnsDrawMode
Definition: ZSVOdialog.H:151
static void colors_and_palettes(void *pSelf)
virtual void load_gui()
void detach(ZtSeismicView *sv)
RadioGroup eDrawingMode
Definition: ZSVOdialog.H:114
int mAux
Definition: ZSVOdialog.H:105
virtual const ZSVOptions & options() const
RadioGroup eZeroDrawMode
Definition: ZSVOdialog.H:122
void unpack_drawing_mode(int i)
void attach(ZtSeismicView *sv)
ZtSeismicTraceAr star
Definition: ZSVOdialog.H:96
ZSVOdialog(Widget wParent, int mMainOptions, int mAuxOptions, QfDecoration eDecor=QfDECOR_NONE)
virtual void create_aux_custom_options()
Definition: ZSVOdialog.H:74
int pack_drawing_mode()
ZtSeismicViewAr svar
Definition: ZSVOdialog.H:93
RadioGroup eNormGainMode
Definition: ZSVOdialog.H:113
static void copy_colorname(char *dst, const char *src)
Definition: RadioGroup.H:60
virtual void create_main_custom_options()
Definition: ZSVOdialog.H:70
int iNegColorSchema
Definition: ZSVOdialog.H:133
ZSVOptions svopt
Definition: ZSVOdialog.H:99
int iPosColorSchema
Definition: ZSVOdialog.H:130