OpendTect-6_4  6.4
geeditor.h
Go to the documentation of this file.
1 #ifndef geeditor_h
2 #define geeditor_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 "geomelement.h"
18 
19 namespace Geometry
20 {
21 
22 class TrackPlane;
23 
24 
26 {
27 public:
28  ElementEditor( Geometry::Element& element );
29  virtual ~ElementEditor();
30 
31  const Element& getElement() const { return element; }
32  Element& getElement() { return element; }
33 
34  virtual void getEditIDs( TypeSet<GeomPosID>& ) const;
35  virtual Coord3 getPosition( GeomPosID ) const;
36  virtual bool setPosition( GeomPosID, const Coord3& );
37 
38  virtual bool mayTranslate1D( GeomPosID ) const;
39  virtual Coord3 translation1DDirection( GeomPosID ) const;
40 
41  virtual bool mayTranslate2D( GeomPosID ) const;
42  virtual Coord3 translation2DNormal( GeomPosID ) const;
43 
44  virtual bool mayTranslate3D( GeomPosID ) const;
45 
46  virtual bool maySetNormal( GeomPosID ) const;
47  virtual Coord3 getNormal( GeomPosID ) const;
48  virtual bool setNormal( GeomPosID, const Coord3& );
49 
50  virtual bool maySetDirection( GeomPosID ) const;
51  virtual Coord3 getDirectionPlaneNormal( GeomPosID ) const;
52  virtual Coord3 getDirection( GeomPosID ) const;
53  virtual bool setDirection( GeomPosID, const Coord3& );
54 
60 protected:
61 
63 };
64 
65 };
66 
67 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Geometry::Element & element
Definition: geeditor.h:62
Definition: geeditor.h:25
od_int64 GeomPosID
Definition: geomelement.h:21
Definition: callback.h:254
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: geomelement.h:37
Notifier< ElementEditor > editpositionchange
Definition: geeditor.h:55
const Element & getElement() const
Definition: geeditor.h:31
Element & getElement()
Definition: geeditor.h:32
Definition: arraytesselator.h:21

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