1 #ifndef vishortileresolutiondata_h 2 #define vishortileresolutiondata_h 31 class UserDataContainer;
34 class DrawElementsUShort;
39 namespace osgGeo {
class LayeredTexture; }
43 class HorizonSectionTile;
44 class TextureChannels;
54 void setTexture(
const unsigned int unit,osg::Array* arr,
55 osg::StateSet* stateset);
56 void enableGeometryTypeDisplay(
GeometryType type,
bool yn);
58 bool tesselateResolution(
bool onlyifabsness);
59 void updatePrimitiveSets();
60 void setWireframeColor(
Color& color);
62 const osg::PrimitiveSet* getPrimitiveSet(
GeometryType)
const;
63 void setLineWidth(
int);
99 void buildOsgGeometres();
100 void setPrimitiveSet(
unsigned int,
101 osg::DrawElementsUShort*);
103 void tesselateCell(
int row,
int col);
104 void refOsgPrimitiveSets();
105 void unRefOsgPrimitiveSets();
106 void createPrimitiveSets();
107 void buildLineGeometry(
int idx,
int width);
108 void buildTraingleGeometry(
int idx);
109 void buildPointGeometry(
int idx);
110 void hideFromDisplay();
111 bool detectIsolatedLine(
int crdidx,
char direction);
112 void setGeometryTexture(
const unsigned int unit,
113 const osg::Array* arr,
114 osg::StateSet*stateset,
116 void dirtyGeometry(
int type);
Definition: vishorizonsectiontileglue.h:37
osg::Array * linecolor_
Definition: vishortileresolutiondata.h:76
osg::DrawElementsUShort * trianglesosgps_
Definition: vishortileresolutiondata.h:83
osg::DrawElementsUShort * pointsosgps_
Definition: vishortileresolutiondata.h:85
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
char resolution_
Definition: vishortileresolutiondata.h:92
bool updateprimitiveset_
Definition: vishortileresolutiondata.h:90
GeometryType
Definition: vishorizonsectiondef.h:31
osg::Switch * osgswitch_
Definition: vishortileresolutiondata.h:71
osg::DrawElementsUShort * linesps_
Definition: vishortileresolutiondata.h:79
osg::DrawElementsUShort * wireframesosgps_
Definition: vishortileresolutiondata.h:86
osg::DrawElementsUShort * trianglesps_
Definition: vishortileresolutiondata.h:78
Definition: vishortileresolutiondata.h:37
Definition: vishorizonsectiontile.h:51
int nrverticesperside_
Definition: vishortileresolutiondata.h:93
char needsretesselation_
Definition: vishortileresolutiondata.h:91
Definition: visannot.h:43
bool needsetposition_
Definition: vishortileresolutiondata.h:94
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:43
osg::DrawElementsUShort * linesosgps_
Definition: vishortileresolutiondata.h:84
Open Scene Graph.
Definition: visannot.h:29
const osg::Array * normals_
Definition: vishortileresolutiondata.h:75
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
int dispgeometrytype_
Definition: vishortileresolutiondata.h:95
osg::Array * osgvertices_
Definition: vishortileresolutiondata.h:74
TrcKeyZSampling::Dir direction(TrcKeyZSampling::Dir slctype, int dimnr)
Definition: trckeyzsampling.h:139
osg::DrawElementsUShort * pointsps_
Definition: vishortileresolutiondata.h:80
Definition: vishortileresolutiondata.h:47
Definition: arraytesselator.h:21
const HorizonSectionTile * sectile_
Definition: vishortileresolutiondata.h:70
osg::DrawElementsUShort * wireframesps_
Definition: vishortileresolutiondata.h:81
osg::UserDataContainer * geodes_
Definition: vishortileresolutiondata.h:72
Threads::Mutex tesselatemutex_
Definition: vishortileresolutiondata.h:88