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

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