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

#include <ZSVOdialog.H>

Inheritance diagram for ZSVOdialog:
QfCastle QfTower QfBuilding QfBrick

Public Member Functions

 ZSVOdialog (Widget wParent, int mMainOptions, int mAuxOptions, QfDecoration eDecor=QfDECOR_NONE)
 
virtual const ZSVOptionsoptions () 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 QfBricksep ()
 
virtual QfBricktitle (const char *szLabel)
 
virtual QfBricktopic (const char *szLabel)
 
virtual void add (QfBrick *pBrick)
 
virtual Widget container () const
 
virtual void manage ()
 
QfToweroperator<< (QfBrick *pBrick)
 
QfToweroperator<< (const char *szLabel)
 
QfToweroperator<< (int iOffset)
 
- Public Member Functions inherited from QfBuilding
virtual QfType type () const
 
virtual void set_sensitive (Logic flag)
 
virtual Logic get_sensitive ()
 
virtual QfParamItemget_params (QfBrick *pBrick, unsigned &nParams)
 
virtual void realized ()
 
QfBuildingoperator<< (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
 
QfBrickpButtons [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
 
QRadioActiveqRA
 

Detailed Description

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

Constructor & Destructor Documentation

ZSVOdialog::ZSVOdialog ( Widget  wParent,
int  mMainOptions,
int  mAuxOptions,
QfDecoration  eDecor = QfDECOR_NONE 
)

Create dialog GUI but don't manage it for a while

Parameters
wParentparent widget

Member Function Documentation

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 void ZSVOdialog::colors_and_palettes ( void *  pSelf)
static

Call for color selection dialog

static void ZSVOdialog::copy_colorname ( char *  dst,
const char *  src 
)
staticprotected

Clone of strcpy() with NULL check and boundary ZCP_COLORNAME_LEN awareness.

virtual void ZSVOdialog::create_aux_custom_options ( )
inlinevirtual

Additional parameters definition in additional panel. It's empty here. May be implemented in derived classes.

void ZSVOdialog::create_gui ( int  mask,
QfTower tow 
)
protected

Create interface for given mask

virtual void ZSVOdialog::create_main_custom_options ( )
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 void ZSVOdialog::load_gui ( )
virtual

Load value(s) from GUI-independent buffers to display them and allow user to edit them.

Reimplemented from QfBuilding.

virtual const ZSVOptions& ZSVOdialog::options ( ) const
virtual

Get access (after stored_gui()) values of seismic view options.

int ZSVOdialog::pack_drawing_mode ( )
protected

Convert seismic view parameters to index of drawing mode

virtual void ZSVOdialog::set_options ( const ZSVOptions svo)
virtual

Set new values (before load_gui()) values of seismic view options.

virtual void ZSVOdialog::store_gui ( )
virtual

Store entered value(s) in GUI-independent buffers, that can be accessed externally.

Reimplemented from QfBuilding.

void ZSVOdialog::unpack_drawing_mode ( int  i)
protected

Convert index of drawing mode to seismic view parameters

Member Data Documentation

RadioGroup ZSVOdialog::eColorMode
protected

0-common color, 1-pos/neg colors

RadioGroup ZSVOdialog::eDrawingMode
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

RadioGroup ZSVOdialog::eNormGainMode
protected

0-AGC; 1-global; 2-local

RadioGroup ZSVOdialog::eTraceView
protected

0-VSP, 1-S2D

RadioGroup ZSVOdialog::eZeroDrawMode
protected
            0-ZsvDontDrawZero,

1-ZsvUsualColor, 2-ZsvSpecColor

int ZSVOdialog::iComColorSchema
protected
        0-monochrome;
            1-palette;

2-reverse palette

int ZSVOdialog::iEnsDrawMode
protected
        0-ZsvFirstOnly;
            1-ZsvMultiUniform;

2-ZsvMultiColors; 3-ZsvMultiColorsThin

int ZSVOdialog::iNegColorSchema
protected
        0-monochrome;
            1-palette;

2-reverse palette

int ZSVOdialog::iPosColorSchema
protected
        0-monochrome;
            1-palette;

2-reverse palette

int ZSVOdialog::mAux
protected

Mask of additional editable options

int ZSVOdialog::mMain
protected

Mask of main editable options

ZtSeismicTraceAr ZSVOdialog::star
protected

Attached seismic trace objects

ZtSeismicViewAr ZSVOdialog::svar
protected

Attached seismic view objects

ZSVOptions ZSVOdialog::svopt
protected

Stored seismic view options


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