OpendTect-6_4  6.4
psviewer2dgatherpainter.h
Go to the documentation of this file.
1 #ifndef psviewer2dgatherpainter_h
2 #define psviewer2dgatherpainter_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: April 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "uiprestackprocessingmod.h"
17 #include "position.h"
18 #include "datapack.h"
19 
20 namespace FlatView { class Viewer; };
21 template <class T> class SamplingData;
22 
23 namespace PreStack { class Gather; }
24 
26 
27 namespace PreStackView
28 {
29 
30 mExpClass(uiPreStackProcessing) Viewer2DGatherPainter
31 {
32 public:
33  Viewer2DGatherPainter(FlatView::Viewer&);
34  ~Viewer2DGatherPainter();
35 
36  void setVDGather(DataPack::ID);
37  void setWVAGather(DataPack::ID);
38  void setColorTableClipRate(float);
39  float colorTableClipRate() const;
40 
41  BinID getBinID() const;
42  bool hasData() const
43  { return inputwvagather_ || inputvdgather_; }
44 
45 protected:
46  void getGatherRange(const PreStack::Gather*,
48  int& nrsamp) const;
49 
53 };
54 
55 
56 }; //namespace
57 
58 #endif
#define mExpClass(module)
Definition: commondefs.h:160
PreStack gather.
Definition: prestackgather.h:36
const PreStack::Gather * inputvdgather_
Definition: psviewer2dgatherpainter.h:52
Gather display.
Definition: psviewer2dgatherpainter.h:27
Definition: synthseis.h:36
FlatView::Viewer & viewer_
Definition: psviewer2dgatherpainter.h:50
int ID
Definition: datapack.h:38
Flat Viewer using FlatView::Data and FlatView::Appearance.
Definition: flatview.h:324
Definition: psviewer2dgatherpainter.h:30
const PreStack::Gather * inputwvagather_
Definition: psviewer2dgatherpainter.h:51
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Holds the fundamental sampling info: start and interval.
Definition: samplingdata.h:22
Definition: bitmap2rgb.h:18
bool hasData() const
Definition: psviewer2dgatherpainter.h:42

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