OpendTect-6_4  6.4
welllogdisp.h
Go to the documentation of this file.
1 #ifndef welllogdisp_h
2 #define welllogdisp_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bruno
9  Date: June 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "wellmod.h"
17 #include "ranges.h"
18 #include "color.h"
19 #include "bufstring.h"
20 
21 namespace Well
22 {
23 
29 {
30 public:
31  LogDisplayPars( const char* nm=0 )
32  : name_(nm)
33  , cliprate_(mUdf(float))
34  , range_(mUdf(float),mUdf(float))
35  , nocliprate_(false)
36  , logarithmic_(false)
37  , repeat_(1)
38  , repeatovlap_(mUdf(float))
39  , seisstyle_(false)
40  , linecolor_(Color::White())
41  , logfill_(false)
42  , logfillcolor_(Color::White())
43  , seqname_("")
44  , singlfillcol_(false)
45  {}
47 
49  float cliprate_;
52  bool seisstyle_;
54  bool logfill_;
55  int repeat_;
56  float repeatovlap_;
59  const char* seqname_;
61 };
62 
63 
69 {
70 public:
72  {
73  Interval<float> lrg( 0, 0 );
74  Interval<float> rrg( 0, 0 );
75  leftlogpar_ = new LogDisplayPars( "None" );
76  rightlogpar_ = new LogDisplayPars( "None" );
77  }
79  {
80  delete leftlogpar_;
81  delete rightlogpar_;
82  }
83 
84  LogDisplayPars* getLeft() const { return leftlogpar_; }
85  LogDisplayPars* getRight() const { return rightlogpar_; }
86  void setLeft( LogDisplayPars* lp ) { leftlogpar_ = lp; }
87  void setRight( LogDisplayPars* rp ) { rightlogpar_ = rp; }
88 
89 protected:
90 
93 
94 };
95 
96 }; // namespace Well
97 
98 #endif
float repeatovlap_
Definition: welllogdisp.h:56
#define mExpClass(module)
Definition: commondefs.h:160
bool logarithmic_
Definition: welllogdisp.h:51
~LogDisplayParSet()
Definition: welllogdisp.h:78
float cliprate_
If undef, use range_.
Definition: welllogdisp.h:49
Color logfillcolor_
Definition: welllogdisp.h:58
Log display parameter set.
Definition: welllogdisp.h:68
LogDisplayParSet()
Definition: welllogdisp.h:71
bool logfill_
Definition: welllogdisp.h:54
Interval< float > range_
If cliprate_ set, filled using it.
Definition: welllogdisp.h:50
Color linecolor_
Definition: welllogdisp.h:57
int repeat_
Definition: welllogdisp.h:55
bool singlfillcol_
Definition: welllogdisp.h:60
void setLeft(LogDisplayPars *lp)
Definition: welllogdisp.h:86
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
LogDisplayPars(const char *nm=0)
Definition: welllogdisp.h:31
Definition: directionalsurvey.h:19
BufferString name_
Definition: welllogdisp.h:48
void setRight(LogDisplayPars *rp)
Definition: welllogdisp.h:87
LogDisplayPars * getLeft() const
Definition: welllogdisp.h:84
bool nocliprate_
Definition: welllogdisp.h:53
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool seisstyle_
Definition: welllogdisp.h:52
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
LogDisplayPars * getRight() const
Definition: welllogdisp.h:85
const char * seqname_
Definition: welllogdisp.h:59
Log display parameters.
Definition: welllogdisp.h:28
LogDisplayPars * rightlogpar_
Definition: welllogdisp.h:92
~LogDisplayPars()
Definition: welllogdisp.h:46
LogDisplayPars * leftlogpar_
Definition: welllogdisp.h:91

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