OpendTect  6.3
geeditorimpl.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: A.H. Bril
8  Date: 23-10-1996
9  Contents: Ranges
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "geometrymod.h"
15 #include "geeditor.h"
16 
17 namespace Geometry
18 {
19 
20 class TrackPlane;
21 
22 
24 {
25 public:
27  const Coord3& dir1d=Coord3::udf(),
28  const Coord3& norm2d=Coord3::udf(),
29  bool allow3d=false );
31 
32  bool mayTranslate1D( GeomPosID ) const;
33  Coord3 translation1DDirection( GeomPosID ) const;
34 
35  bool mayTranslate2D( GeomPosID ) const;
36  Coord3 translation2DNormal( GeomPosID ) const;
37 
38  bool mayTranslate3D( GeomPosID ) const;
39 
40 protected:
41  void addedKnots(CallBacker*);
42 
46 };
47 
48 
50 {
51 public:
53  : ElementEditorImpl( elem, Coord3(0,0,1) ) {}
54 };
55 
56 
58 {
59 public:
60  PlaneElementEditor( Element& elem, const Coord3& normal )
61  : ElementEditorImpl( elem, Coord3::udf(), normal ) {}
62 };
63 };
Coord3 translation2dnormal
Definition: geeditorimpl.h:44
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Coord3 translate1ddir
Definition: geeditorimpl.h:43
Definition: geeditorimpl.h:49
Definition: geeditor.h:23
od_int64 GeomPosID
Definition: geomelement.h:19
Definition: geeditorimpl.h:57
3D point or vector
Definition: commontypes.h:57
static Point3D< T > udf()
Definition: geometry.h:924
bool maytranslate3d
Definition: geeditorimpl.h:45
Definition: geeditorimpl.h:23
Definition: geomelement.h:35
BinIDElementEditor(Geometry::Element &elem)
Definition: geeditorimpl.h:52
Definition: arraytesselator.h:19
PlaneElementEditor(Element &elem, const Coord3 &normal)
Definition: geeditorimpl.h:60

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