OpendTect-6_4  6.4
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 setSceneIdx (int idx)
 
bool needsUpdate () const
 
 mDeclareEnumUtils (TriProjection)
 
TriProjection triangulateAlg () const
 
void triangulateAlg (TriProjection)
 
void setSurface (FaultStickSurface *)
 
FaultStickSurfacegetSurface ()
 
const FaultStickSurfacegetSurface () const
 
void setZScale (float)
 
void display (bool sticks, bool panels)
 
bool areSticksDisplayed () const
 
bool arePanelsDisplayed () const
 
bool createsNormals () const
 
bool createsTextureCoords () const
 
void setMaximumTextureSize (int)
 
void setTexturePowerOfTwo (bool yn)
 
void setTextureSampling (const BinIDValue &)
 
const RowColgetTextureSize () const
 
void needUpdateTexture (bool yn)
 
bool needsUpdateTexture () const
 
bool update (bool forceall, TaskRunner *)
 
void addToGeometries (IndexedGeometry *)
 
void removeFromGeometries (const IndexedGeometry *)
 
bool getTexturePositions (DataPointSet &, TaskRunner *)
 
const BinIDValue getBinIDValue ()
 
bool getTexturePositions (DataPointSet &, int id, TaskRunner *)
 
- Public Member Functions inherited from Geometry::IndexedShape
virtual ~IndexedShape ()
 
virtual void setCoordList (Coord3List *cl, Coord3List *nl=0, Coord3List *texturecoords=0, bool createnew=true)
 
virtual void setRightHandedNormals (bool)
 
const ObjectSet< IndexedGeometry > & getGeometry () const
 
ObjectSet< IndexedGeometry > & getGeometry ()
 
const Coord3ListcoordList () const
 
Coord3ListcoordList ()
 
const Coord3ListnormalCoordList () const
 
Coord3ListnormalCoordList ()
 
const Coord3ListtextureCoordList () const
 
Coord3ListtextureCoordList ()
 
int getVersion () const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static const char * sKeyTextureI ()
 
static const char * sKeyTextureJ ()
 

Protected Member Functions

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

Protected Attributes

bool displaysticks_
 
bool displaypanels_
 
FaultStickSurfacesurface_
 
Coord3 scalefacs_
 
int sceneidx_
 
bool needsupdate_
 
bool needsupdatetexture_
 
TriProjection trialg_
 
ObjectSet< IndexedGeometrysticks_
 
ObjectSet< IndexedGeometrypaneltriangles_
 
ObjectSet< IndexedGeometrypanellines_
 
TypeSet< int > texturecolcoords_
 
ObjectSet< TypeSet< int > > textureknotcoords_
 
int maximumtexturesize_
 
RowCol texturesize_
 
bool texturepot_
 
BinIDValue texturesampling_
 
- Protected Attributes inherited from Geometry::IndexedShape
Threads::Lock geometrieslock_
 
ObjectSet< IndexedGeometrygeometries_
 
Coord3Listcoordlist_
 
Coord3Listnormallist_
 
Coord3Listtexturecoordlist_
 
bool righthandednormals_
 

Friends

class ExplFaultStickSurfaceUpdater
 
class ExplFaultStickTexturePositionExtracter
 

Detailed Description

Member Enumeration Documentation

Enumerator
None 
Inline 
Crossline 
ZSlice 

Constructor & Destructor Documentation

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

Member Function Documentation

void Geometry::ExplFaultStickSurface::addToGeometries ( IndexedGeometry )
void Geometry::ExplFaultStickSurface::addTriangle ( IndexedGeometry ,
int  a,
int  b,
int  c 
)
protected
bool Geometry::ExplFaultStickSurface::arePanelsDisplayed ( ) const
inline
bool Geometry::ExplFaultStickSurface::areSticksDisplayed ( ) const
inline
bool Geometry::ExplFaultStickSurface::createsNormals ( ) const
inlinevirtual

Reimplemented from Geometry::IndexedShape.

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

Reimplemented from Geometry::IndexedShape.

void Geometry::ExplFaultStickSurface::display ( bool  sticks,
bool  panels 
)
void Geometry::ExplFaultStickSurface::emptyPanel ( int  panelidx)
protected
void Geometry::ExplFaultStickSurface::emptyStick ( int  stickidx)
protected
void Geometry::ExplFaultStickSurface::fillPanel ( int  panelidx)
protected
void Geometry::ExplFaultStickSurface::fillStick ( int  stickidx)
protected
float Geometry::ExplFaultStickSurface::getAvgDistance ( int  stickidx,
const TypeSet< int > &  shift,
int  extra 
) const
protected
const BinIDValue Geometry::ExplFaultStickSurface::getBinIDValue ( )
inline
Coord3 Geometry::ExplFaultStickSurface::getCoord ( int  stickidx,
int  texturerow 
) const
protected
FaultStickSurface* Geometry::ExplFaultStickSurface::getSurface ( )
inline
const FaultStickSurface* Geometry::ExplFaultStickSurface::getSurface ( ) const
inline
bool Geometry::ExplFaultStickSurface::getTexturePositions ( DataPointSet ,
TaskRunner  
)
bool Geometry::ExplFaultStickSurface::getTexturePositions ( DataPointSet ,
int  id,
TaskRunner  
)
const RowCol& Geometry::ExplFaultStickSurface::getTextureSize ( ) const
void Geometry::ExplFaultStickSurface::insertAll ( )
protected
void Geometry::ExplFaultStickSurface::insertPanel ( int  panelidx)
protected
void Geometry::ExplFaultStickSurface::insertStick ( int  stickidx)
protected
Geometry::ExplFaultStickSurface::mDeclareEnumUtils ( TriProjection  )
bool Geometry::ExplFaultStickSurface::needsUpdate ( ) const
inlinevirtual

