OpendTect-6_4  6.4
vishortilescreatorandupdator.h
Go to the documentation of this file.
1 #ifndef vishortilescreatorandupdator_h
2 #define vishortilescreatorandupdator_h
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 // this header file only be used in the classes related to Horzonsection .
13 // don't include it in somewhere else !!!
14 
15 #include "typeset.h"
16 #include "geomelement.h"
17 #include "rowcol.h"
18 #include "refcount.h"
19 #include "thread.h"
20 
21 
22 class TaskRunner;
23 
24 namespace osg
25 { class CullStack; }
26 
27 namespace osgGeo { class LayeredTexture; }
28 
29 namespace visBase
30 {
31  class HorizonSection;
32  class HorizonSectionTile;
33 
34 
37 public:
39 
40  void updateTiles(const TypeSet<GeomPosID>*,TaskRunner*);
41  void createAllTiles(TaskRunner* tr);
42  void updateTilesAutoResolution(const osg::CullStack* cs);
43  void updateTilesPrimitiveSets();
44  void setFixedResolution(char res, TaskRunner* tr);
45 
46 
47 protected:
48  void updateTileArray(const StepInterval<int>& rrg,
49  const StepInterval<int>& crg);
50  HorizonSectionTile* createOneTile(int tilerowidx, int tilecolidx);
51  void setNeighbors(HorizonSectionTile* tile, int tilerowidx,
52  int tilecolidx);
53 
54 
58 
59 
60 private:
61 };
62 
63 
64 
65 }
66 #endif
#define mRefCountImpl(ClassName)
Macro to setup a class with destructor for reference counting.
Definition: refcount.h:163
Definition: vishorizonsection.h:51
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Definition: vishortilescreatorandupdator.h:35
Class that can execute a task.
Definition: task.h:169
Is an alternative to Mutex. It is a lock which causes a thread trying to acquire it to simply wait in...
Definition: atomic.h:200
Threads::Mutex updatelock_
Definition: vishortilescreatorandupdator.h:57
Threads::SpinLock spinlock_
Definition: vishortilescreatorandupdator.h:56
Definition: vishorizonsectiontile.h:51
HorizonSection * horsection_
Definition: vishortilescreatorandupdator.h:55
Definition: visannot.h:43
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:43
Open Scene Graph.
Definition: visannot.h:29

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