OpendTect  6.6
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | 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 ObjectWithName
typedef OD::String name_type
 

Public Member Functions

 RandomLine (const char *nm=0)
 
int addNode (const BinID &)
 
void allNodePositions (TrcKeyPath &) const
 
void allNodePositions (TypeSet< BinID > &) const
 
MultiID getMultiID () const
 
int ID () const
 
void insertNode (int, const BinID &)
 
bool isEmpty () const
 
bool isLocked () const
 
void limitTo (const TrcKeyZSampling &)
 
RandomLineSetlineSet ()
 
const RandomLineSetlineSet () const
 
int nodeIndex (const BinID &) const
 
const BinIDnodePosition (int) const
 
int nrNodes () const
 
void removeNode (const BinID &)
 
void removeNode (int)
 
void setLocked (bool yn)
 
void setMultiID (const MultiID &)
 
void setName (const char *)
 
void setNodePosition (int idx, const BinID &, bool moving=false)
 
void setNodePositions (const TypeSet< BinID > &)
 
void setZRange (const Interval< float > &rg)
 
Interval< float > zRange () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) 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 detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static int getNearestPathPosIdx (const TrcKeyPath &, const TrcKeyPath &, const TrcKey &)
 
static Coord getNormal (const TrcKeyPath &knots, const TrcKey &pos)
 
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, Pos::SurvID, TypeSet< BinID > &path, DuplicateMode dupmode=NoConsecutiveDups, TypeSet< int > *segments=0)
 
static void getPathBids (const TypeSet< BinID > &knots, TypeSet< BinID > &path, bool allowduplicate=false, TypeSet< int > *segments=0)
 Deprecated in coming versions of OD. More...
 
- 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 Attributes

bool locked_
 
RandomLineSetlset_
 
MultiID mid_
 
TypeSet< BinIDnodes_
 
Interval< float > zrange_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Attributes

int id_
 

Friends

class RandomLineSet
 

Additional Inherited Members

- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Detailed Description

<>

Member Enumeration Documentation

◆ DuplicateMode

Enumerator
NoDups 
NoConsecutiveDups 
AllDups 

Constructor & Destructor Documentation

◆ RandomLine()

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

Member Function Documentation

◆ addNode()

int Geometry::RandomLine::addNode ( const BinID )

◆ allNodePositions() [1/2]

void Geometry::RandomLine::allNodePositions ( TrcKeyPath ) const

◆ allNodePositions() [2/2]

void Geometry::RandomLine::allNodePositions ( TypeSet< BinID > &  ) const

◆ getMultiID()

MultiID Geometry::RandomLine::getMultiID ( ) const
inline

◆ getNearestPathPosIdx()

static int Geometry::RandomLine::getNearestPathPosIdx ( const TrcKeyPath ,
const TrcKeyPath ,
const TrcKey  
)
static

◆ getNormal()

static Coord Geometry::RandomLine::getNormal ( const TrcKeyPath knots,
const TrcKey pos 
)
static

◆ getPathBids() [1/3]

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

Deprecated in coming versions of OD.

◆ getPathBids() [2/3]

static void Geometry::RandomLine::getPathBids ( const TypeSet< BinID > &  knots,
Pos::SurvID  ,
TypeSet< BinID > &  path,
DuplicateMode  dupmode = NoConsecutiveDups,
TypeSet< int > *  segments = 0 
)
static

◆ getPathBids() [3/3]

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

Deprecated in coming versions of OD.

◆ ID()

int Geometry::RandomLine::ID ( ) const
inline

◆ insertNode()

void Geometry::RandomLine::insertNode ( int  ,
const BinID  
)

◆ isEmpty()

bool Geometry::RandomLine::isEmpty ( ) const
inline

◆ isLocked()

bool Geometry::RandomLine::isLocked ( ) const
inline

◆ limitTo()

void Geometry::RandomLine::limitTo ( const TrcKeyZSampling )

◆ lineSet() [1/2]

RandomLineSet* Geometry::RandomLine::lineSet ( )
inline

◆ lineSet() [2/2]

const RandomLineSet* Geometry::RandomLine::lineSet ( ) const
inline

◆ nodeIndex()

int Geometry::RandomLine::nodeIndex ( const BinID ) const

◆ nodePosition()

const BinID& Geometry::RandomLine::nodePosition ( int  ) const

◆ nrNodes()

int Geometry::RandomLine::nrNodes ( ) const

◆ removeNode() [1/2]

void Geometry::RandomLine::removeNode ( const BinID )

◆ removeNode() [2/2]

void Geometry::RandomLine::removeNode ( int  )

◆ setLocked()

void Geometry::RandomLine::setLocked ( bool  yn)
inline

◆ setMultiID()

void Geometry::RandomLine::setMultiID ( const MultiID )

◆ setName()

void Geometry::RandomLine::setName ( const char *  )
virtual

Reimplemented from NamedObject.

◆ setNodePosition()

void Geometry::RandomLine::setNodePosition ( int  idx,
const BinID ,
bool  moving = false 
)

◆ setNodePositions()

void Geometry::RandomLine::setNodePositions ( const TypeSet< BinID > &  )

◆ setZRange()

void Geometry::RandomLine::setZRange ( const Interval< float > &  rg)
inline

◆ zRange()

Interval<float> Geometry::RandomLine::zRange ( ) const
inline

Friends And Related Function Documentation

◆ RandomLineSet

friend class RandomLineSet
friend

Member Data Documentation

◆ id_

int Geometry::RandomLine::id_
private

◆ locked_

bool Geometry::RandomLine::locked_
protected

◆ lset_

RandomLineSet* Geometry::RandomLine::lset_
protected

◆ mid_

MultiID Geometry::RandomLine::mid_
protected

◆ nameChanged

Notifier<RandomLine> Geometry::RandomLine::nameChanged

◆ nodeChanged

CNotifier<RandomLine,const ChangeData&> Geometry::RandomLine::nodeChanged

◆ nodes_

TypeSet<BinID> Geometry::RandomLine::nodes_
protected

◆ zrange_

Interval<float> Geometry::RandomLine::zrange_
protected

◆ zrangeChanged

Notifier<RandomLine> Geometry::RandomLine::zrangeChanged

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