OpendTect  6.6
geom2dascio.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: Satyaki Maitra
8  Date: Sep 2010
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 
15 #include "generalmod.h"
16 #include "tableascio.h"
17 
18 namespace PosInfo { class Line2DData; }
19 namespace Survey { class Geometry2D; }
20 namespace Table { class FormatDesc; }
21 
28 public:
30  od_istream&);
31 
32  static Table::FormatDesc* getDesc(bool withline=false);
33  static void fillDesc(Table::FormatDesc&,bool withline);
37 
38 protected:
39 
41  bool readLine(int startidx,Coord&,int& trcnr,
42  float& spnr,bool isxy,bool conv) const;
43 };
44 
Geom2dAscIO::getData
bool getData(Survey::Geometry2D &) const
Geom2dAscIO::getData
bool getData(PosInfo::Line2DData &)
Geom2dAscIO::getData
bool getData(ObjectSet< Survey::Geometry2D > &) const
PosInfo::Line2DData
Position info for a 2D line.
Definition: posinfo2d.h:65
tableascio.h
ObjectSet< Survey::Geometry2D >
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
od_istream
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
Geom2dAscIO::fillDesc
static void fillDesc(Table::FormatDesc &, bool withline)
Table
Definition: geom2dascio.h:20
Geom2dAscIO::strm_
od_istream & strm_
Definition: geom2dascio.h:40
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
Coord
A cartesian coordinate in 2D space.
Definition: coord.h:25
Survey
Definition: surveydisklocation.h:18
PosInfo
Position info, often segmented.
Definition: posinfo.h:40
Geom2dAscIO
Ascii I/O for 2D Geometry.
Definition: geom2dascio.h:27
Geom2dAscIO::readLine
bool readLine(int startidx, Coord &, int &trcnr, float &spnr, bool isxy, bool conv) const
Survey::Geometry2D
Geometry of a 2D Line.
Definition: survgeom2d.h:27
Table::FormatDesc
description of input our output data content
Definition: tabledef.h:220
Geom2dAscIO::getDesc
static mODTextTranslationClass(Geom2dAscIO) public Table::FormatDesc * getDesc(bool withline=false)
Table::AscIO
Ascii I/O using Format Description.
Definition: tableascio.h:42

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