OpendTect-6_4  6.4
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 setTexture (const unsigned int unit, osg::Array *arr, osg::StateSet *stateset)
 
void enableGeometryTypeDisplay (GeometryType type, bool yn)
 
bool tesselateResolution (bool onlyifabsness)
 
void updatePrimitiveSets ()
 
void setWireframeColor (Color &color)
 
void dirtyGeometry ()
 
const osg::PrimitiveSet * getPrimitiveSet (GeometryType) const
 
void setLineWidth (int)
 

Protected Attributes

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

Private Member Functions

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

Friends

class HorizonSectionTile
 
class HorizonSectionTileGlue
 

Constructor & Destructor Documentation

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

Member Function Documentation

void visBase::TileResolutionData::buildLineGeometry ( int  idx,
int  width 
)
private
void visBase::TileResolutionData::buildOsgGeometres ( )
private
void visBase::TileResolutionData::buildPointGeometry ( int  idx)
private
void visBase::TileResolutionData::buildTraingleGeometry ( int  idx)
private
void visBase::TileResolutionData::createPrimitiveSets ( )
private
bool visBase::TileResolutionData::detectIsolatedLine ( int  crdidx,
char  direction 
)
private
void visBase::TileResolutionData::dirtyGeometry ( )
void visBase::TileResolutionData::dirtyGeometry ( int  type)
private
void visBase::TileResolutionData::enableGeometryTypeDisplay ( GeometryType  type,
bool  yn 
)
const osg::PrimitiveSet* visBase::TileResolutionData::getPrimitiveSet ( GeometryType  ) const
void visBase::TileResolutionData::hideFromDisplay ( )
private
void visBase::TileResolutionData::refOsgPrimitiveSets ( )
private
void visBase::TileResolutionData::setGeometryTexture ( const unsigned int  unit,
const osg::Array *  arr,
osg::StateSet *  stateset,
int  geometrytype 
)
private
void visBase::TileResolutionData::setLineWidth ( int  )
void visBase::TileResolutionData::setPrimitiveSet ( unsigned  int,
osg::DrawElementsUShort *   
)
private
void visBase::TileResolutionData::setTexture ( const unsigned int  unit,
osg::Array *  arr,
osg::StateSet *  stateset 
)
void visBase::TileResolutionData::setWireframeColor ( Color color)
void visBase::TileResolutionData::tesselateCell ( int  row,
int  col 
)
private
bool visBase::TileResolutionData::tesselateResolution ( bool  onlyifabsness)
void visBase::TileResolutionData::unRefOsgPrimitiveSets ( )
private
void visBase::TileResolutionData::updatePrimitiveSets ( )

Friends And Related Function Documentation

friend class HorizonSectionTile
friend
friend class HorizonSectionTileGlue
friend

Member Data Documentation

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

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