OpendTect  6.6
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  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "geometrymod.h"
16 #include "geeditor.h"
17 
18 namespace Geometry
19 {
20 
21 class TrackPlane;
22 
23 
25 {
26 public:
28  const Coord3& dir1d=Coord3::udf(),
29  const Coord3& norm2d=Coord3::udf(),
30  bool allow3d=false );
32 
33  bool mayTranslate1D( GeomPosID ) const;
35 
36  bool mayTranslate2D( GeomPosID ) const;
38 
39  bool mayTranslate3D( GeomPosID ) const;
40 
41 protected:
43 
47 };
48 
49 
51 {
52 public:
54  : ElementEditorImpl( elem, Coord3(0,0,1) ) {}
55 };
56 
57 
59 {
60 public:
61  PlaneElementEditor( Element& elem, const Coord3& normal )
62  : ElementEditorImpl( elem, Coord3::udf(), normal ) {}
63 };
64 };
65 
Coord3
A cartesian coordinate in 3D space.
Definition: coord.h:72
geeditor.h
Geometry::ElementEditorImpl::translation2dnormal
Coord3 translation2dnormal
Definition: geeditorimpl.h:45
Geometry::ElementEditorImpl::translation2DNormal
Coord3 translation2DNormal(GeomPosID) const
Geometry::ElementEditorImpl::translate1ddir
Coord3 translate1ddir
Definition: geeditorimpl.h:44
Coord3::udf
static const Coord3 & udf()
Geometry
Definition: arraytesselator.h:21
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Geometry::Element
Definition: geomelement.h:37
Geometry::ElementEditor
Definition: geeditor.h:25
Geometry::BinIDElementEditor
Definition: geeditorimpl.h:51
Geometry::ElementEditorImpl::mayTranslate1D
bool mayTranslate1D(GeomPosID) const
Geometry::PlaneElementEditor
Definition: geeditorimpl.h:59
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
Geometry::ElementEditorImpl::maytranslate3d
bool maytranslate3d
Definition: geeditorimpl.h:46
Geometry::ElementEditorImpl::ElementEditorImpl
ElementEditorImpl(Element &elem, const Coord3 &dir1d=Coord3::udf(), const Coord3 &norm2d=Coord3::udf(), bool allow3d=false)
Geometry::ElementEditorImpl::addedKnots
void addedKnots(CallBacker *)
Geometry::ElementEditorImpl::translation1DDirection
Coord3 translation1DDirection(GeomPosID) const
Geometry::ElementEditorImpl::mayTranslate3D
bool mayTranslate3D(GeomPosID) const
Geometry::ElementEditorImpl::mayTranslate2D
bool mayTranslate2D(GeomPosID) const
Geometry::ElementEditorImpl::~ElementEditorImpl
~ElementEditorImpl()
GeomPosID
od_int64 GeomPosID
Definition: geomelement.h:20
Geometry::BinIDElementEditor::BinIDElementEditor
BinIDElementEditor(Geometry::Element &elem)
Definition: geeditorimpl.h:53
Geometry::PlaneElementEditor::PlaneElementEditor
PlaneElementEditor(Element &elem, const Coord3 &normal)
Definition: geeditorimpl.h:61
Geometry::ElementEditorImpl
Definition: geeditorimpl.h:25

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