Reimplemented from Geometry::IndexedShape.

bool Geometry::ExplFaultStickSurface::needsUpdateTexture ( ) const
void Geometry::ExplFaultStickSurface::needUpdateTexture ( bool  yn)
int Geometry::ExplFaultStickSurface::point2LineSampleSz ( const Coord3 point,
const Coord3 linept0,
const Coord3 linept1 
)
protected
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.

void Geometry::ExplFaultStickSurface::removeFromGeometries ( const IndexedGeometry )
void Geometry::ExplFaultStickSurface::removePanel ( int  panelidx)
protected
void Geometry::ExplFaultStickSurface::removeStick ( int  stickidx)
protected
bool Geometry::ExplFaultStickSurface::reTriangulateSurface ( )
protected
int Geometry::ExplFaultStickSurface::sampleSize ( const Coord3 p0,
const Coord3 p1 
)
protected
void Geometry::ExplFaultStickSurface::setMaximumTextureSize ( int  )
bool Geometry::ExplFaultStickSurface::setProjTexturePositions ( DataPointSet dpset,
int  id = -1 
)
protected
void Geometry::ExplFaultStickSurface::setSceneIdx ( int  idx)
inline
void Geometry::ExplFaultStickSurface::setSurface ( FaultStickSurface )
void Geometry::ExplFaultStickSurface::setTexturePowerOfTwo ( bool  yn)
void Geometry::ExplFaultStickSurface::setTextureSampling ( const BinIDValue )
void Geometry::ExplFaultStickSurface::setZScale ( float  )
void Geometry::ExplFaultStickSurface::shiftStick ( int  stickidx,
int  nrunits 
)
protected
static const char* Geometry::ExplFaultStickSurface::sKeyTextureI ( )
inlinestatic
static const char* Geometry::ExplFaultStickSurface::sKeyTextureJ ( )
inlinestatic
void Geometry::ExplFaultStickSurface::surfaceChange ( CallBacker )
protected
void Geometry::ExplFaultStickSurface::surfaceMovement ( CallBacker )
protected
int Geometry::ExplFaultStickSurface::textureColSz ( const int  panelidx)
protected
TriProjection Geometry::ExplFaultStickSurface::triangulateAlg ( ) const
inline
void Geometry::ExplFaultStickSurface::triangulateAlg ( TriProjection  )
bool Geometry::ExplFaultStickSurface::update ( bool  forceall,
TaskRunner  
)
virtual

Reimplemented from Geometry::IndexedShape.

void Geometry::ExplFaultStickSurface::updateStickShifting ( )
protected
void Geometry::ExplFaultStickSurface::updateTextureCoords ( )
protected
bool Geometry::ExplFaultStickSurface::updateTextureSize ( )
protected

Friends And Related Function Documentation

friend class ExplFaultStickSurfaceUpdater
friend
friend class ExplFaultStickTexturePositionExtracter
friend

Member Data Documentation

bool Geometry::ExplFaultStickSurface::displaypanels_
protected
bool Geometry::ExplFaultStickSurface::displaysticks_
protected
int Geometry::ExplFaultStickSurface::maximumtexturesize_
protected
bool Geometry::ExplFaultStickSurface::needsupdate_
protected
bool Geometry::ExplFaultStickSurface::needsupdatetexture_
protected
ObjectSet<IndexedGeometry> Geometry::ExplFaultStickSurface::panellines_
protected
ObjectSet<IndexedGeometry> Geometry::ExplFaultStickSurface::paneltriangles_
protected
Coord3 Geometry::ExplFaultStickSurface::scalefacs_
protected
int Geometry::ExplFaultStickSurface::sceneidx_
protected
ObjectSet<IndexedGeometry> Geometry::ExplFaultStickSurface::sticks_
protected
FaultStickSurface* Geometry::ExplFaultStickSurface::surface_
protected
TypeSet<int> Geometry::ExplFaultStickSurface::texturecolcoords_
protected
ObjectSet< TypeSet<int> > Geometry::ExplFaultStickSurface::textureknotcoords_
protected
bool Geometry::ExplFaultStickSurface::texturepot_
protected
BinIDValue Geometry::ExplFaultStickSurface::texturesampling_
protected
RowCol Geometry::ExplFaultStickSurface::texturesize_
protected
TriProjection Geometry::ExplFaultStickSurface::trialg_
protected

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