OpendTect-6_4  6.4
geeditorimpl.h
Go to the documentation of this file.
1 #ifndef geeditorimpl_h
2 #define geeditorimpl_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: 23-10-1996
10  Contents: Ranges
11  RCS: $Id$
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "geometrymod.h"
17 #include "geeditor.h"
18 
19 namespace Geometry
20 {
21 
22 class TrackPlane;
23 
24 
26 {
27 public:
29  const Coord3& dir1d=Coord3::udf(),
30  const Coord3& norm2d=Coord3::udf(),
31  bool allow3d=false );
33 
34  bool mayTranslate1D( GeomPosID ) const;
35  Coord3 translation1DDirection( GeomPosID ) const;
36 
37  bool mayTranslate2D( GeomPosID ) const;
38  Coord3 translation2DNormal( GeomPosID ) const;
39 
40  bool mayTranslate3D( GeomPosID ) const;
41 
42 protected:
43  void addedKnots(CallBacker*);
44 
48 };
49 
50 
52 {
53 public:
55  : ElementEditorImpl( elem, Coord3(0,0,1) ) {}
56 };
57 
58 
60 {
61 public:
62  PlaneElementEditor( Element& elem, const Coord3& normal )
63  : ElementEditorImpl( elem, Coord3::udf(), normal ) {}
64 };
65 };
66 
67 #endif
Coord3 translation2dnormal
Definition: geeditorimpl.h:46
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Coord3 translate1ddir
Definition: geeditorimpl.h:45
static const Coord3 & udf()
Definition: geeditorimpl.h:51
Definition: geeditor.h:25
od_int64 GeomPosID
Definition: geomelement.h:21
Definition: geeditorimpl.h:59
bool maytranslate3d
Definition: geeditorimpl.h:47
Definition: geeditorimpl.h:25
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: geomelement.h:37
BinIDElementEditor(Geometry::Element &elem)
Definition: geeditorimpl.h:54
Definition: arraytesselator.h:21
PlaneElementEditor(Element &elem, const Coord3 &normal)
Definition: geeditorimpl.h:62

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