OpendTect-6_4  6.4
vishorizonsectiondef.h
Go to the documentation of this file.
1 #ifndef vishorizonsectiondef_h
2 #define vishorizonsectiondef_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: March 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 // this header file is the set of const definitions used in the files related to
17 // horizonsection. don't include it in somewhere else in od.
18 
19 
20 const int cMaxNrResolutions = 10;
21 
22 const int cNoTesselationNeeded = 0;
23 const int cShouldRetesselate = 1;
24 const int cMustRetesselate = 2;
25 
26 const int cNumberNodePerTileSide = 65;
27 const int cMaximumResolution = 6;
28 const int cMinInitialTimes = 3;
29 const char cNoneResolution = -1;
30 
32 
33 
34 /* define the indexes of 9 tiles around this grid */
35 # define LEFTUPTILE 0
36 # define UPTILE 1
37 # define RIGHTUPTILE 2
38 # define LEFTTILE 3
39 # define THISTILE 4
40 # define RIGHTTILE 5
41 # define LEFTBOTTOMTILE 6
42 # define BOTTOMTILE 7
43 # define RIGHTBOTTOMTILE 8
44 
45 #define mDefineRCRange(section, op )\
46  const StepInterval<int> rrg = section op userchangedisplayrg_ ?\
47  section op displayrrg_ : section op geometry_->rowRange(); \
48  const StepInterval<int> crg = section op userchangedisplayrg_ ?\
49  section op displaycrg_ : section op geometry_->colRange();\
50 
51 #endif
const char cNoneResolution
Definition: vishorizonsectiondef.h:29
const int cNoTesselationNeeded
Definition: vishorizonsectiondef.h:22
Definition: vishorizonsectiondef.h:31
GeometryType
Definition: vishorizonsectiondef.h:31
const int cMinInitialTimes
Definition: vishorizonsectiondef.h:28
const int cMustRetesselate
Definition: vishorizonsectiondef.h:24
Definition: vishorizonsectiondef.h:31
Definition: vishorizonsectiondef.h:31
const int cNumberNodePerTileSide
Definition: vishorizonsectiondef.h:26
const int cMaximumResolution
Definition: vishorizonsectiondef.h:27
const int cShouldRetesselate
Definition: vishorizonsectiondef.h:23
const int cMaxNrResolutions
Definition: vishorizonsectiondef.h:20
Definition: vishorizonsectiondef.h:31

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