UNIVERS
15.3
UNIVERS base processing software API
|
#include <seismic_area_widget.hpp>
Classes | |
struct | CoordAxis |
Signals | |
void | toolTipDelivered (const QString &tip_str, const QString &info_str) |
Public Member Functions | |
SeismicAreaWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
SeismicAreaWidget (QPaintDevice *pdev, QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~SeismicAreaWidget () |
virtual void | attachData (ZdSeismicSet &seis_set) |
virtual void | detachData () |
virtual ZdSeismicSet * | data () |
void | setInteractiveMode (int imode) |
virtual void | addCoordAxis (const CoordAxisVisMode &axis_vis_mode) |
virtual void | removeCoordAxes () |
virtual size_t | coordAxesNum () const |
virtual bool | getCoordAxisVisMode (size_t id, CoordAxisVisMode &axis_vis_mode) const |
virtual bool | setCoordAxisVisMode (size_t id, const CoordAxisVisMode &axis_vis_mode) |
virtual void | redraw (bool repaint_flag=true) |
void | zoomAll (bool repaint_flag=true) |
void | zoomIn (bool repaint_flag=true) |
void | zoomOut (bool repaint_flag=true) |
void | setClosable (const bool closable=true) |
QzqArea * | getZqArea () |
Public Member Functions inherited from hds::SeismicArea | |
SeismicArea () | |
virtual | ~SeismicArea () |
virtual ViewOptions & | options () |
virtual int | interactiveMode () const |
const ZqbNatGroup & | getTimeNaturalGroup () const |
ZqbNatGroup & | getTimeNaturalGroup () |
const ZqbNatGroup & | getCoordNaturalGroup () const |
ZqbNatGroup & | getCoordNaturalGroup () |
bool | loadDefaults (const QString &fname) |
bool | saveDefaults (const QString &fname) const |
Protected Member Functions | |
virtual void | init (QWidget *parent, Qt::WindowFlags f) |
void | closeEvent (QCloseEvent *ev) |
virtual void | showEvent (QShowEvent *ev) |
virtual void | paintEvent (QPaintEvent *pev) |
Protected Attributes | |
std::vector< CoordAxis > | m_coord_axes |
ZdSeismicSet * | mp_seis_doc |
QzqArea * | mp_zqarea |
QGridLayout * | mp_grid_layout |
ZqLayout * | mp_zqlayout |
ZqSeismicView * | mp_seis_view |
ZqScale * | mp_time_scale |
ZqTitle * | mp_time_title |
ZqScrollBar * | mp_bottom_scrbar |
ZqScrollBar * | mp_right_scrbar |
ZqZoom * | mp_seis_zoom |
ZqGrid * | mp_time_grid |
bool | m_closable |
QPaintDevice * | m_pdev |
Protected Attributes inherited from hds::SeismicArea | |
ZqbNatGroup | m_time_ng |
ZqbNatGroup | m_coord_ng |
ViewOptions | m_options |
int | m_interactive_mode |
Additional Inherited Members | |
Public Types inherited from hds::SeismicArea | |
enum | InteractiveMode { SA_DUMMY_IMODE = 0, SA_INFO_IMODE = 1, SA_ZOOM_IMODE = 2 } |
enum | ShowMode { SA_SHOW_SEISMIC_ONLY = 0, SA_SHOW_TIME_SCALE = 1, SA_SHOW_COORD_SCALES = 2, SA_SHOW_SCROLLS = 4 } |
Provides base features for seismic visualization with simple interactions. Allows of multiple coordinate scales visualization. Visual area:
| | | | | center |t | scale | seismic | scroll | |i | | | | |t | | | | |l | | | | |e | | | |
hds::SeismicAreaWidget::SeismicAreaWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Default constructor with parent widget and widget flags provided.
hds::SeismicAreaWidget::SeismicAreaWidget | ( | QPaintDevice * | pdev, |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
Construct widget with paint device provided.
|
virtual |
Destructor.
|
virtual |
Add new coordinate axis.
Reimplemented from hds::SeismicArea.
|
virtual |
Attach seismic data document object.
Implements hds::SeismicArea.
|
virtual |
Return number of coordinate axes defined.
Reimplemented from hds::SeismicArea.
|
virtual |
Access to attached seismic data pointer. NULL if seismic data not attached.
Reimplemented from hds::SeismicArea.
|
virtual |
Detach current seismic data dociument.
Implements hds::SeismicArea.
|
virtual |
Get coordinate axis visualization mode for provide id.
Returns false on error.
Reimplemented from hds::SeismicArea.
|
inline |
Get zqools area pointer.
|
protectedvirtual |
Initialize object with current parameters.
|
virtual |
Redraw visual area (repait if provided flag is true).
repaint_flag | Force zq area repaint flag. |
Implements hds::SeismicArea.
|
virtual |
Remove all coordinate axes.
Reimplemented from hds::SeismicArea.
|
inline |
Set closable flag.
repaint_flag | Force zq area repaint flag. |
|
virtual |
Set coordinate axis visualization mode for provide id.
Returns false on error.
Reimplemented from hds::SeismicArea.
|
virtual |
Set interactive mode.
Reimplemented from hds::SeismicArea.
|
signal |
The signal emited whenever tooltip delivered from ZqArea widget.
Provides tip and info strings.
void hds::SeismicAreaWidget::zoomAll | ( | bool | repaint_flag = true | ) |
Zoom all seismic area.
repaint_flag | Force zq area repaint flag. |
void hds::SeismicAreaWidget::zoomIn | ( | bool | repaint_flag = true | ) |
Zoom in seismic area.
repaint_flag | Force zq area repaint flag. |
void hds::SeismicAreaWidget::zoomOut | ( | bool | repaint_flag = true | ) |
Zoom out seismic area.
repaint_flag | Force zq area repaint flag. |
|
protected |
Current paint device for drawing.
|
protected |
Array of coordinate axes.
|
protected |
Layout for Zqools objects.
|
protected |
Seismic zoom.
|
protected |
Seismic set document pointer. Zqools area pointer for seismic visualization and interactions.
|
protected |
Time grid.
|
protected |
Widget can be closed flag.
|
protected |
Time scale. Time title.
|
protected |
Time and coordinate scroll bars.
|
protected |
Grid layout of the widget.
|
protected |
View object for seismic.