OpendTect  6.3
vishortilescreatorandupdator.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: Kristofer Tingdahl
7  Date: March 2009
8 ________________________________________________________________________
9 -*/
10 // this header file only be used in the classes related to Horzonsection .
11 // don't include it in somewhere else !!!
12 
13 #include "visbasecommon.h"
14 #include "typeset.h"
15 #include "geomelement.h"
16 #include "rowcol.h"
17 #include "refcount.h"
18 #include "thread.h"
19 
20 namespace osg { class CullStack; }
21 namespace osgGeo { class LayeredTexture; }
22 
23 
24 namespace visBase
25 {
26 
27 class HorizonSection;
28 class HorizonSectionTile;
29 
30 
31 class HorTilesCreatorAndUpdator : public RefCount::Referenced
32 {
33 public:
35 
36  void updateTiles(const TypeSet<GeomPosID>*,TaskRunner*);
37  void createAllTiles(TaskRunner* tskr);
38  void updateTilesAutoResolution(const osg::CullStack* cs);
39  void updateTilesPrimitiveSets();
40  void setFixedResolution(char res, TaskRunner* tskr);
41 
42 
43 protected:
44 
46  void updateTileArray(const StepInterval<int>& rrg,
47  const StepInterval<int>& crg);
48  HorizonSectionTile* createOneTile(int tilerowidx, int tilecolidx);
49  void setNeighbors(HorizonSectionTile* tile, int tilerowidx,
50  int tilecolidx);
51 
55 
56 };
57 
58 
59 
60 }
Definition: vishorizonsection.h:45
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:35
Definition: vishortilescreatorandupdator.h:31
Class that can execute a task.
Definition: task.h:193
Is an alternative to Mutex. It is a lock which causes a thread trying to acquire it to simply wait in...
Definition: atomic.h:130
Threads::Mutex updatelock_
Definition: vishortilescreatorandupdator.h:54
Threads::SpinLock spinlock_
Definition: vishortilescreatorandupdator.h:53
Definition: vishorizonsectiontile.h:49
HorizonSection * horsection_
Definition: vishortilescreatorandupdator.h:52
Definition: visannot.h:40
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:43
Open Scene Graph.
Definition: visannot.h:26

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