OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Geometry::ExplFaultStickSurface Class Reference
Inheritance diagram for Geometry::ExplFaultStickSurface:
[legend]

Public Types

enum  TriProjection { None =0 , Inline =1 , Crossline =2 , ZSlice =3 }
 

Public Member Functions

 ExplFaultStickSurface (FaultStickSurface *, float zscale=mUdf(float))
 
 ~ExplFaultStickSurface ()
 
void addToGeometries (IndexedGeometry *)
 
bool arePanelsDisplayed () const
 
bool areSticksDisplayed () const
 
bool createsNormals () const
 
bool createsTextureCoords () const
 
void display (bool sticks, bool panels)
 
const BinIDValue getBinIDValue ()
 
FaultStickSurface * getSurface ()
 
const FaultStickSurface * getSurface () const
 
bool getTexturePositions (DataPointSet &, int id, TaskRunner *)
 
bool getTexturePositions (DataPointSet &, TaskRunner *)
 
const RowCol & getTextureSize () const
 
bool needsUpdate () const
 
bool needsUpdateTexture () const
 
void needUpdateTexture (bool yn)
 
void removeFromGeometries (const IndexedGeometry *)
 
void setMaximumTextureSize (int)
 
void setSceneIdx (int idx)
 
void setSurface (FaultStickSurface *)
 
void setTexturePowerOfTwo (bool yn)
 
void setTextureSampling (const BinIDValue &)
 
void setZScale (float)
 
TriProjection triangulateAlg () const
 
void triangulateAlg (TriProjection)
 
bool update (bool forceall, TaskRunner *)
 
- Public Member Functions inherited from Geometry::IndexedShape
virtual ~IndexedShape ()
 
Coord3List * coordList ()
 
const Coord3List * coordList () const
 
ObjectSet< IndexedGeometry > & getGeometry ()
 
const ObjectSet< IndexedGeometry > & getGeometry () const
 
int getVersion () const
 
Coord3List * normalCoordList ()
 
const Coord3List * normalCoordList () const
 
virtual void setCoordList (Coord3List *cl, Coord3List *nl=0, Coord3List *texturecoords=0, bool createnew=true)
 
virtual void setRightHandedNormals (bool)
 
Coord3List * textureCoordList ()
 
const Coord3List * textureCoordList () const
 
- Public 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
 

Static Public Member Functions

static const char * sKeyTextureI ()
 
static const char * sKeyTextureJ ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void addTriangle (IndexedGeometry *, int a, int b, int c)
 
void emptyPanel (int panelidx)
 
void emptyStick (int stickidx)
 
void fillPanel (int panelidx)
 
void fillStick (int stickidx)
 
float getAvgDistance (int stickidx, const TypeSet< int > &shift, int extra) const
 
Coord3 getCoord (int stickidx, int texturerow) const
 
void insertAll ()
 
void insertPanel (int panelidx)
 
void insertStick (int stickidx)
 
int point2LineSampleSz (const Coord3 &point, const Coord3 &linept0, const Coord3 &linept1)
 
void removeAll (bool)
 
void removePanel (int panelidx)
 
void removeStick (int stickidx)
 
bool reTriangulateSurface ()
 
int sampleSize (const Coord3 &p0, const Coord3 &p1)
 
bool setProjTexturePositions (DataPointSet &dpset, int id=-1)
 
void shiftStick (int stickidx, int nrunits)
 
void surfaceChange (CallBacker *)
 
void surfaceMovement (CallBacker *)
 
int textureColSz (const int panelidx)
 
void updateStickShifting ()
 
void updateTextureCoords ()
 
bool updateTextureSize ()
 
- Protected Member Functions inherited from Geometry::IndexedShape
 IndexedShape ()
 
void addVersion ()
 

Protected Attributes

bool displaypanels_
 
bool displaysticks_
 
int maximumtexturesize_
 
bool needsupdate_
 
bool needsupdatetexture_
 
ObjectSet< IndexedGeometry > panellines_
 
ObjectSet< IndexedGeometry > paneltriangles_
 
Coord3 scalefacs_
 
int sceneidx_
 
ObjectSet< IndexedGeometry > sticks_
 
FaultStickSurface * surface_
 
TypeSet< int > texturecolcoords_
 
ObjectSet< TypeSet< int > > textureknotcoords_
 
bool texturepot_
 
BinIDValue texturesampling_
 
RowCol texturesize_
 
TriProjection trialg_
 
- Protected Attributes inherited from Geometry::IndexedShape
Coord3List * coordlist_
 
ObjectSet< IndexedGeometry > geometries_
 
Threads::Lock geometrieslock_
 
Coord3List * normallist_
 
bool righthandednormals_
 
Coord3List * texturecoordlist_
 

Friends

class ExplFaultStickSurfaceUpdater
 
class ExplFaultStickTexturePositionExtracter
 

