OpendTect-6_4  6.4
visscalebardisplay.h
Go to the documentation of this file.
1 #ifndef visscalebardisplay_h
2 #define visscalebardisplay_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Rannojay Sen
9  Date: March 2104
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "vislocationdisplay.h"
17 
22 namespace visSurvey
23 {
24 
26 {
27 public:
28  static ScaleBarDisplay* create()
30  ~ScaleBarDisplay();
31 
32  void setOnInlCrl(bool);
33  bool isOnInlCrl() const;
34 
35  void setOrientation(int);
36  int getOrientation() const;
37 
38  void setLineWidth(int);
39  int getLineWidth() const;
40 
41  void setLength(double);
42  double getLength() const;
43 
44  void setColors(Color);
45 
46  void setDisplayTransformation(const mVisTrans*);
47  const mVisTrans* getDisplayTransformation() const;
48 
49  void fromPar(const IOPar&);
50  void toPar(IOPar&) const;
51 
52 protected:
53 
54  visBase::VisualObject* createLocation() const;
55 
56  virtual void setPosition(int,const Pick::Location&);
57  virtual void setPosition(int idx,const Pick::Location&,
58  bool add);
59 
60  virtual void removePosition(int);
61 
62  virtual int clickedMarkerIndex(
63  const visBase::EventInfo& evi)const;
64 
65  void zScaleCB(CallBacker*);
66  void dispChg(CallBacker*);
67 
68  bool oninlcrl_;
71  double length_;
74 };
75 
76 
77 } // namespace visSurvey
78 
79 #endif
Definition: visobject.h:37
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Pick location in space,.
Definition: picklocation.h:46
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
double length_
Definition: visscalebardisplay.h:71
int linewidth_
Definition: visscalebardisplay.h:70
#define mVisTrans
Definition: visdata.h:31
bool oninlcrl_
Definition: visscalebardisplay.h:68
Definition: visscalebardisplay.h:25
Used for displaying picksets of varying types. The class is not intended for standalone usage...
Definition: vislocationdisplay.h:36
RefMan< visBase::DataObjectGroup > group_
Definition: visscalebardisplay.h:73
const mVisTrans * displaytransform_
Definition: visscalebardisplay.h:72
static uiHor3DInterpol * create(uiParent *)
Definition: visevent.h:44
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
#define mCreateDataObj(clss)
Definition: visdata.h:209
int orientation_
Definition: visscalebardisplay.h:69

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