OpendTect-6_4  6.4
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Geometry::FaultStickSet Class Reference
Inheritance diagram for Geometry::FaultStickSet:
[legend]

Public Types

enum  ChangeTag { StickChange =__mUndefIntVal+1, StickInsert, StickRemove, StickHide }
 
enum  StickStatus { NoStatus =0, Selected =1, Preferred =2, HiddenLowestBit =4 }
 

Public Member Functions

 FaultStickSet ()
 
 ~FaultStickSet ()
 
bool isEmpty () const
 
Elementclone () const
 
virtual bool insertStick (const Coord3 &firstpos, const Coord3 &editnormal, int stick=0, int firstcol=0)
 
bool removeStick (int sticknr)
 
bool insertKnot (const RowCol &, const Coord3 &)
 
bool removeKnot (const RowCol &)
 
int nrSticks () const
 
int nrKnots (int sticknr) const
 
const TypeSet< Coord3 > * getStick (int stickidx) const
 
StepInterval< int > rowRange () const
 
virtual StepInterval< int > colRange () const
 
StepInterval< int > colRange (int stick) const
 
bool setKnot (const RowCol &, const Coord3 &)
 
Coord3 getKnot (const RowCol &) const
 
bool isKnotDefined (const RowCol &) const
 
const Coord3getEditPlaneNormal (int sticknr) const
 
void addUdfRow (int stickidx, int firstknotnr, int nrknots)
 
void addEditPlaneNormal (const Coord3 &)
 
void geometricStickOrder (TypeSet< int > &sticknrs, double zscale, bool orderall=true) const
 
bool isTwisted (int sticknr1, int sticknr2, double zscale) const
 
void selectStick (int sticknr, bool yn)
 
bool isStickSelected (int sticknr) const
 
void preferStick (int sticknr)
 
int preferredStickNr () const
 
void hideStick (int sticknr, bool yn, int sceneidx=-1)
 
bool isStickHidden (int sticknr, int sceneidx=-1) const
 
void hideKnot (const RowCol &, bool yn, int sceneidx=-1)
 
bool isKnotHidden (const RowCol &, int sceneidx=-1) const
 
- Public Member Functions inherited from Geometry::RowColSurface
virtual void getPosIDs (TypeSet< GeomPosID > &, bool=true) const
 
IteratorcreateIterator () const
 
virtual Coord3 getPosition (GeomPosID pid) const
 
virtual bool setPosition (GeomPosID pid, const Coord3 &)
 
virtual bool isDefined (GeomPosID pid) const
 
- Public Member Functions inherited from Geometry::Element
 Element ()
 
virtual ~Element ()
 
virtual IntervalND< float > boundingBox (bool approx) const
 
virtual uiString errMsg () const
 
virtual bool isChanged () const
 
virtual void resetChangedFlag ()
 
virtual void trimUndefParts ()
 
void blockCallBacks (bool yn, bool flush=true)
 
bool blocksCallBacks () 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...
 

Protected Member Functions

double interStickDist (int sticknr1, int sticknr2, double zscale) const
 
- Protected Member Functions inherited from Geometry::Element
void triggerMovement (const TypeSet< GeomPosID > &)
 
void triggerMovement (const GeomPosID &)
 
void triggerMovement ()
 
void triggerNrPosCh (const TypeSet< GeomPosID > &)
 
void triggerNrPosCh (const GeomPosID &)
 
void triggerNrPosCh ()
 
uiStringerrmsg ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

int firstrow_
 
ObjectSet< TypeSet< Coord3 > > sticks_
 
TypeSet< int > firstcols_
 
TypeSet< Coord3editplanenormals_
 
TypeSet< unsigned int > stickstatus_
 
ObjectSet< TypeSet< unsigned int > > knotstatus_
 
- Protected Attributes inherited from Geometry::Element
bool blockcbs_
 
TypeSet< GeomPosIDnrposchbuffer_
 
TypeSet< GeomPosIDmovementbuffer_
 
bool ischanged_
 

Additional Inherited Members

- Public Attributes inherited from Geometry::Element
CNotifier< Element, const TypeSet< GeomPosID > * > movementnotifier
 
