OpendTect  6.3
vishorizonsectiontileglue.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 // this header file only be used in the classes related to Horizonsection .
14 // don't include it in somewhere else !!!
15 
16 #include "visdata.h"
17 #include "typeset.h"
18 #include "thread.h"
19 
20 
21 namespace osg
22 {
23  class Geometry;
24  class Geode;
25  class Array;
26  class DrawElementsUShort;
27 }
28 
29 
30 namespace visBase
31 {
32  class HorizonSectionTile;
33  class Coordinates;
34 
36 {
37 public:
40  void buildGlue(HorizonSectionTile*,
41  HorizonSectionTile*,bool);
42  osg::Geode* getGeode() { return gluegeode_; }
43  void setDisplayTransformation(const mVisTrans*);
44 
45 protected:
48  std::vector<osg::Array*> gluetxcoords_;
49  osg::Geode* gluegeode_;
51  osg::DrawElementsUShort* glueps_;
52  osg::DrawElementsUShort* glueosgps_;
53 
55 
57 
58  void buildOsgGeometry();
59  void addGlueTrianglePrimitiveSet(TypeSet<int>&);
60  void removeGlue();
61  void setNrTexCoordLayers(int);
62 };
63 
64 }
osg::DrawElementsUShort * glueosgps_
Definition: vishorizonsectiontileglue.h:52
Definition: vishorizonsectiontileglue.h:35
osg::Geometry * gluegeom_
Definition: vishorizonsectiontileglue.h:50
osg::DrawElementsUShort * glueps_
Definition: vishorizonsectiontileglue.h:51
osg::Geode * gluegeode_
Definition: vishorizonsectiontileglue.h:49
std::vector< osg::Array * > gluetxcoords_
Definition: vishorizonsectiontileglue.h:48
#define mVisTrans
Definition: visdata.h:25
Definition: vishorizonsectiontile.h:49
A set of coordinates. The coordinates will be transformed by the transformation before given to Coin...
Definition: viscoord.h:45
Definition: visannot.h:40
Threads::Mutex datalock_
Definition: vishorizonsectiontileglue.h:54
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:43
const visBase::Transformation * transformation_
Definition: vishorizonsectiontileglue.h:56
visBase::Coordinates * gluenormalarr_
Definition: vishorizonsectiontileglue.h:47
Open Scene Graph.
Definition: visannot.h:26
visBase::Coordinates * gluevtexarr_
Definition: vishorizonsectiontileglue.h:46
Definition: arraytesselator.h:19
osg::Geode * getGeode()
Definition: vishorizonsectiontileglue.h:42
FixedString Geometry()
Definition: keystrs.h:68

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