 |
OpendTect
6.6
|
Go to the documentation of this file.
26 #if defined(visBase_EXPORTS) || defined(VISBASE_EXPORTS)
27 #include <osg/BoundingBox>
38 class DrawElementsUShort;
43 class HorizonSectionTilePosSetup;
45 class TileResolutionData;
46 class HorizonSectionTileGlue;
68 const Coord& opposite );
HorizonSectionTileGlue * righttileglue_
Definition: vishorizonsectiontile.h:139
bool updatenewpoint_
Definition: vishorizonsectiontile.h:163
Definition: vishorizonsectiontileglue.h:37
int tesselationqueueid_
Definition: vishorizonsectiontile.h:153
GeometryType
Definition: vishorizonsectiondef.h:30
const double sinanglexinl_
Definition: vishorizonsectiontile.h:170
bool getResolutionTextureCoordinates(TypeSet< Coord > &) const
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: vishortilescreatorandupdator.h:35
HorizonTileResolutionTesselator class is an independent usage for tesselating coordinates,...
Definition: vishorthreadworks.h:44
void applyTesselation(char res)
Should be called from rendering thread.
void ensureGlueTesselated()
bool getResolutionPrimitiveSet(char res, TypeSet< int > &, GeometryType) const
void computeNormal(int nmidx, osg::Vec3 &)
char getAutoResolution(const osg::CullStack *)
ObjectSet< TileResolutionData > & getResolutionData()
Definition: vishorizonsectiontile.h:72
void setTexture(const Coord &origin, const Coord &opposite)
Sets origin and opposite in global texture.
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:45
bool wireframedisplayed_
Definition: vishorizonsectiontile.h:145
void setNeighbor(int neighbor, HorizonSectionTile *)
The neighbor is numbered from 0 to 8.
osg::Vec2f txorigin_
Definition: vishorizonsectiontile.h:164
Set of pointers to objects.
Definition: commontypes.h:31
bool getResolutionCoordinates(TypeSet< Coord3 > &) const
void buildOsgGeometries()
char getActualResolution() const
Definition: arraytesselator.h:21
Definition: visannot.h:43
Definition: vishorizontexturehandler.h:33
void initTexCoordLayers()
Open Scene Graph.
Definition: visannot.h:29
const double cosanglexinl_
Definition: vishorizonsectiontile.h:170
void setWireframeColor(Color &color)
Definition: vishorthreadworks.h:101
double calcGradient(int row, int col, const StepInterval< int > &rcrange, bool isrow)
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
void setPos(int row, int col, const Coord3 &)
osg::BoundingBox bbox_
Definition: vishorizonsectiontile.h:142
osg::Array * normals_
Definition: vishorizonsectiontile.h:167
HorizonSectionTile(const visBase::HorizonSection &, const RowCol &origin)
bool getResolutionPrimitiveSet(TypeSet< int > &, GeometryType) const
A cartesian coordinate in 2D space.
Definition: coord.h:25
std::vector< osg::Array * > txcoords_
Definition: vishorizonsectiontile.h:166
TypeSet< int > txunits_
Definition: vishorizonsectiontile.h:158
void updatePrimitiveSets()
void addTileGlueTesselator()
Definition: vishorthreadworks.h:113
ObjectSet< TileResolutionData > tileresolutiondata_
Definition: vishorizonsectiontile.h:160
osg::StateSet * stateset_
Definition: vishorizonsectiontile.h:157
bool resolutionhaschanged_
Definition: vishorizonsectiontile.h:150
friend class TileCoordinatesUpdator
Definition: vishorizonsectiontile.h:124
osg::Array * osgvertices_
Definition: vishorizonsectiontile.h:168
bool getResolutionNormals(TypeSet< Coord3 > &) const
char desiredresolution_
Definition: vishorizonsectiontile.h:147
int nrdefinedvertices_
Definition: vishorizonsectiontile.h:148
HorizonSectionTile * neighbors_[9]
Definition: vishorizonsectiontile.h:137
void updateAutoResolution(const osg::CullStack *)
void setActualResolution(char)
HorizonSectionTileGlue * bottomtileglue_
Definition: vishorizonsectiontile.h:140
void enableGeometryTypeDisplay(GeometryType type, bool yn)
void addTileTesselator(int res)
Definition: vishorizonsection.h:51
const RowCol origin_
Definition: vishorizonsectiontile.h:143
Definition: vishortileresolutiondata.h:47
const HorizonSection & hrsection_
Definition: vishorizonsectiontile.h:144
IdxPair used for its row() and col().
Definition: rowcol.h:25
osg::Switch * osgswitchnode_
Definition: vishorizonsectiontile.h:161
void setNrTexCoordLayers(int nrlayers)
osg::Vec2f txoppsite_
Definition: vishorizonsectiontile.h:165
char glueneedsretesselation_
0 - updated, 1 - needs update, 2 - dont disp
Definition: vishorizonsectiontile.h:154
void setPositions(const TypeSet< Coord3 > &)
Threads::Mutex datalock_
Definition: vishorizonsectiontile.h:162
void tesselateResolution(char, bool onlyifabsness)
bool needsupdatebbox_
Definition: vishorizonsectiontile.h:151
Definition: vishorizonsectiontile.h:51
osg::Array * getNormals()
Definition: vishorizonsectiontile.h:112
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
osg::Array * getOsgVertexArray()
Definition: vishorizonsectiontile.h:113
const HorizonSectionTile * getNeighborTile(int idx) const
idx is bewteen 0 and 8
bool hasDefinedCoordinates(int idx) const
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021