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

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