OpendTect  6.3
welllogdisp.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: Bruno
8  Date: June 2009
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "wellcommon.h"
15 #include "ranges.h"
16 #include "color.h"
17 #include "bufstring.h"
18 
19 namespace Well
20 {
21 
25 {
26 public:
27  LogDisplayPars( const char* nm=0 )
28  : name_(nm)
29  , cliprate_(mUdf(float))
30  , range_(mUdf(float),mUdf(float))
31  , nocliprate_(false)
32  , logarithmic_(false)
33  , repeat_(1)
34  , repeatovlap_(mUdf(float))
35  , seisstyle_(false)
36  , linecolor_(Color::White())
37  , logfill_(false)
38  , logfillcolor_(Color::White())
39  , seqname_("")
40  , singlfillcol_(false)
41  {}
43 
45  float cliprate_;
48  bool seisstyle_;
50  bool logfill_;
51  int repeat_;
52  float repeatovlap_;
55  const char* seqname_;
57 };
58 
59 
63 {
64 public:
66  {
67  Interval<float> lrg( 0, 0 );
68  Interval<float> rrg( 0, 0 );
69  leftlogpar_ = new LogDisplayPars( "None" );
70  rightlogpar_ = new LogDisplayPars( "None" );
71  }
73  {
74  delete leftlogpar_;
75  delete rightlogpar_;
76  }
77 
78  LogDisplayPars* getLeft() const { return leftlogpar_; }
79  LogDisplayPars* getRight() const { return rightlogpar_; }
80  void setLeft( LogDisplayPars* lp ) { leftlogpar_ = lp; }
81  void setRight( LogDisplayPars* rp ) { rightlogpar_ = rp; }
82 
83 protected:
84 
87 
88 };
89 
90 }; // namespace Well
float repeatovlap_
Definition: welllogdisp.h:52
#define mExpClass(module)
Definition: commondefs.h:157
bool logarithmic_
Definition: welllogdisp.h:47
~LogDisplayParSet()
Definition: welllogdisp.h:72
float cliprate_
If undef, use range_.
Definition: welllogdisp.h:45
Color logfillcolor_
Definition: welllogdisp.h:54
Log display parameter set.
Definition: welllogdisp.h:62
LogDisplayParSet()
Definition: welllogdisp.h:65
bool logfill_
Definition: welllogdisp.h:50
Interval< float > range_
If cliprate_ set, filled using it.
Definition: welllogdisp.h:46
Color linecolor_
Definition: welllogdisp.h:53
int repeat_
Definition: welllogdisp.h:51
bool singlfillcol_
Definition: welllogdisp.h:56
void setLeft(LogDisplayPars *lp)
Definition: welllogdisp.h:80
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
LogDisplayPars(const char *nm=0)
Definition: welllogdisp.h:27
Definition: wellcommon.h:16
BufferString name_
Definition: welllogdisp.h:44
void setRight(LogDisplayPars *rp)
Definition: welllogdisp.h:81
LogDisplayPars * getLeft() const
Definition: welllogdisp.h:78
bool nocliprate_
Definition: welllogdisp.h:49
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
bool seisstyle_
Definition: welllogdisp.h:48
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:24
LogDisplayPars * getRight() const
Definition: welllogdisp.h:79
const char * seqname_
Definition: welllogdisp.h:55
Log display parameters.
Definition: welllogdisp.h:24
LogDisplayPars * rightlogpar_
Definition: welllogdisp.h:86
~LogDisplayPars()
Definition: welllogdisp.h:42
LogDisplayPars * leftlogpar_
Definition: welllogdisp.h:85

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