OpendTect  6.6
Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
visBase::TileResolutionData Class Reference

Public Member Functions

 TileResolutionData (const HorizonSectionTile *, char resolution)
 
 ~TileResolutionData ()
 
void dirtyGeometry ()
 
void enableGeometryTypeDisplay (GeometryType type, bool yn)
 
const osg::PrimitiveSet * getPrimitiveSet (GeometryType) const
 
void setLineWidth (int)
 
void setTexture (const unsigned int unit, osg::Array *arr, osg::StateSet *stateset)
 
void setWireframeColor (Color &color)
 
bool tesselateResolution (bool onlyifabsness)
 
void updatePrimitiveSets ()
 

Protected Attributes

int dispgeometrytype_
 
osg::UserDataContainer * geodes_
 
osg::Array * linecolor_
 
osg::DrawElementsUShort * linesosgps_
 
osg::DrawElementsUShort * linesps_
 
bool needsetposition_
 
char needsretesselation_
 
const osg::Array * normals_
 
int nrverticesperside_
 
osg::Switch * osgswitch_
 
osg::Array * osgvertices_
 
osg::DrawElementsUShort * pointsosgps_
 
osg::DrawElementsUShort * pointsps_
 
char resolution_
 
const HorizonSectionTilesectile_
 
Threads::Mutex tesselatemutex_
 
osg::DrawElementsUShort * trianglesosgps_
 
osg::DrawElementsUShort * trianglesps_
 
bool updateprimitiveset_
 
osg::DrawElementsUShort * wireframesosgps_
 
osg::DrawElementsUShort * wireframesps_
 

Private Member Functions

void buildLineGeometry (int idx, int width)
 
void buildOsgGeometres ()
 
void buildPointGeometry (int idx)
 
void buildTraingleGeometry (int idx)
 
void createPrimitiveSets ()
 
bool detectIsolatedLine (int crdidx, char direction)
 
void dirtyGeometry (int type)
 
void hideFromDisplay ()
 
void refOsgPrimitiveSets ()
 
void setGeometryTexture (const unsigned int unit, const osg::Array *arr, osg::StateSet *stateset, int geometrytype)
 
void setPrimitiveSet (unsigned int, osg::DrawElementsUShort *)
 
void tesselateCell (int row, int col)
 
void unRefOsgPrimitiveSets ()
 

Friends

class HorizonSectionTile
 
class HorizonSectionTileGlue
 

Constructor & Destructor Documentation

◆ TileResolutionData()

visBase::TileResolutionData::TileResolutionData ( const HorizonSectionTile ,
char  resolution 
)

◆ ~TileResolutionData()

visBase::TileResolutionData::~TileResolutionData ( )

Member Function Documentation

◆ buildLineGeometry()

void visBase::TileResolutionData::buildLineGeometry ( int  idx,
int  width 
)
private

◆ buildOsgGeometres()

void visBase::TileResolutionData::buildOsgGeometres ( )
private

◆ buildPointGeometry()

void visBase::TileResolutionData::buildPointGeometry ( int  idx)
private

◆ buildTraingleGeometry()

void visBase::TileResolutionData::buildTraingleGeometry ( int  idx)
private

◆ createPrimitiveSets()

void visBase::TileResolutionData::createPrimitiveSets ( )
private

◆ detectIsolatedLine()

bool visBase::TileResolutionData::detectIsolatedLine ( int  crdidx,
char  direction 
)
private

◆ dirtyGeometry() [1/2]

void visBase::TileResolutionData::dirtyGeometry ( )

◆ dirtyGeometry() [2/2]

void visBase::TileResolutionData::dirtyGeometry ( int  type)
private

◆ enableGeometryTypeDisplay()

void visBase::TileResolutionData::enableGeometryTypeDisplay ( GeometryType  type,
bool  yn 
)

◆ getPrimitiveSet()

