OpendTect-6_4  6.4
geometryio.h
Go to the documentation of this file.
1 #ifndef geometryio_h
2 #define geometryio_h
3 
4 /*
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Salil Agarwal
9  Date: Dec 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 */
14 
15 #include "generalmod.h"
16 #include "survgeom.h"
17 
18 namespace Survey
19 {
20 
26 {
27 public:
29  static GeometryWriter* create2DWriter()
30  { return new GeometryWriter2D; }
31  static void initClass();
32  bool write(Geometry&,uiString&,
33  const char* crfrmstr=0) const;
34  IOObj* createEntry(const char* name) const;
35  Geometry::ID createNewGeomID(const char* name) const;
36 
37 };
38 
39 
45 {
46 public:
48  static GeometryWriter* create3DWriter()
49  { return new GeometryWriter3D; }
50  static void initClass();
51 
52 
53 };
54 
55 
61 {
62 public:
64  static GeometryReader* create2DReader()
65  { return new GeometryReader2D; }
66  static void initClass();
67  bool read(ObjectSet<Geometry>&,TaskRunner*) const;
68  bool updateGeometries(ObjectSet<Geometry>&,
69  TaskRunner*) const;
70 
71 };
72 
73 
79 {
80 public:
82  static GeometryReader* create3DReader()
83  { return new GeometryReader3D; }
84  static void initClass();
85 
86 
87 };
88 
89 } // namespace Survey
90 
91 #endif
2D GeometryReader.
Definition: geometryio.h:60
#define mExpClass(module)
Definition: commondefs.h:160
static GeometryReader * create3DReader()
Definition: geometryio.h:82
Definition: ioobj.h:58
GeometryReader3D()
Definition: geometryio.h:81
Definition: uistring.h:89
static GeometryWriter * create2DWriter()
Definition: geometryio.h:29
3D GeometryWriter.
Definition: geometryio.h:44
Set of pointers to objects.
Definition: commontypes.h:32
GeometryWriter3D()
Definition: geometryio.h:47
Class that can execute a task.
Definition: task.h:169
Definition: survgeom.h:194
GeometryWriter2D()
Definition: geometryio.h:28
3D GeometryReader.
Definition: geometryio.h:78
Pos::GeomID ID
Definition: survgeom.h:44
2D GeometryWriter.
Definition: geometryio.h:25
Definition: survgeom.h:25
static GeometryReader * create2DReader()
Definition: geometryio.h:64
Definition: survgeom.h:179
static GeometryWriter * create3DWriter()
Definition: geometryio.h:48
GeometryReader2D()
Definition: geometryio.h:63
Definition: arraytesselator.h:21
static void initClass()

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