OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
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();\
49 
GeometryType
GeometryType
Definition: vishorizonsectiondef.h:30
cShouldRetesselate
const int cShouldRetesselate
Definition: vishorizonsectiondef.h:22
cNoneResolution
const char cNoneResolution
Definition: vishorizonsectiondef.h:28
Point
@ Point
Definition: vishorizonsectiondef.h:30
cMinInitialTimes
const int cMinInitialTimes
Definition: vishorizonsectiondef.h:27
cMaximumResolution
const int cMaximumResolution
Definition: vishorizonsectiondef.h:26
cNumberNodePerTileSide
const int cNumberNodePerTileSide
Definition: vishorizonsectiondef.h:25
Triangle
@ Triangle
Definition: vishorizonsectiondef.h:30
cMustRetesselate
const int cMustRetesselate
Definition: vishorizonsectiondef.h:23
WireFrame
@ WireFrame
Definition: vishorizonsectiondef.h:30
Line
@ Line
Definition: vishorizonsectiondef.h:30
cMaxNrResolutions
const int cMaxNrResolutions
Definition: vishorizonsectiondef.h:19
cNoTesselationNeeded
const int cNoTesselationNeeded
Definition: vishorizonsectiondef.h:21

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