const osg::PrimitiveSet* visBase::TileResolutionData::getPrimitiveSet ( GeometryType  ) const

◆ hideFromDisplay()

void visBase::TileResolutionData::hideFromDisplay ( )
private

◆ refOsgPrimitiveSets()

void visBase::TileResolutionData::refOsgPrimitiveSets ( )
private

◆ setGeometryTexture()

void visBase::TileResolutionData::setGeometryTexture ( const unsigned int  unit,
const osg::Array *  arr,
osg::StateSet *  stateset,
int  geometrytype 
)
private

◆ setLineWidth()

void visBase::TileResolutionData::setLineWidth ( int  )

◆ setPrimitiveSet()

void visBase::TileResolutionData::setPrimitiveSet ( unsigned int  ,
osg::DrawElementsUShort *   
)
private

◆ setTexture()

void visBase::TileResolutionData::setTexture ( const unsigned int  unit,
osg::Array *  arr,
osg::StateSet *  stateset 
)

◆ setWireframeColor()

void visBase::TileResolutionData::setWireframeColor ( Color color)

◆ tesselateCell()

void visBase::TileResolutionData::tesselateCell ( int  row,
int  col 
)
private

◆ tesselateResolution()

bool visBase::TileResolutionData::tesselateResolution ( bool  onlyifabsness)

◆ unRefOsgPrimitiveSets()

void visBase::TileResolutionData::unRefOsgPrimitiveSets ( )
private

◆ updatePrimitiveSets()

void visBase::TileResolutionData::updatePrimitiveSets ( )

Friends And Related Function Documentation

◆ HorizonSectionTile

friend class HorizonSectionTile
friend

◆ HorizonSectionTileGlue

friend class HorizonSectionTileGlue
friend

Member Data Documentation

◆ dispgeometrytype_

int visBase::TileResolutionData::dispgeometrytype_
protected

◆ geodes_

osg::UserDataContainer* visBase::TileResolutionData::geodes_
protected

◆ linecolor_

osg::Array* visBase::TileResolutionData::linecolor_
protected

◆ linesosgps_

osg::DrawElementsUShort* visBase::TileResolutionData::linesosgps_
protected

◆ linesps_

osg::DrawElementsUShort* visBase::TileResolutionData::linesps_
protected

◆ needsetposition_

bool visBase::TileResolutionData::needsetposition_
protected

◆ needsretesselation_

char visBase::TileResolutionData::needsretesselation_
protected

◆ normals_

const osg::Array* visBase::TileResolutionData::normals_
protected

◆ nrverticesperside_

int visBase::TileResolutionData::nrverticesperside_
protected

◆ osgswitch_

osg::Switch* visBase::TileResolutionData::osgswitch_
protected

◆ osgvertices_

osg::Array* visBase::TileResolutionData::osgvertices_
protected

◆ pointsosgps_

osg::DrawElementsUShort* visBase::TileResolutionData::pointsosgps_
protected

◆ pointsps_

osg::DrawElementsUShort* visBase::TileResolutionData::pointsps_
protected

◆ resolution_

char visBase::TileResolutionData::resolution_
protected

◆ sectile_

const HorizonSectionTile* visBase::TileResolutionData::sectile_
protected

◆ tesselatemutex_

Threads::Mutex visBase::TileResolutionData::tesselatemutex_
protected

◆ trianglesosgps_

osg::DrawElementsUShort* visBase::TileResolutionData::trianglesosgps_
protected

◆ trianglesps_

osg::DrawElementsUShort* visBase::TileResolutionData::trianglesps_
protected

◆ updateprimitiveset_

bool visBase::TileResolutionData::updateprimitiveset_
protected

◆ wireframesosgps_

osg::DrawElementsUShort* visBase::TileResolutionData::wireframesosgps_
protected

◆ wireframesps_

osg::DrawElementsUShort* visBase::TileResolutionData::wireframesps_
protected

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