OpendTect  6.6
uipsviewer2d.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bruno
7  Date: Feb 2011
8  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiprestackprocessingmod.h"
14 #include "position.h"
15 #include "uiobjectitemview.h"
16 #include "uigroup.h"
17 
18 class uiFlatViewer;
19 
20 namespace PreStackView
21 {
22  class Viewer2DGatherPainter;
23  class uiViewer2DAxisPainter;
24 
30 mExpClass(uiPreStackProcessing) uiGatherDisplay : public uiGroup
31 {
32 public:
35 
36  virtual void setPosition(const BinID&,
37  const Interval<double>* zrg=0);
38  void setVDGather(int);
39  void setWVAGather(int);
40 
41  void displayAnnotation(bool yn);
42  bool displaysAnnotation() const;
43 
44  void setFixedOffsetRange(bool yn,
45  const Interval<float>&);
46  bool getFixedOffsetRange() const;
48  const Interval<double>* getZRange() const { return zrg_; }
49  const Interval<float>& getZDataRange() const { return zdatarange_; }
50 
51  uiFlatViewer* getUiFlatViewer() { return viewer_; }
52  BinID getBinID() const;
53 
54  void setInitialSize(const uiSize&);
55  void setWidth(int);
57 
58 protected:
59 
62 
69 
71 };
72 
73 
74 
75 mExpClass(uiPreStackProcessing) uiViewer2D : public uiObjectItemView
76 {
77 public:
80 
81  uiGatherDisplay* addGatherDisplay(int vdid, int wvaid=-1);
87  void enableScrollBars(bool);
88  void enableReSizeDraw(bool);
89  void doReSize(const uiSize&);
90  void doReSize() { reSized(0); }
91 
92  protected:
93 
96 };
97 
98 
99 }; //namespace
100 
PreStackView::uiViewer2D::enableReSizeDraw
void enableReSizeDraw(bool)
PreStackView::uiGatherDisplay::setInitialSize
void setInitialSize(const uiSize &)
PreStackView::uiViewer2D::removeGatherDisplay
void removeGatherDisplay(const uiGatherDisplay *)
PreStackView::uiGatherDisplay::uiGatherDisplay
uiGatherDisplay(uiParent *)
PreStackView
Gather display.
Definition: psviewer2dgatherpainter.h:27
PreStackView::uiGatherDisplay::getOffsetRange
const Interval< float > & getOffsetRange() const
PreStackView::uiGatherDisplay::zrg_
Interval< double > * zrg_
Definition: uipsviewer2d.h:66
PreStackView::uiViewer2D::getGatherDisplay
uiGatherDisplay & getGatherDisplay(int idx)
uiobjectitemview.h
PreStackView::uiGatherDisplay::displayannotation_
bool displayannotation_
Definition: uipsviewer2d.h:68
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
PreStackView::Viewer2DGatherPainter
Definition: psviewer2dgatherpainter.h:30
PreStackView::uiGatherDisplay::fixedoffset_
bool fixedoffset_
Definition: uipsviewer2d.h:63
PreStackView::uiGatherDisplay
Displays multiple PreStack Gathers side by side with dynamic redraw possibility.
Definition: uipsviewer2d.h:31
PreStackView::uiGatherDisplay::gatherpainter_
Viewer2DGatherPainter * gatherpainter_
Definition: uipsviewer2d.h:61
uiObjectItemView
Embeds some uiObjects in a uiGraphicsView following a horizontal layout. Objects can be dynamically r...
Definition: uiobjectitemview.h:27
PreStackView::uiGatherDisplay::updateViewRange
void updateViewRange(const uiWorldRect &)
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
PreStackView::uiGatherDisplay::getFixedOffsetRange
bool getFixedOffsetRange() const
uigroup.h
PreStackView::uiViewer2D::doReSize
void doReSize(const uiSize &)
PreStackView::uiViewer2D::uiViewer2D
uiViewer2D(uiParent *)
PreStackView::uiViewer2D::addGatherDisplay
void addGatherDisplay(uiGatherDisplay *)
PreStackView::uiGatherDisplay::displayAnnotation
void displayAnnotation(bool yn)
PreStackView::uiViewer2D
Definition: uipsviewer2d.h:76
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
PreStackView::uiGatherDisplay::getZRange
const Interval< double > * getZRange() const
Definition: uipsviewer2d.h:48
PreStackView::uiViewer2D::removeAllGatherDisplays
void removeAllGatherDisplays()
PreStackView::uiGatherDisplay::getBinID
BinID getBinID() const
PreStackView::uiGatherDisplay::viewer_
uiFlatViewer * viewer_
Definition: uipsviewer2d.h:60
uiGroup
Definition: uigroup.h:54
PreStackView::uiViewer2D::resizedraw_
bool resizedraw_
Definition: uipsviewer2d.h:94
Geom::PosRectangle< double >
PreStackView::uiViewer2D::~uiViewer2D
~uiViewer2D()
PreStackView::uiViewer2D::reSized
void reSized(CallBacker *)
uiSize
Definition: uigeom.h:25
position.h
PreStackView::uiViewer2D::doReSize
void doReSize()
Definition: uipsviewer2d.h:90
PreStackView::uiGatherDisplay::displaysAnnotation
bool displaysAnnotation() const
PreStackView::uiGatherDisplay::offsetrange_
Interval< float > offsetrange_
Definition: uipsviewer2d.h:64
PreStackView::uiGatherDisplay::bid_
BinID bid_
Definition: uipsviewer2d.h:67
PreStackView::uiViewer2D::addGatherDisplay
uiGatherDisplay * addGatherDisplay(int vdid, int wvaid=-1)
PreStackView::uiGatherDisplay::setPosition
virtual void setPosition(const BinID &, const Interval< double > *zrg=0)
PreStackView::uiViewer2D::enableScrollBars
void enableScrollBars(bool)
PreStackView::uiGatherDisplay::~uiGatherDisplay
~uiGatherDisplay()
PreStackView::uiGatherDisplay::setVDGather
void setVDGather(int)
PreStackView::uiGatherDisplay::setFixedOffsetRange
void setFixedOffsetRange(bool yn, const Interval< float > &)
PreStackView::uiGatherDisplay::getUiFlatViewer
uiFlatViewer * getUiFlatViewer()
Definition: uipsviewer2d.h:51
PreStackView::uiGatherDisplay::updateViewRange
void updateViewRange()
PreStackView::uiGatherDisplay::getZDataRange
const Interval< float > & getZDataRange() const
Definition: uipsviewer2d.h:49
PreStackView::uiGatherDisplay::setWidth
void setWidth(int)
uiParent
Definition: uiparent.h:26
PreStackView::uiGatherDisplay::zdatarange_
Interval< float > zdatarange_
Definition: uipsviewer2d.h:65
PreStackView::uiViewer2D::getGatherDisplay
uiGatherDisplay * getGatherDisplay(const BinID &)
uiFlatViewer
Fulfills the FlatView::Viewer specifications using 'ui' classes.
Definition: uiflatviewer.h:34
Interval< double >
PreStackView::uiGatherDisplay::setWVAGather
void setWVAGather(int)

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021