Detailed Description

<>

Member Enumeration Documentation

◆ TriProjection

Enumerator
None 
Inline 
Crossline 
ZSlice 

Constructor & Destructor Documentation

◆ ExplFaultStickSurface()

Geometry::ExplFaultStickSurface::ExplFaultStickSurface ( FaultStickSurface *  ,
float  zscale = mUdf(float) 
)

◆ ~ExplFaultStickSurface()

Geometry::ExplFaultStickSurface::~ExplFaultStickSurface ( )

Member Function Documentation

◆ addToGeometries()

void Geometry::ExplFaultStickSurface::addToGeometries ( IndexedGeometry *  )

◆ addTriangle()

void Geometry::ExplFaultStickSurface::addTriangle ( IndexedGeometry *  ,
int  a,
int  b,
int  c 
)
protected

◆ arePanelsDisplayed()

bool Geometry::ExplFaultStickSurface::arePanelsDisplayed ( ) const
inline

◆ areSticksDisplayed()

bool Geometry::ExplFaultStickSurface::areSticksDisplayed ( ) const
inline

◆ createsNormals()

bool Geometry::ExplFaultStickSurface::createsNormals ( ) const
inlinevirtual

Reimplemented from Geometry::IndexedShape.

◆ createsTextureCoords()

bool Geometry::ExplFaultStickSurface::createsTextureCoords ( ) const
inlinevirtual

Reimplemented from Geometry::IndexedShape.

◆ display()

void Geometry::ExplFaultStickSurface::display ( bool  sticks,
bool  panels 
)

◆ emptyPanel()

void Geometry::ExplFaultStickSurface::emptyPanel ( int  panelidx)
protected

◆ emptyStick()

void Geometry::ExplFaultStickSurface::emptyStick ( int  stickidx)
protected

◆ fillPanel()

void Geometry::ExplFaultStickSurface::fillPanel ( int  panelidx)
protected

◆ fillStick()

void Geometry::ExplFaultStickSurface::fillStick ( int  stickidx)
protected

◆ getAvgDistance()

float Geometry::ExplFaultStickSurface::getAvgDistance ( int  stickidx,
const TypeSet< int > &  shift,
int  extra 
) const
protected

◆ getBinIDValue()

const BinIDValue Geometry::ExplFaultStickSurface::getBinIDValue ( )
inline

◆ getCoord()

Coord3 Geometry::ExplFaultStickSurface::getCoord ( int  stickidx,
int  texturerow 
) const
protected

◆ getSurface() [1/2]

FaultStickSurface* Geometry::ExplFaultStickSurface::getSurface ( )
inline

◆ getSurface() [2/2]

const FaultStickSurface* Geometry::ExplFaultStickSurface::getSurface ( ) const
inline

◆ getTexturePositions() [1/2]

bool Geometry::ExplFaultStickSurface::getTexturePositions ( DataPointSet &  ,
int  id,
TaskRunner *   
)

◆ getTexturePositions() [2/2]

bool Geometry::ExplFaultStickSurface::getTexturePositions ( DataPointSet &  ,
TaskRunner *   
)

◆ getTextureSize()

const RowCol& Geometry::ExplFaultStickSurface::getTextureSize ( ) const

◆ insertAll()

void Geometry::ExplFaultStickSurface::insertAll ( )
protected

◆ insertPanel()

void Geometry::ExplFaultStickSurface::insertPanel ( int  panelidx)
protected

◆ insertStick()

void Geometry::ExplFaultStickSurface::insertStick ( int  stickidx)
protected

◆ needsUpdate()

bool Geometry::ExplFaultStickSurface::needsUpdate ( ) const
inlinevirtual

Reimplemented from Geometry::IndexedShape.

◆ needsUpdateTexture()

bool Geometry::ExplFaultStickSurface::needsUpdateTexture ( ) const

◆ needUpdateTexture()

void Geometry::ExplFaultStickSurface::needUpdateTexture ( bool  yn)

◆ point2LineSampleSz()

int Geometry::ExplFaultStickSurface::point2LineSampleSz ( const Coord3 &  point,
const Coord3 &  linept0,
const Coord3 &  linept1 
)
protected

◆ removeAll()

void Geometry::ExplFaultStickSurface::removeAll ( bool  deep)
protectedvirtual

deep will remove all things from lists (coords,normals++). Non-deep will just leave them there

Reimplemented from Geometry::IndexedShape.

◆ removeFromGeometries()

void Geometry::ExplFaultStickSurface::removeFromGeometries ( const IndexedGeometry *  )

◆ removePanel()

void Geometry::ExplFaultStickSurface::removePanel ( int  panelidx)
protected

◆ removeStick()

void Geometry::ExplFaultStickSurface::removeStick ( int  stickidx)
protected

◆ reTriangulateSurface()

