OpendTect
7.0
|
Public Member Functions | |
HorizonSectionTile (const visBase::HorizonSection &, const RowCol &origin) | |
~HorizonSectionTile () | |
void | addTileGlueTesselator () |
void | addTileTesselator (int res) |
void | applyTesselation (char res) |
Should be called from rendering thread. More... | |
void | ensureGlueTesselated () |
char | getActualResolution () const |
ObjectSet< TileResolutionData > & | getResolutionData () |
void | setLineWidth (int) |
void | setPos (int row, int col, const Coord3 &) |
void | setPositions (const TypeSet< Coord3 > &) |
void | setTexture (const Coord &origin, const Coord &opposite) |
Sets origin and opposite in global texture. More... | |
void | setWireframeColor (OD::Color &color) |
void | tesselateResolution (char, bool onlyifabsness) |
void | turnOnGlue (bool) |
void | updateAutoResolution (const osg::CullStack *) |
Protected Member Functions | |
void | buildOsgGeometries () |
double | calcGradient (int row, int col, const StepInterval< int > &rcrange, bool isrow) |
void | computeNormal (int nmidx, osg::Vec3 &) |
void | dirtyGeometry () |
void | enableGeometryTypeDisplay (GeometryType type, bool yn) |
char | getAutoResolution (const osg::CullStack *) |
const HorizonSectionTile * | getNeighborTile (int idx) const |
idx is bewteen 0 and 8 More... | |
osg::Array * | getNormals () |
osg::Array * | getOsgVertexArray () |
bool | getResolutionCoordinates (TypeSet< Coord3 > &) const |
bool | getResolutionNormals (TypeSet< Coord3 > &) const |
bool | getResolutionPrimitiveSet (char res, TypeSet< int > &, GeometryType) const |
bool | getResolutionTextureCoordinates (TypeSet< Coord > &) const |
bool | hasDefinedCoordinates (int idx) const |
void | initTexCoordLayers () |
void | initvertices () |
void | setActualResolution (char) |
void | setNeighbor (int neighbor, HorizonSectionTile *) |
The neighbor is numbered from 0 to 8. More... | |
void | setNrTexCoordLayers (int nrlayers) |
void | setResolution (char) |
void | updateBBox () |
void | updatePrimitiveSets () |
Protected Attributes | |
osg::BoundingBox | bbox_ |
HorizonSectionTileGlue * | bottomtileglue_ |
const double | cosanglexinl_ |
Threads::Mutex | datalock_ |
char | desiredresolution_ |
char | glueneedsretesselation_ |
0 - updated, 1 - needs update, 2 - dont disp More... | |
const HorizonSection & | hrsection_ |
bool | needsupdatebbox_ |
HorizonSectionTile * | neighbors_ [9] |
osg::Array * | normals_ |
int | nrdefinedvertices_ |
const RowCol | origin_ |
osg::Switch * | osgswitchnode_ |
osg::Array * | osgvertices_ |
bool | resolutionhaschanged_ |
HorizonSectionTileGlue * | righttileglue_ |
const double | sinanglexinl_ |
osg::StateSet * | stateset_ |
int | tesselationqueueid_ |
ObjectSet< TileResolutionData > | tileresolutiondata_ |
std::vector< osg::Array * > | txcoords_ |
osg::Vec2f | txoppsite_ |
osg::Vec2f | txorigin_ |
TypeSet< int > | txunits_ |
bool | updatenewpoint_ |
bool | wireframedisplayed_ |
Friends | |
class | HorizonSection |
class | HorizonSectionTileGlue |
class | HorizonSectionTilePosSetup |
class | HorizonTextureHandler |
class | HorizonTileResolutionTesselator |
class | HorTilesCreatorAndUpdator |
class | TileCoordinatesUpdator |
class | TileResolutionData |
class | TileTesselator |
Additional Inherited Members | |
Private Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Static Private Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
visBase::HorizonSectionTile::HorizonSectionTile | ( | const visBase::HorizonSection & | , |
const RowCol & | origin | ||
) |
visBase::HorizonSectionTile::~HorizonSectionTile | ( | ) |
void visBase::HorizonSectionTile::addTileGlueTesselator | ( | ) |
void visBase::HorizonSectionTile::addTileTesselator | ( | int | res | ) |
void visBase::HorizonSectionTile::applyTesselation | ( | char | res | ) |
Should be called from rendering thread.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
type 0 is triangle,1 is line, 2 is point, 3 is wire frame
void visBase::HorizonSectionTile::ensureGlueTesselated | ( | ) |
char visBase::HorizonSectionTile::getActualResolution | ( | ) | const |
|
protected |
|
protected |
idx is bewteen 0 and 8
|
inlineprotected |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
protected |
idx is the index of coordinates in the highest resolution vertices.
|
protected |
|
protected |
|
protected |
void visBase::HorizonSectionTile::setLineWidth | ( | int | ) |
|
protected |
The neighbor is numbered from 0 to 8.
|
protected |
void visBase::HorizonSectionTile::setPos | ( | int | row, |
int | col, | ||
const Coord3 & | |||
) |
|
protected |
Resolution -1 means it is automatic.
Sets origin and opposite in global texture.
void visBase::HorizonSectionTile::setWireframeColor | ( | OD::Color & | color | ) |
void visBase::HorizonSectionTile::tesselateResolution | ( | char | , |
bool | onlyifabsness | ||
) |
void visBase::HorizonSectionTile::turnOnGlue | ( | bool | ) |
void visBase::HorizonSectionTile::updateAutoResolution | ( | const osg::CullStack * | ) |
|
protected |
|
protected |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
0 - updated, 1 - needs update, 2 - dont disp
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024