CNotifier< Element, const TypeSet< GeomPosID > * > nrpositionnotifier
 

Detailed Description

Member Enumeration Documentation

Enumerator
StickChange 
StickInsert 
StickRemove 
StickHide 
Enumerator
NoStatus 
Selected 
Preferred 
HiddenLowestBit 

Constructor & Destructor Documentation

Geometry::FaultStickSet::FaultStickSet ( )
Geometry::FaultStickSet::~FaultStickSet ( )

Member Function Documentation

void Geometry::FaultStickSet::addEditPlaneNormal ( const Coord3 )
void Geometry::FaultStickSet::addUdfRow ( int  stickidx,
int  firstknotnr,
int  nrknots 
)
Element* Geometry::FaultStickSet::clone ( ) const
virtual

Implements Geometry::Element.

virtual StepInterval<int> Geometry::FaultStickSet::colRange ( ) const
inlinevirtual

Reimplemented from Geometry::RowColSurface.

StepInterval<int> Geometry::FaultStickSet::colRange ( int  stick) const
virtual
void Geometry::FaultStickSet::geometricStickOrder ( TypeSet< int > &  sticknrs,
double  zscale,
bool  orderall = true 
) const
const Coord3& Geometry::FaultStickSet::getEditPlaneNormal ( int  sticknr) const
Coord3 Geometry::FaultStickSet::getKnot ( const RowCol ) const
virtual
const TypeSet<Coord3>* Geometry::FaultStickSet::getStick ( int  stickidx) const
void Geometry::FaultStickSet::hideKnot ( const RowCol ,
bool  yn,
int  sceneidx = -1 
)
void Geometry::FaultStickSet::hideStick ( int  sticknr,
bool  yn,
int  sceneidx = -1 
)
bool Geometry::FaultStickSet::insertKnot ( const RowCol ,
const Coord3  
)
virtual bool Geometry::FaultStickSet::insertStick ( const Coord3 firstpos,
const Coord3 editnormal,
int  stick = 0,
int  firstcol = 0 
)
virtual

Reimplemented in Geometry::FaultStickSurface.

double Geometry::FaultStickSet::interStickDist ( int  sticknr1,
int  sticknr2,
double  zscale 
) const
protected
bool Geometry::FaultStickSet::isEmpty ( ) const
inlinevirtual
bool Geometry::FaultStickSet::isKnotDefined ( const RowCol ) const
virtual
bool Geometry::FaultStickSet::isKnotHidden ( const RowCol ,
int  sceneidx = -1 
) const
bool Geometry::FaultStickSet::isStickHidden ( int  sticknr,
int  sceneidx = -1 
) const
bool Geometry::FaultStickSet::isStickSelected ( int  sticknr) const
bool Geometry::FaultStickSet::isTwisted ( int  sticknr1,
int  sticknr2,
double  zscale 
) const
int Geometry::FaultStickSet::nrKnots ( int  sticknr) const
int Geometry::FaultStickSet::nrSticks ( ) const
int Geometry::FaultStickSet::preferredStickNr ( ) const
void Geometry::FaultStickSet::preferStick ( int  sticknr)
bool Geometry::FaultStickSet::removeKnot ( const RowCol )
bool Geometry::FaultStickSet::removeStick ( int  sticknr)
StepInterval<int> Geometry::FaultStickSet::rowRange ( ) const
virtual
void Geometry::FaultStickSet::selectStick ( int  sticknr,
bool  yn 
)
bool Geometry::FaultStickSet::setKnot ( const RowCol ,
const Coord3  
)
virtual

Member Data Documentation

TypeSet<Coord3> Geometry::FaultStickSet::editplanenormals_
protected
TypeSet<int> Geometry::FaultStickSet::firstcols_
protected
int Geometry::FaultStickSet::firstrow_
protected
ObjectSet<TypeSet<unsigned int> > Geometry::FaultStickSet::knotstatus_
protected
ObjectSet<TypeSet<Coord3> > Geometry::FaultStickSet::sticks_
protected
TypeSet<unsigned int> Geometry::FaultStickSet::stickstatus_
protected

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