OpendTect-6_4  6.4
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | 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 Member Functions

void allNodePositions (TrcKeyPath &) const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- 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 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)
 

Protected Attributes

TypeSet< BinIDnodes_
 
Interval< float > zrange_
 
MultiID mid_
 
RandomLineSetlset_
 
bool locked_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

mRefCountImpl(RandomLine) public 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 setZRange (const Interval< float > &rg)
 
Interval< float > zRange () const
 
void setMultiID (const MultiID &)
 
MultiID getMultiID () const
 
void setLocked (bool yn)
 
bool isLocked () const
 
RandomLineSetlineSet ()
 
const RandomLineSetlineSet () const
 

Static Private Member Functions

static void getPathBids (const TypeSet< BinID > &knots, Pos::SurvID, TypeSet< BinID > &path, bool allowduplicate=false, TypeSet< int > *segments=0)
 Deprecated in coming versions of OD. More...
 
static void getPathBids (const TypeSet< BinID > &knots, TypeSet< BinID > &path, bool allowduplicate=false, TypeSet< int > *segments=0)
 Deprecated in coming versions of OD. More...
 

Private Attributes

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

Friends

class RandomLineSet
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Member Enumeration Documentation

Enumerator
NoDups 
NoConsecutiveDups 
AllDups 

Member Function Documentation

int Geometry::RandomLine::addNode ( const BinID )
private
void Geometry::RandomLine::allNodePositions ( TypeSet< BinID > &  ) const
private
void Geometry::RandomLine::allNodePositions ( TrcKeyPath ) const
MultiID Geometry::RandomLine::getMultiID ( ) const
inlineprivate
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,
bool  allowduplicate = false,
TypeSet< int > *  segments = 0 
)
staticprivate

Deprecated in coming versions of OD.

static void Geometry::RandomLine::getPathBids ( const TypeSet< BinID > &  knots,
TypeSet< BinID > &  path,
bool  allowduplicate = false,
TypeSet< int > *  segments = 0 
)
staticprivate

Deprecated in coming versions of OD.

static void Geometry::RandomLine::getPathBids ( const TypeSet< BinID > &  knots,
Pos::SurvID  ,
TypeSet< BinID > &  path,
DuplicateMode  dupmode = NoConsecutiveDups,
TypeSet< int > *  segments = 0 
)
static
mRefCountImpl (RandomLine) public int Geometry::RandomLine::ID ( ) const
inlineprivate
void Geometry::RandomLine::insertNode ( int  ,
const BinID  
)
private
bool Geometry::RandomLine::isEmpty ( ) const
inlineprivate
bool Geometry::RandomLine::isLocked ( ) const
inlineprivate
void Geometry::RandomLine::limitTo ( const TrcKeyZSampling )
private
RandomLineSet* Geometry::RandomLine::lineSet ( )
inlineprivate
const RandomLineSet* Geometry::RandomLine::lineSet ( ) const
inlineprivate
int Geometry::RandomLine::nodeIndex ( const BinID ) const
private
const BinID& Geometry::RandomLine::nodePosition ( int  ) const
private
int Geometry::RandomLine::nrNodes ( ) const
private
void Geometry::RandomLine::removeNode ( int  )
private
void Geometry::RandomLine::removeNode ( const BinID )
private
void Geometry::RandomLine::setLocked ( bool  yn)
inlineprivate
void Geometry::RandomLine::setMultiID ( const MultiID )
private
void Geometry::RandomLine::setName ( const char *  )
privatevirtual

Reimplemented from NamedObject.

void Geometry::RandomLine::setNodePosition ( int  idx,
const BinID ,
bool  moving = false 
)
private
void Geometry::RandomLine::setNodePositions ( const TypeSet< BinID > &  )
private
void Geometry::RandomLine::setZRange ( const Interval< float > &  rg)
inlineprivate
Interval<float> Geometry::RandomLine::zRange ( ) const
inlineprivate

Friends And Related Function Documentation

friend class RandomLineSet
friend

Member Data Documentation

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

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