OpendTect  6.3
visscalebardisplay.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: Rannojay Sen
8  Date: March 2104
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "vislocationdisplay.h"
15 
20 namespace visSurvey
21 {
22 
24 {
25 public:
26  static ScaleBarDisplay* create()
28  ~ScaleBarDisplay();
29 
30  void setOnInlCrl(bool);
31  bool isOnInlCrl() const;
32 
33  void setOrientation(int);
34  int getOrientation() const;
35 
36  void setLineWidth(int);
37  int getLineWidth() const;
38 
39  void setLength(double);
40  double getLength() const;
41 
42  void setColors(Color);
43 
44  void setDisplayTransformation(const mVisTrans*);
45  const mVisTrans* getDisplayTransformation() const;
46 
47  void fromPar(const IOPar&);
48  void toPar(IOPar&) const;
49 
50 protected:
51 
52  visBase::VisualObject* createLocation() const;
53 
54  virtual void setPosition(int,const Pick::Location&);
55  virtual void setPosition(int idx,const Pick::Location&,
56  bool add);
57 
58  virtual void removePosition(int);
59 
60  virtual int clickedMarkerIndex(
61  const visBase::EventInfo& evi)const;
62 
63  void zScaleCB(CallBacker*);
64  virtual void dispChg();
65 
66  bool oninlcrl_;
69  double length_;
72 };
73 
74 
75 } // namespace visSurvey
Definition: visobject.h:32
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
bool fromPar(const IOPar &, SeqUseMode &)
void toPar(SeqUseMode, IOPar &)
Pick location in space,.
Definition: picklocation.h:44
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:18
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
double length_
Definition: visscalebardisplay.h:69
int linewidth_
Definition: visscalebardisplay.h:68
#define mVisTrans
Definition: visdata.h:25
bool oninlcrl_
Definition: visscalebardisplay.h:66
Definition: visscalebardisplay.h:23
Used for displaying picksets of varying types. The class is not intended for standalone usage...
Definition: vislocationdisplay.h:34
RefMan< visBase::DataObjectGroup > group_
Definition: visscalebardisplay.h:71
const mVisTrans * displaytransform_
Definition: visscalebardisplay.h:70
static uiHor3DInterpol * create(uiParent *)
Definition: visevent.h:40
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:24
#define mCreateDataObj(clss)
Definition: visdata.h:210
int orientation_
Definition: visscalebardisplay.h:67

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