OpendTect  6.6
rowcolsurface.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6 Author: K. Tingdahl
7 Date: April 2006
8 Contents: Ranges
9 RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "geometrymod.h"
15 #include "rowcol.h"
16 #include "geomelement.h"
17 
18 
19 namespace Geometry
20 {
21 
26 {
27 public:
28  virtual void getPosIDs(TypeSet<GeomPosID>&,bool=true) const;
29 
30  virtual bool isEmpty() const = 0;
31 
32 
34 
35  virtual StepInterval<int> colRange() const;
36  virtual StepInterval<int> colRange(int row) const = 0;
37  virtual StepInterval<int> rowRange() const = 0;
38 
39  virtual bool setKnot(const RowCol&,const Coord3&) = 0;
40  virtual Coord3 getKnot(const RowCol&) const = 0;
41  virtual bool isKnotDefined(const RowCol&) const = 0;
42 
43  virtual Coord3 getPosition(GeomPosID pid) const;
44  virtual bool setPosition(GeomPosID pid,const Coord3&);
45  virtual bool isDefined(GeomPosID pid) const;
46 };
47 
48 };
49 
Coord3
A cartesian coordinate in 3D space.
Definition: coord.h:72
Geometry::Iterator
Definition: geomelement.h:28
geomelement.h
Geometry::RowColSurface::isKnotDefined
virtual bool isKnotDefined(const RowCol &) const =0
Geometry
Definition: arraytesselator.h:21
Geometry::RowColSurface::isEmpty
virtual bool isEmpty() const =0
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Geometry::Element
Definition: geomelement.h:37
Geometry::RowColSurface
Definition: rowcolsurface.h:26
StepInterval< int >
Geometry::RowColSurface::colRange
virtual StepInterval< int > colRange(int row) const =0
Geometry::RowColSurface::setKnot
virtual bool setKnot(const RowCol &, const Coord3 &)=0
Geometry::RowColSurface::isDefined
virtual bool isDefined(GeomPosID pid) const
Geometry::RowColSurface::getPosIDs
virtual void getPosIDs(TypeSet< GeomPosID > &, bool=true) const
Geometry::RowColSurface::createIterator
Iterator * createIterator() const
Geometry::RowColSurface::setPosition
virtual bool setPosition(GeomPosID pid, const Coord3 &)
Geometry::RowColSurface::getPosition
virtual Coord3 getPosition(GeomPosID pid) const
Geometry::RowColSurface::colRange
virtual StepInterval< int > colRange() const
Geometry::RowColSurface::rowRange
virtual StepInterval< int > rowRange() const =0
GeomPosID
od_int64 GeomPosID
Definition: geomelement.h:20
Geometry::RowColSurface::getKnot
virtual Coord3 getKnot(const RowCol &) const =0
RowCol
IdxPair used for its row() and col().
Definition: rowcol.h:25
rowcol.h
TypeSet< GeomPosID >

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