OpendTect-6_4  6.4
visarrowdisplay.h
Go to the documentation of this file.
1 #ifndef visarrowdisplay_h
2 #define visarrowdisplay_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: January 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "vislocationdisplay.h"
17 
18 namespace visBase { class Lines; class DrawStyle; };
19 
20 namespace visSurvey
21 {
22 
28 {
29 public:
30  static ArrowDisplay* create()
32  ~ArrowDisplay();
33 
34  void setScene(visSurvey::Scene*);
35 
36  enum Type { Top, Bottom, Double };
37  void setType(Type);
38  Type getType() const;
39 
40  void setLineWidth( int );
41  int getLineWidth() const;
42 
43  void setDisplayTransformation(const mVisTrans*);
44  const mVisTrans* getDisplayTransformation() const;
45 
46 protected:
47 
48  virtual void setPosition(int,const Pick::Location&,
49  bool add=false);
50  virtual void removePosition(int);
51 
52  virtual int clickedMarkerIndex(
53  const visBase::EventInfo& evi)const;
54 
55  void zScaleCB(CallBacker*);
56  void dispChg(CallBacker*);
57 
58  visBase::VisualObject* createLocation() const;
59  bool hasDirection() const { return true; }
60 
61  void updateLineIndices(visBase::Lines*) const;
62 
67 };
68 
69 
70 } // namespace visSurvey
71 
72 #endif
Definition: visobject.h:37
Type
Definition: visarrowdisplay.h:36
#define mExpClass(module)
Definition: commondefs.h:160
visBase::DrawStyle * linestyle_
Definition: visarrowdisplay.h:64
Definition: vislines.h:23
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Type arrowtype_
Definition: visarrowdisplay.h:63
Pick location in space,.
Definition: picklocation.h:46
Definition: visdrawstyle.h:33
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
const mVisTrans * displaytransform_
Definition: visarrowdisplay.h:65
RefMan< visBase::DataObjectGroup > group_
Definition: visarrowdisplay.h:66
#define mVisTrans
Definition: visdata.h:31
bool hasDirection() const
Definition: visarrowdisplay.h:59
Database for 3D objects.
Definition: vissurvscene.h:76
Used for displaying picksets of varying types. The class is not intended for standalone usage...
Definition: vislocationdisplay.h:36
Definition: visannot.h:43
static uiHor3DInterpol * create(uiParent *)
Definition: visevent.h:44
#define mCreateDataObj(clss)
Definition: visdata.h:209
Arrow.
Definition: visarrowdisplay.h:27

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