UNIVERS
15.3
UNIVERS base processing software API
|
#include <ZSVOdialog.H>
Public Member Functions | |
ZSVOdialog (Widget wParent, int mMainOptions, int mAuxOptions, QfDecoration eDecor=QfDECOR_NONE) | |
virtual const ZSVOptions & | options () const |
virtual void | set_options (const ZSVOptions &svo) |
virtual void | store_gui () |
virtual void | load_gui () |
void | attach (ZtSeismicView *sv) |
void | attach (ZtSeismicTrace *st) |
void | detach (ZtSeismicView *sv) |
void | detach (ZtSeismicTrace *st) |
virtual void | create_main_custom_options () |
virtual void | create_aux_custom_options () |
Public Member Functions inherited from QfCastle | |
QfCastle (Widget wParent, QfDecoration eDecor=QfDECOR_NONE, char *szResName=QfDIALOG_NAME) | |
void | set_title (const char *szTitle) |
void | set_help_section (const char *szSectionRef) |
void | set_help_doc (const char *szURL) |
virtual void | add_actions (QfActionsMask amask, QfDecoration eDecor=QfDECOR_NONE) |
Logic | is_running () const |
Logic | is_stopped () const |
Logic | is_dialog_alive () |
virtual void | manage (QfWindowPlacement wpl=QfWINPLACE_DEFAULT) |
virtual void | manage_modal (QfWindowPlacement wpl=QfWINPLACE_DEFAULT) |
virtual void | close_dialog () |
virtual void | loop_events () |
virtual void | process_events (int n=QfEVENTS_QUANT) |
virtual QfActionButtonId | close_reason_button () const |
virtual void | ok_button () |
virtual void | apply_button () |
virtual void | close_button () |
virtual void | cancel_button () |
virtual void | undo_button () |
virtual void | help_button () |
virtual void | run_button () |
virtual void | stop_button () |
Public Member Functions inherited from QfTower | |
QfTower (Widget wParent, QfDecoration eDecor=QfDECOR_NONE, const char *szResName=QfKING_NAME) | |
QfTower (QfDecoration eDecor=QfDECOR_NONE, const char *szResName=QfKING_NAME) | |
virtual QfBrick * | sep () |
virtual QfBrick * | title (const char *szLabel) |
virtual QfBrick * | topic (const char *szLabel) |
virtual void | add (QfBrick *pBrick) |
virtual Widget | container () const |
virtual void | manage () |
QfTower & | operator<< (QfBrick *pBrick) |
QfTower & | operator<< (const char *szLabel) |
QfTower & | operator<< (int iOffset) |
Public Member Functions inherited from QfBuilding | |
virtual QfType | type () const |
virtual void | set_sensitive (Logic flag) |
virtual Logic | get_sensitive () |
virtual QfParamItem * | get_params (QfBrick *pBrick, unsigned &nParams) |
virtual void | realized () |
QfBuilding & | operator<< (QfBrick *pBrick) |
Public Member Functions inherited from QfBrick | |
QfBrick () | |
virtual | ~QfBrick () |
operator Widget () const | |
Widget | widget () const |
virtual void | radio_sensitive () |
virtual void | add_callback (const QCallback &qcb) |
virtual void | be_radio_active (const QRadioActive &qra) |
Static Public Member Functions | |
static void | colors_and_palettes (void *pSelf) |
Protected Member Functions | |
void | create_gui (int mask, QfTower &tow) |
int | pack_drawing_mode () |
void | unpack_drawing_mode (int i) |
Protected Member Functions inherited from QfCastle | |
virtual void | create_self (Widget wParent) |
void | manage_with_style (int dialog_style) |
void | place_window (QfWindowPlacement wpl) |
Protected Member Functions inherited from QfBrick | |
virtual void | radio_activity () |
Static Protected Member Functions | |
static void | copy_colorname (char *dst, const char *src) |
Static Protected Member Functions inherited from QfCastle | |
static void | wm_delete_cb (Widget w, XtPointer pUserData, XtPointer pCallData) |
static void | ok_action_proc (void *pUserData) |
static void | apply_action_proc (void *pUserData) |
static void | close_action_proc (void *pUserData) |
static void | cancel_action_proc (void *pUserData) |
static void | help_action_proc (void *pUserData) |
static void | undo_action_proc (void *pUserData) |
static void | run_action_proc (void *pUserData) |
static void | stop_action_proc (void *pUserData) |
Protected Attributes | |
ZtSeismicViewAr | svar |
ZtSeismicTraceAr | star |
ZSVOptions | svopt |
int | mMain |
int | mAux |
RadioGroup | eTraceView |
RadioGroup | eNormGainMode |
RadioGroup | eDrawingMode |
RadioGroup | eZeroDrawMode |
RadioGroup | eColorMode |
int | iComColorSchema |
int | iPosColorSchema |
int | iNegColorSchema |
char | szSpecZeroColor [ZCP_COLORNAME_LEN+1] |
char | szCommonColor [ZCP_COLORNAME_LEN+1] |
char | szPosAmplColor [ZCP_COLORNAME_LEN+1] |
char | szNegAmplColor [ZCP_COLORNAME_LEN+1] |
char | szCommonPalette [ZCP_COLORNAME_LEN+1] |
char | szPosAmplPalette [ZCP_COLORNAME_LEN+1] |
char | szNegAmplPalette [ZCP_COLORNAME_LEN+1] |
Real4 | fAlmostZeroThd |
Real4 | fAgcGap |
int | iEnsDrawMode |
Real4 | fEnsSplitDelta |
Real4 | fCutLevel |
Real4 | fDivAmplGain |
Protected Attributes inherited from QfCastle | |
Widget | wTower |
Widget | wTempForm |
Widget | wShell |
char * | szHelpRef |
Logic | bActivity |
Logic | bRunning |
QfBrick * | pButtons [QfA_ButtonsNumber] |
QfActionButtonId | eButton |
Protected Attributes inherited from QfTower | |
char * | resname |
Widget | wForm |
QfDecoration | decor |
int | iIndent |
int | iLeftOffset |
Protected Attributes inherited from QfBuilding | |
BricksAr | bricks |
ParamsAr | params |
Protected Attributes inherited from QfBrick | |
Widget | wSelf |
QCBDescrAr | cbList |
QRadioActive * | qRA |
Class for seismic visualization options. Dialog window can be tuned in three ways: -main and auxiliary parameters subsets division applied -mask of editable (and displayed) parameters can be given -derived classes may add more options
ZSVOdialog::ZSVOdialog | ( | Widget | wParent, |
int | mMainOptions, | ||
int | mAuxOptions, | ||
QfDecoration | eDecor = QfDECOR_NONE |
||
) |
Create dialog GUI but don't manage it for a while
wParent | parent widget |
void ZSVOdialog::attach | ( | ZtSeismicView * | sv | ) |
Attach seismic view object to edit its properties
void ZSVOdialog::attach | ( | ZtSeismicTrace * | st | ) |
Attach seismic trace object to edit its properties
|
static |
Call for color selection dialog
|
staticprotected |
Clone of strcpy() with NULL check and boundary ZCP_COLORNAME_LEN awareness.
|
inlinevirtual |
Additional parameters definition in additional panel. It's empty here. May be implemented in derived classes.
|
protected |
Create interface for given mask
|
inlinevirtual |
Additional parameters definition in main panel. It's empty here. May be implemented in derived classes.
void ZSVOdialog::detach | ( | ZtSeismicView * | sv | ) |
Detach seismic view object from the property editor
void ZSVOdialog::detach | ( | ZtSeismicTrace * | st | ) |
Detach seismic trace object from the property editor
|
virtual |
Load value(s) from GUI-independent buffers to display them and allow user to edit them.
Reimplemented from QfBuilding.
|
virtual |
Get access (after stored_gui()) values of seismic view options.
|
protected |
Convert seismic view parameters to index of drawing mode
|
virtual |
Set new values (before load_gui()) values of seismic view options.
|
virtual |
Store entered value(s) in GUI-independent buffers, that can be accessed externally.
Reimplemented from QfBuilding.
|
protected |
Convert index of drawing mode to seismic view parameters
|
protected |
0-common color, 1-pos/neg colors
|
protected |
0-pos.thin,neg.thin;
1-pos.fill,neg.thin; 2-pos.thin,neg.fill; 3-pos.fill,neg.fill; 4-pos.fill,neg.none; 5-pos.none,neg.fill; 6-color map filled; 7-color map contour
|
protected |
0-AGC; 1-global; 2-local
|
protected |
0-VSP, 1-S2D
|
protected |
0-ZsvDontDrawZero,
1-ZsvUsualColor, 2-ZsvSpecColor
|
protected |
0-monochrome; 1-palette;
2-reverse palette
|
protected |
0-ZsvFirstOnly; 1-ZsvMultiUniform;
2-ZsvMultiColors; 3-ZsvMultiColorsThin
|
protected |
0-monochrome; 1-palette;
2-reverse palette
|
protected |
0-monochrome; 1-palette;
2-reverse palette
|
protected |
Mask of additional editable options
|
protected |
Mask of main editable options
|
protected |
Attached seismic trace objects
|
protected |
Attached seismic view objects
|
protected |
Stored seismic view options