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

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