UNIVERS
15.3
UNIVERS base processing software API
|
#include <zq_seismic_view.hpp>
Classes | |
struct | Trace |
Public Member Functions | |
ZqSeismicView (ZqbNatGroup &rNatTime, ZqbNatGroup &rNatCoord, const char *szName=NULL) | |
ZqSeismicView (ZqbNatGroup &rNatTime, ZqbNatGroup &rNatCoord, ZqbPlaceholder *pPh, const char *szName=NULL) | |
int | getLedgeSize () const |
virtual bool | compatibleDoc (const ZdDocument *pDoc) const |
virtual void | attachFile (ZdSeismicFile *pFile) |
virtual void | detachDoc () |
virtual ZdSeismicFile * | file () |
virtual bool | tip (const QPoint &p, QString &qsShort, QString &qsLong) |
virtual void | setTipContents (std::vector< int > &hwlist) |
virtual void | setTipContents (int n,...) |
virtual const std::vector< int > & | getTipContents () const |
virtual bool | traceAt (QPoint p, Trace &rTraceLoc) |
virtual bool | traceAt (double fPseudoCoord, Trace &rTraceLoc) |
virtual void | redraw (QPainter &paint) |
ZqSeismicView (ZqbNatGroup &rNatTime, ZqbNatGroup &rNatCoord, const char *szName=NULL) | |
ZqSeismicView (ZqbNatGroup &rNatTime, ZqbNatGroup &rNatCoord, ZqbPlaceholder *pPh, const char *szName=NULL) | |
int | getLedgeSize () const |
virtual bool | compatibleDoc (const ZdDocument *pDoc) const |
virtual void | attachFile (ZdSeismicFile *pFile) |
virtual void | detachDoc () |
virtual ZdSeismicFile * | file () |
virtual bool | tip (const QPoint &p, QString &qsShort, QString &qsLong) |
virtual void | setTipContents (std::vector< int > &hwlist) |
virtual void | setTipContents (int n,...) |
virtual const std::vector< int > & | getTipContents () const |
virtual bool | traceAt (QPoint p, Trace &rTraceLoc) |
virtual bool | traceAt (double fPseudoCoord, Trace &rTraceLoc) |
virtual void | redraw (QPainter &paint) |
virtual void | updateView () |
Public Member Functions inherited from ZqView | |
ZqView (const char *szName=NULL) | |
ZqView (ZqbPlaceholder *pPh, const char *szName=NULL) | |
virtual void | attachDoc (ZdDocument *pData) |
ZqView (const char *szName=NULL) | |
ZqView (ZqbPlaceholder *pPh, const char *szName=NULL) | |
virtual void | attachDoc (ZdDocument *pData) |
Public Member Functions inherited from ZqObject | |
ZqObject (const char *szName=NULL) | |
ZqObject (ZqbPlaceholder *pPh, const char *szName=NULL) | |
virtual | ~ZqObject () |
virtual void | debugState () |
virtual void | clearPlace () |
virtual ZqbPlaceholderVector * | placeholders () |
virtual ZqbEventHint | input (QEvent &event) |
virtual void | updateLimits (QPainter *paint=NULL) |
virtual void | updateGeometry () |
virtual QPainter * | getScreenPainter () const |
virtual void | setScreenPainter (QPainter *pPainter) |
virtual QzqArea * | getArea () const |
virtual QWidget * | getAreaWidget () const |
virtual void | setAreaWidget (QWidget *pWidget) |
virtual bool | isHardcopy () const |
bool | isPlaced () const |
ZqbPlaceholder * | getPlace () const |
ZqbPixGrpMember * | px () const |
ZqbPixGrpMember * | py () const |
bool | getRect (QRect &rect) const |
virtual bool | attachToPlace (ZqbPlaceholder *pPh) |
virtual bool | detachFromPlace () |
virtual void | setDirty () |
virtual void | resetDirty () |
virtual bool | isDirty () const |
void | setInteractive (bool bInteractive) |
bool | isInteractive () const |
virtual void | fullRedraw (bool bForce=false) |
virtual void | interactiveRedraw () |
ZqObject (const char *szName=NULL) | |
ZqObject (ZqbPlaceholder *pPh, const char *szName=NULL) | |
virtual | ~ZqObject () |
virtual void | debugState () |
virtual void | clearPlace () |
virtual ZqbPlaceholderVector * | placeholders () |
virtual ZqbEventHint | input (QEvent &event) |
virtual void | updateLimits (QPainter *paint=NULL) |
virtual void | updateGeometry () |
virtual QPainter * | getScreenPainter () const |
virtual void | setScreenPainter (QPainter *pPainter) |
virtual QzqArea * | getArea () const |
virtual QWidget * | getAreaWidget () const |
virtual void | setAreaWidget (QWidget *pWidget) |
virtual bool | isHardcopy () const |
bool | isPlaced () const |
ZqbPlaceholder * | getPlace () const |
ZqbPixGrpMember * | px () const |
ZqbPixGrpMember * | py () const |
bool | getRect (QRect &rect) const |
virtual bool | attachToPlace (ZqbPlaceholder *pPh) |
virtual bool | detachFromPlace () |
virtual void | setDirty () |
virtual void | resetDirty () |
virtual bool | isDirty () const |
void | setInteractive (bool bInteractive) |
bool | isInteractive () const |
virtual void | fullRedraw (bool bForce=false) |
virtual void | interactiveRedraw () |
Public Member Functions inherited from ZqbAutoName | |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
Public Member Functions inherited from ZqbName | |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
Public Member Functions inherited from ZqbVisible | |
ZqbVisible (bool bDrawable=false, bool bInputable=false, bool bTipable=false) | |
virtual | ~ZqbVisible () |
virtual bool | isDrawable () const |
virtual void | setDrawable (bool bFlag) |
virtual void | redraw () |
virtual void | setTipable (bool bFlag) |
virtual bool | isTipable () const |
virtual bool | isInputable () const |
virtual void | setInputable (bool bFlag) |
virtual bool | getRect (QRect &) |
virtual bool | setRect (const QRect &) |
ZqbVisible (bool bDrawable=false, bool bInputable=false, bool bTipable=false) | |
virtual | ~ZqbVisible () |
virtual bool | isDrawable () const |
virtual void | setDrawable (bool bFlag) |
virtual void | redraw () |
virtual void | setTipable (bool bFlag) |
virtual bool | isTipable () const |
virtual bool | isInputable () const |
virtual void | setInputable (bool bFlag) |
virtual bool | getRect (QRect &) |
virtual bool | setRect (const QRect &) |
Public Member Functions inherited from ZqbView | |
ZqbView (const char *szName=NULL) | |
virtual | ~ZqbView () |
virtual ZdDocument * | doc () |
virtual void | updateDoc () |
ZqbView (const char *szName=NULL) | |
virtual | ~ZqbView () |
virtual ZdDocument * | doc () |
virtual void | updateDoc () |
Public Attributes | |
ZqbNatGrpMember | m_Time |
ZqbNatGrpMember | m_Coord |
ZqbSVOptions | m_Options |
std::vector< Trace > | m_vVisTrace |
std::map< int, Trace * > | m_mVisTrace |
float | m_fGlobalAmax |
Protected Member Functions | |
void | normTrace (ZqSeismicTrace &seistr, float mm[2], float fEnsAmax) |
void | drawEnsBrackets (QPainter &paint) |
void | normTrace (ZqSeismicTrace &seistr, float mm[2], float fEnsAmax) |
void | drawEnsBrackets (QPainter &paint) |
void | map_redraw (QPainter &paint) |
void | wiggle_redraw (QPainter &paint) |
Protected Attributes | |
int | m_nHalfHeight |
std::vector< int > | m_vTipHW |
Protected Attributes inherited from ZqObject | |
ZqbPlaceholder * | m_pPh |
ZqbPixGrpMember * | m_pPx |
ZqbPixGrpMember * | m_pPy |
bool | m_bInteractive |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Additional Inherited Members | |
Static Public Member Functions inherited from ZqbView | |
static bool | findTypeAmong (const ZdDocument *pDoc, const char *szExpectedType1,...) |
static bool | findTypeAmong (const ZdDocument *pDoc, const char *szExpectedType1,...) |
Class for drawing sequence of traces represented by some abstract stream.
ZqSeismicView::ZqSeismicView | ( | ZqbNatGroup & | rNatTime, |
ZqbNatGroup & | rNatCoord, | ||
const char * | szName = NULL |
||
) |
Create seismic view drawing object without placeholder. Natural coordinates for time and coordinate axis are provided.
ZqSeismicView::ZqSeismicView | ( | ZqbNatGroup & | rNatTime, |
ZqbNatGroup & | rNatCoord, | ||
ZqbPlaceholder * | pPh, | ||
const char * | szName = NULL |
||
) |
Create seismic view drawing object at given place. Natural coordinates for time and amplitude axis are provided.
ZqSeismicView::ZqSeismicView | ( | ZqbNatGroup & | rNatTime, |
ZqbNatGroup & | rNatCoord, | ||
const char * | szName = NULL |
||
) |
Create seismic view drawing object without placeholder. Natural coordinates for time and coordinate axis are provided.
ZqSeismicView::ZqSeismicView | ( | ZqbNatGroup & | rNatTime, |
ZqbNatGroup & | rNatCoord, | ||
ZqbPlaceholder * | pPh, | ||
const char * | szName = NULL |
||
) |
Create seismic view drawing object at given place. Natural coordinates for time and amplitude axis are provided.
|
virtual |
Attach seismic file which is represented as an abstract iterator through traces with coordinates.
|
virtual |
Attach seismic file which is represented as an abstract iterator through traces with coordinates.
|
virtual |
Return true if passed object is in list of compatible documents for this view. ZdSeismicFile and subclasses are welcome.
Implements ZqbView.
|
virtual |
Return true if passed object is in list of compatible documents for this view. ZdSeismicFile and subclasses are welcome.
Implements ZqbView.
|
virtual |
Detach trace disabling drawin in single trace mode. Withdraws information about ranges for coordinate and time of the trace.
Reimplemented from ZqView.
|
virtual |
Detach trace disabling drawin in single trace mode. Withdraws information about ranges for coordinate and time of the trace.
Reimplemented from ZqView.
|
protected |
Draw ensemble brackets at current seismic file natural coordinate.
|
protected |
Draw ensemble brackets at current seismic file natural coordinate.
|
virtual |
Return pointer to attached trace.
|
virtual |
Return pointer to attached trace.
int ZqSeismicView::getLedgeSize | ( | ) | const |
Return size of maximum amplitude in pixels. It's zero before first redraw() and then it's equal to the half of box 'height' (width for S2D), allocated for the trace drawing.
int ZqSeismicView::getLedgeSize | ( | ) | const |
Return size of maximum amplitude in pixels. It's zero before first redraw() and then it's equal to the half of box 'height' (width for S2D), allocated for the trace drawing.
|
virtual |
Get vector of header words used to display as a tip under the mouse cursor.
|
virtual |
Get vector of header words used to display as a tip under the mouse cursor.
|
protected |
Redraw traces in map mode.
|
protected |
Setup normalization mode for the trace drawing.
|
protected |
Setup normalization mode for the trace drawing.
|
virtual |
General drawing method for all traces in attached file.
Reimplemented from ZqObject.
|
virtual |
General drawing method for all traces in attached file.
Reimplemented from ZqObject.
|
virtual |
Setup tip contents as a vector of header word ids to display. In addition, special ids are passed to display coordinate, sample, amplitude and time of sample under the mouse cursor (see TIP_* macros).
|
virtual |
Setup tip contents as a vector of header word ids to display. In addition, special ids are passed to display coordinate, sample, amplitude and time of sample under the mouse cursor (see TIP_* macros).
|
virtual |
Setup tip contents given number of header word ids to display. In addition, special ids are passed to display coordinate, sample, amplitude and time of sample under the mouse cursor (see TIP_* macros).
|
virtual |
Setup tip contents given number of header word ids to display. In addition, special ids are passed to display coordinate, sample, amplitude and time of sample under the mouse cursor (see TIP_* macros).
|
virtual |
Display tip at this point (short and long forms) and return true or return false if no tips are associated with this point.
The short form of tip label is displayed nearby mouse pointer position. The long form is displayed in the status line (if defined in a program).
Reimplemented from ZqbVisible.
|
virtual |
Display tip at this point (short and long forms) and return true or return false if no tips are associated with this point.
The short form of tip label is displayed nearby mouse pointer position. The long form is displayed in the status line (if defined in a program).
Reimplemented from ZqbVisible.
|
virtual |
Maximum amplitude distribution through coordinate (see m_vCoord, m_vAmax). It's NULL in detached state and before first drawing. The information in this array is created and recalculated on each redrawing. Arrays for coordinate and absolute maximum amplitude at it (including ensembles). Describe the trace location at given pixel position and return true if found and false if not.
|
virtual |
Maximum amplitude distribution through coordinate (see m_vCoord, m_vAmax). It's NULL in detached state and before first drawing. The information in this array is created and recalculated on each redrawing. Arrays for coordinate and absolute maximum amplitude at it (including ensembles). Describe the trace location at given pixel position and return true if found and false if not.
|
virtual |
Describe the trace location at given coordinate (pseudo-coordinate is used) and return true if found and false if not.
|
virtual |
Describe the trace location at given coordinate (pseudo-coordinate is used) and return true if found and false if not.
|
virtual |
The method to refresh GUI when it seems some data were changed.
Reimplemented from ZqView.
|
protected |
Redraw traces in wiggle mode.
ZqbNatGrpMember ZqSeismicView::m_Coord |
Bounds for coordinate axis and access to natural group.
float ZqSeismicView::m_fGlobalAmax |
Global amplitude maximum for normalization.
|
protected |
Size in pixels allocated for drawing amplitudes of one trace.
ZqbSVOptions ZqSeismicView::m_Options |
Drawing options.
ZqbNatGrpMember ZqSeismicView::m_Time |
Bounds for time axis and access to natural group.
|
protected |
List of header words displayed in dynamic tip.
std::vector< Trace > ZqSeismicView::m_vVisTrace |
All currently visualized traces are listed in this vector. In detached state number of items is zero.