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

Classes

struct  ChangeData
 

Public Types

enum  DuplicateMode { NoDups =0, NoConsecutiveDups, AllDups }
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 

Public Member Functions

 RandomLine (const char *nm=0)
 
void setSurvID (Pos::SurvID s)
 
Pos::SurvID getSurvID () const
 
int ID () const
 
int addNode (const BinID &)
 
void insertNode (int, const BinID &)
 
void setName (const char *)
 
void setNodePosition (int idx, const BinID &, bool moving=false)
 
void setNodePositions (const TypeSet< BinID > &)
 
void removeNode (int)
 
void removeNode (const BinID &)
 
bool isEmpty () const
 
void limitTo (const TrcKeyZSampling &)
 
int nodeIndex (const BinID &) const
 
int nrNodes () const
 
const BinIDnodePosition (int) const
 
void allNodePositions (TypeSet< BinID > &) const
 
void allNodePositions (TrcKeyPath &) const
 
void setZRange (const Interval< float > &rg)
 
Interval< float > zRange () const
 
void setDBKey (const DBKey &)
 
DBKey getDBKey () const
 
void setLocked (bool yn)
 
bool isLocked () const
 
RandomLineSetlineSet ()
 
const RandomLineSetlineSet () const
 
 mDeclInstanceCreatedNotifierAccess (RandomLine)
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorableclone () const
 
ChangeType compareWith (const Monitorable &) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static Coord getNormal (const TrcKeyPath &knots, const TrcKey &pos)
 
static int getNearestPathPosIdx (const TrcKeyPath &, const TrcKeyPath &, const TrcKey &)
 
static void getPathBids (const TypeSet< BinID > &knots, Pos::SurvID, TypeSet< BinID > &path, DuplicateMode dupmode=NoConsecutiveDups, TypeSet< int > *segments=0)
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

Notifier< RandomLinenameChanged
 
CNotifier< RandomLine, const ChangeData & > nodeChanged
 
Notifier< RandomLinezrangeChanged
 

Protected Member Functions

 ~RandomLine ()
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

Pos::SurvID survid_
 
TypeSet< BinIDnodes_
 
Interval< float > zrange_
 
DBKey dbky_
 
RandomLineSetlset_
 
bool locked_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Attributes

int id_
 

Friends

class RandomLineSet
 

Additional Inherited Members

- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 

Detailed Description

Member Enumeration Documentation

Enumerator
NoDups 
NoConsecutiveDups 
AllDups 

Constructor & Destructor Documentation

Geometry::RandomLine::RandomLine ( const char *  nm = 0)
Geometry::RandomLine::~RandomLine ( )
protected

Member Function Documentation

int Geometry::RandomLine::addNode ( const BinID )
void Geometry::RandomLine::allNodePositions ( TypeSet< BinID > &  ) const
void Geometry::RandomLine::allNodePositions ( TrcKeyPath ) const
DBKey Geometry::RandomLine::getDBKey ( ) const
inline
static int Geometry::RandomLine::getNearestPathPosIdx ( const TrcKeyPath ,
const TrcKeyPath ,
const TrcKey  
)
static
static Coord Geometry::RandomLine::getNormal ( const TrcKeyPath knots,
const TrcKey pos 
)
static
static void Geometry::RandomLine::getPathBids ( const TypeSet< BinID > &  knots,
Pos::SurvID  ,
TypeSet< BinID > &  path,
DuplicateMode  dupmode = NoConsecutiveDups,
TypeSet< int > *  segments = 0 
)
static
Pos::SurvID Geometry::RandomLine::getSurvID ( ) const
inline
int Geometry::RandomLine::ID ( ) const
inline
void Geometry::RandomLine::insertNode ( int  ,
const BinID  
)
bool Geometry::RandomLine::isEmpty ( ) const
inline
bool Geometry::RandomLine::isLocked ( ) const
inline
void Geometry::RandomLine::limitTo ( const TrcKeyZSampling )
RandomLineSet* Geometry::RandomLine::lineSet ( )
inline
const RandomLineSet* Geometry::RandomLine::lineSet ( ) const
inline
Geometry::RandomLine::mDeclInstanceCreatedNotifierAccess ( RandomLine  )
int Geometry::RandomLine::nodeIndex ( const BinID ) const
const BinID& Geometry::RandomLine::nodePosition ( int  ) const
int Geometry::RandomLine::nrNodes ( ) const
void Geometry::RandomLine::removeNode ( int  )
void Geometry::RandomLine::removeNode ( const BinID )
void Geometry::RandomLine::setDBKey ( const DBKey )
void Geometry::RandomLine::setLocked ( bool  yn)
inline
void Geometry::RandomLine::setName ( const char *  )
virtual

Reimplemented from NamedMonitorable.

void Geometry::RandomLine::setNodePosition ( int  idx,
const BinID ,
bool  moving = false 
)
void Geometry::RandomLine::setNodePositions ( const TypeSet< BinID > &  )
void Geometry::RandomLine::setSurvID ( Pos::SurvID  s)
inline
void Geometry::RandomLine::setZRange ( const Interval< float > &  rg)
inline
Interval<float> Geometry::RandomLine::zRange ( ) const
inline

Friends And Related Function Documentation

friend class RandomLineSet
friend

Member Data Documentation

DBKey Geometry::RandomLine::dbky_
protected
int Geometry::RandomLine::id_
private
bool Geometry::RandomLine::locked_
protected
RandomLineSet* Geometry::RandomLine::lset_
protected
Notifier<RandomLine> Geometry::RandomLine::nameChanged
CNotifier<RandomLine,const ChangeData&> Geometry::RandomLine::nodeChanged
TypeSet<BinID> Geometry::RandomLine::nodes_
protected
Pos::SurvID Geometry::RandomLine::survid_
protected
Interval<float> Geometry::RandomLine::zrange_
protected
Notifier<RandomLine> Geometry::RandomLine::zrangeChanged

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