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

Public Member Functions

 Element ()
 
virtual ~Element ()
 
virtual IteratorcreateIterator () const =0
 
virtual void getPosIDs (TypeSet< GeomPosID > &, bool noudf=true) const
 
virtual IntervalND< float > boundingBox (bool approx) const
 
virtual Elementclone () const =0
 
virtual uiString errMsg () const
 
virtual Coord3 getPosition (GeomPosID) const =0
 
virtual bool setPosition (GeomPosID, const Coord3 &)=0
 
virtual bool isDefined (GeomPosID) const =0
 
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...
 

Public Attributes

CNotifier< Element, const TypeSet< GeomPosID > * > movementnotifier
 
CNotifier< Element, const TypeSet< GeomPosID > * > nrpositionnotifier
 

Protected Member Functions

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

bool blockcbs_
 
TypeSet< GeomPosIDnrposchbuffer_
 
TypeSet< GeomPosIDmovementbuffer_
 
bool ischanged_
 

Private Member Functions

 mODTextTranslationClass (Element)
 

Private Attributes

Threads::Lock poschglock_
 
Threads::Lock movementlock_
 
uiStringerrmsg_
 

Detailed Description

Constructor & Destructor Documentation

Geometry::Element::Element ( )
virtual Geometry::Element::~Element ( )
virtual

Member Function Documentation

void Geometry::Element::blockCallBacks ( bool  yn,
bool  flush = true 
)
bool Geometry::Element::blocksCallBacks ( ) const
inline

Block callbacks until further notice. If blocked, lists of added/changed positions will accumulate changes, so they can be flushed when the block is turned off.

Parameters
flushspecifies whether a callback with all accumulated changes will be triggered.
virtual IntervalND<float> Geometry::Element::boundingBox ( bool  approx) const
virtual
virtual Element* Geometry::Element::clone ( ) const
pure virtual
virtual Iterator* Geometry::Element::createIterator ( ) const
pure virtual
virtual uiString Geometry::Element::errMsg ( ) const
virtual
uiString& Geometry::Element::errmsg ( )
protected
virtual void Geometry::Element::getPosIDs ( TypeSet< GeomPosID > &  ,
bool  noudf = true 
) const
virtual
virtual Coord3 Geometry::Element::getPosition ( GeomPosID  ) const
pure virtual
virtual bool Geometry::Element::isChanged ( ) const
inlinevirtual
virtual bool Geometry::Element::isDefined ( GeomPosID  ) const
pure virtual
Geometry::Element::mODTextTranslationClass ( Element  )
private
virtual void Geometry::Element::resetChangedFlag ( )
inlinevirtual
virtual bool Geometry::Element::setPosition ( GeomPosID  ,
const Coord3  
)
pure virtual
void Geometry::Element::triggerMovement ( const TypeSet< GeomPosID > &  )
protected
void Geometry::Element::triggerMovement ( const GeomPosID )
protected
void Geometry::Element::triggerMovement ( )
protected
void Geometry::Element::triggerNrPosCh ( const TypeSet< GeomPosID > &  )
protected
void Geometry::Element::triggerNrPosCh ( const GeomPosID )
protected
void Geometry::Element::triggerNrPosCh ( )
protected
virtual void Geometry::Element::trimUndefParts ( )
inlinevirtual

Member Data Documentation

bool Geometry::Element::blockcbs_
protected
uiString* Geometry::Element::errmsg_
private
bool Geometry::Element::ischanged_
protected
TypeSet<GeomPosID> Geometry::Element::movementbuffer_
protected
Threads::Lock Geometry::Element::movementlock_
private
CNotifier<Element,const TypeSet<GeomPosID>*> Geometry::Element::movementnotifier
TypeSet<GeomPosID> Geometry::Element::nrposchbuffer_
protected
CNotifier<Element,const TypeSet<GeomPosID>*> Geometry::Element::nrpositionnotifier
Threads::Lock Geometry::Element::poschglock_
private

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