UNIVERS
15.3
UNIVERS base processing software API
|
#include <seismic_area.hpp>
Classes | |
struct | CoordAxisVisMode |
struct | ViewOptions |
Public Types | |
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 } |
Public Member Functions | |
SeismicArea () | |
virtual | ~SeismicArea () |
virtual void | attachData (ZdSeismicSet &seis_set)=0 |
virtual void | detachData ()=0 |
virtual ZdSeismicSet * | data () |
virtual void | redraw (bool repaint_flag=true)=0 |
virtual ViewOptions & | options () |
virtual void | addCoordAxis (const CoordAxisVisMode &axis) |
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 | setInteractiveMode (int imode) |
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 Attributes | |
ZqbNatGroup | m_time_ng |
ZqbNatGroup | m_coord_ng |
ViewOptions | m_options |
int | m_interactive_mode |
Base interface for seismic visualization area.
hds::SeismicArea::SeismicArea | ( | ) |
Default constructor, dummy interactive mode by default.
|
virtual |
Destructor.
|
inlinevirtual |
Add new coordinate axis.
Reimplemented in hds::SeismicAreaWidget.
|
pure virtual |
Attach seismic data document object.
Implemented in hds::SeismicAreaWidget.
|
inlinevirtual |
Return number of coordinate axes defined.
Reimplemented in hds::SeismicAreaWidget.
|
inlinevirtual |
Access to attached seismic data pointer. NULL if seismic data not attached.
Reimplemented in hds::SeismicAreaWidget.
|
pure virtual |
Detach current seismic data dociument.
Implemented in hds::SeismicAreaWidget.
|
inlinevirtual |
Get coordinate axis visualization mode for provide id.
Returns false on error.
Reimplemented in hds::SeismicAreaWidget.
|
inline |
Access to coordinate natural group.
|
inline |
Access to coordinate natural group.
|
inline |
Access to time natural group.
|
inline |
Access to time natural group.
|
inlinevirtual |
Current interactive mode.
bool hds::SeismicArea::loadDefaults | ( | const QString & | fname | ) |
Load default settings from provided file.
|
inlinevirtual |
Access to view options.
|
pure virtual |
Redraw visual area (repait if provided flag is true).
repaint_flag | Force zq area repaint flag. |
pdev | Paint device will be default (screen) if NULL is passed. |
Implemented in hds::SeismicAreaWidget.
|
inlinevirtual |
Remove all coordinate axes.
Reimplemented in hds::SeismicAreaWidget.
bool hds::SeismicArea::saveDefaults | ( | const QString & | fname | ) | const |
Save default settings from provided file.
|
inlinevirtual |
Set coordinate axis visualization mode for provide id.
Returns false on error.
Reimplemented in hds::SeismicAreaWidget.
|
inlinevirtual |
Set interactive mode.
Reimplemented in hds::SeismicAreaWidget.
|
protected |
Current options.
|
protected |
Current interactive mode.
|
protected |
< Time and coordinate natural groups.