bool Geometry::ExplFaultStickSurface::reTriangulateSurface ( )
protected

◆ sampleSize()

int Geometry::ExplFaultStickSurface::sampleSize ( const Coord3 &  p0,
const Coord3 &  p1 
)
protected

◆ setMaximumTextureSize()

void Geometry::ExplFaultStickSurface::setMaximumTextureSize ( int  )

◆ setProjTexturePositions()

bool Geometry::ExplFaultStickSurface::setProjTexturePositions ( DataPointSet &  dpset,
int  id = -1 
)
protected

◆ setSceneIdx()

void Geometry::ExplFaultStickSurface::setSceneIdx ( int  idx)
inline

◆ setSurface()

void Geometry::ExplFaultStickSurface::setSurface ( FaultStickSurface *  )

◆ setTexturePowerOfTwo()

void Geometry::ExplFaultStickSurface::setTexturePowerOfTwo ( bool  yn)

◆ setTextureSampling()

void Geometry::ExplFaultStickSurface::setTextureSampling ( const BinIDValue &  )

◆ setZScale()

void Geometry::ExplFaultStickSurface::setZScale ( float  )

◆ shiftStick()

void Geometry::ExplFaultStickSurface::shiftStick ( int  stickidx,
int  nrunits 
)
protected

◆ sKeyTextureI()

static const char* Geometry::ExplFaultStickSurface::sKeyTextureI ( )
inlinestatic

◆ sKeyTextureJ()

static const char* Geometry::ExplFaultStickSurface::sKeyTextureJ ( )
inlinestatic

◆ surfaceChange()

void Geometry::ExplFaultStickSurface::surfaceChange ( CallBacker *  )
protected

◆ surfaceMovement()

void Geometry::ExplFaultStickSurface::surfaceMovement ( CallBacker *  )
protected

◆ textureColSz()

int Geometry::ExplFaultStickSurface::textureColSz ( const int  panelidx)
protected

◆ triangulateAlg() [1/2]

TriProjection Geometry::ExplFaultStickSurface::triangulateAlg ( ) const
inline

◆ triangulateAlg() [2/2]

void Geometry::ExplFaultStickSurface::triangulateAlg ( TriProjection  )

◆ update()

bool Geometry::ExplFaultStickSurface::update ( bool  forceall,
TaskRunner *   
)
virtual

Reimplemented from Geometry::IndexedShape.

◆ updateStickShifting()

void Geometry::ExplFaultStickSurface::updateStickShifting ( )
protected

◆ updateTextureCoords()

void Geometry::ExplFaultStickSurface::updateTextureCoords ( )
protected

◆ updateTextureSize()

bool Geometry::ExplFaultStickSurface::updateTextureSize ( )
protected

Friends And Related Function Documentation

◆ ExplFaultStickSurfaceUpdater

friend class ExplFaultStickSurfaceUpdater
friend

◆ ExplFaultStickTexturePositionExtracter

friend class ExplFaultStickTexturePositionExtracter
friend

Member Data Documentation

◆ displaypanels_

bool Geometry::ExplFaultStickSurface::displaypanels_
protected

◆ displaysticks_

bool Geometry::ExplFaultStickSurface::displaysticks_
protected

◆ maximumtexturesize_

int Geometry::ExplFaultStickSurface::maximumtexturesize_
protected

◆ needsupdate_

bool Geometry::ExplFaultStickSurface::needsupdate_
protected

◆ needsupdatetexture_

bool Geometry::ExplFaultStickSurface::needsupdatetexture_
protected

◆ panellines_

ObjectSet<IndexedGeometry> Geometry::ExplFaultStickSurface::panellines_
protected

◆ paneltriangles_

ObjectSet<IndexedGeometry> Geometry::ExplFaultStickSurface::paneltriangles_
protected

◆ scalefacs_

Coord3 Geometry::ExplFaultStickSurface::scalefacs_
protected

◆ sceneidx_

int Geometry::ExplFaultStickSurface::sceneidx_
protected

◆ sticks_

ObjectSet<IndexedGeometry> Geometry::ExplFaultStickSurface::sticks_
protected

◆ surface_

FaultStickSurface* Geometry::ExplFaultStickSurface::surface_
protected

◆ texturecolcoords_

TypeSet<int> Geometry::ExplFaultStickSurface::texturecolcoords_
protected

◆ textureknotcoords_

ObjectSet< TypeSet<int> > Geometry::ExplFaultStickSurface::textureknotcoords_
protected

◆ texturepot_

bool Geometry::ExplFaultStickSurface::texturepot_
protected

◆ texturesampling_

BinIDValue Geometry::ExplFaultStickSurface::texturesampling_
protected

◆ texturesize_

RowCol Geometry::ExplFaultStickSurface::texturesize_
protected

◆ trialg_

TriProjection Geometry::ExplFaultStickSurface::trialg_
protected

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