OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Geometry::Horizon2DLine Class Reference
Inheritance diagram for Geometry::Horizon2DLine:
[legend]

Public Member Functions

 Horizon2DLine ()
 
 Horizon2DLine (const Horizon2DLine &)
 
 Horizon2DLine (Pos::GeomID lineid, const TypeSet< Coord > &, int start, int step)
 
 ~Horizon2DLine ()
 
bool addRow (Pos::GeomID, const TypeSet< Coord > &, int start, int step)
 
bool addUdfRow (Pos::GeomID, int start, int stop, int step)
 
bool checksSupport () const
 
void checkSupport (bool yn)
 
Horizon2DLineclone () const override
 
StepInterval< int > colRange () const override
 
StepInterval< int > colRange (int rowindex) const override
 
StepInterval< int > colRangeForGeomID (Pos::GeomID) const
 
Coord3 computePosition (Pos::GeomID, int trcnr) const
 
void geometry (Pos::GeomID, PosInfo::Line2DData &) const
 
Pos::GeomID geomID (int rowidx) const
 
void getGeomIDs (TypeSet< Pos::GeomID > &) const
 
Coord3 getKnot (const RowCol &rc) const override
 
Coord3 getPosition (GeomPosID pid) const override
 
int getRowIndex (Pos::GeomID) const
 
bool hasLine (Pos::GeomID) const
 
bool hasSupport (const RowCol &) const
 
bool isDefined (GeomPosID pid) const override
 
bool isEmpty () const override
 
bool isKnotDefined (const RowCol &) const override
 
int nrLines () const
 
bool reassignRow (Pos::GeomID from, Pos::GeomID to)
 
void removeCols (Pos::GeomID, int start, int stop)
 
void removeRow (Pos::GeomID)
 
StepInterval< int > rowRange () const override
 
bool setKnot (const RowCol &, const Coord3 &) override
 
bool setPosition (GeomPosID pid, const Coord3 &pos) override
 
void setRow (Pos::GeomID, const StepInterval< int > *trcrg)
 
void setRow (Pos::GeomID, const TypeSet< Coord > &, int start, int step)
 
void syncRow (Pos::GeomID, const PosInfo::Line2DData &)
 
void trimUndefParts () override
 
Interval< float > zRange (Pos::GeomID) const
 
- Public Member Functions inherited from Geometry::RowColSurface
 ~RowColSurface ()
 
IteratorcreateIterator () const override
 
void getPosIDs (TypeSet< GeomPosID > &, bool=true) const override
 
Coord3 getPosition (GeomPosID pid) const override
 
bool isDefined (GeomPosID pid) const override
 
bool setPosition (GeomPosID pid, const Coord3 &) override
 
- Public Member Functions inherited from Geometry::Element
 Element ()
 
virtual ~Element ()
 
void blockCallBacks (bool yn, bool flush=true)
 
bool blocksCallBacks () const
 
virtual IntervalND< float > boundingBox (bool approx) const
 
virtual uiString errMsg () const
 
virtual bool isChanged () const
 
virtual void resetChangedFlag ()
 
- 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
 
virtual CallBackertrueCaller ()
 

Protected Member Functions

int colIndex (int rowidx, int colid) const
 
int rowIndex (Pos::GeomID rowid) const
 
- Protected Member Functions inherited from Geometry::RowColSurface
 RowColSurface ()
 
- Protected Member Functions inherited from Geometry::Element
uiStringerrmsg ()
 
void triggerMovement ()
 
void triggerMovement (const GeomPosID &)
 
void triggerMovement (const TypeSet< GeomPosID > &)
 
void triggerNrPosCh ()
 
void triggerNrPosCh (const GeomPosID &)
 
void triggerNrPosCh (const TypeSet< GeomPosID > &)
 

Protected Attributes

bool checksupport_
 
TypeSet< SamplingData< int > > colsampling_
 
TypeSet< Pos::GeomIDgeomids_
 
ObjectSet< TypeSet< Coord3 > > rows_
 
- Protected Attributes inherited from Geometry::Element
bool blockcbs_
 
bool ischanged_
 
TypeSet< GeomPosID > movementbuffer_
 
TypeSet< GeomPosID > nrposchbuffer_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from Geometry::Element
CNotifier< Element, const TypeSet< GeomPosID > * > movementnotifier
 
CNotifier< Element, const TypeSet< GeomPosID > * > nrpositionnotifier
 

Detailed Description

A curve that goes along a fixed set of x,y coordinates with a varying z.

<>

Constructor & Destructor Documentation

◆ Horizon2DLine() [1/3]

Geometry::Horizon2DLine::Horizon2DLine ( )

◆ Horizon2DLine() [2/3]

Geometry::Horizon2DLine::Horizon2DLine ( Pos::GeomID  lineid,
const TypeSet< Coord > &  ,
int  start,
int  step 
)

◆ Horizon2DLine() [3/3]

Geometry::Horizon2DLine::Horizon2DLine ( const Horizon2DLine )

◆ ~Horizon2DLine()

Geometry::Horizon2DLine::~Horizon2DLine ( )

Member Function Documentation

◆ addRow()

bool Geometry::Horizon2DLine::addRow ( Pos::GeomID  ,
const TypeSet< Coord > &  ,
int  start,
int  step 
)
Returns
id of new path.

◆ addUdfRow()

bool Geometry::Horizon2DLine::addUdfRow ( Pos::GeomID  ,
int  start,
int  stop,
int  step 
)
Returns
id of new path.

◆ checksSupport()

bool Geometry::Horizon2DLine::checksSupport ( ) const
inline

◆ checkSupport()

void Geometry::Horizon2DLine::checkSupport ( bool  yn)
inline

◆ clone()

Horizon2DLine* Geometry::Horizon2DLine::clone ( ) const
overridevirtual

Implements Geometry::Element.

◆ colIndex()

int Geometry::Horizon2DLine::colIndex ( int  rowidx,
int  colid 
) const
protected

◆ colRange() [1/2]

StepInterval<int> Geometry::Horizon2DLine::colRange ( ) const
inlineoverridevirtual

Reimplemented from Geometry::RowColSurface.

◆ colRange() [2/2]

StepInterval<int> Geometry::Horizon2DLine::colRange ( int  rowindex) const
overridevirtual

◆ colRangeForGeomID()

StepInterval<int> Geometry::Horizon2DLine::colRangeForGeomID ( Pos::GeomID  ) const

◆ computePosition()

Coord3 Geometry::Horizon2DLine::computePosition ( Pos::GeomID  ,
int  trcnr 
) const

◆ geometry()

void Geometry::Horizon2DLine::geometry ( Pos::GeomID  ,
PosInfo::Line2DData  
) const

◆ geomID()

Pos::GeomID Geometry::Horizon2DLine::geomID ( int  rowidx) const
inline

◆ getGeomIDs()

void Geometry::Horizon2DLine::getGeomIDs ( TypeSet< Pos::GeomID > &  ) const

◆ getKnot()

Coord3 Geometry::Horizon2DLine::getKnot ( const RowCol rc) const
overridevirtual

◆ getPosition()

Coord3 Geometry::Horizon2DLine::getPosition ( GeomPosID  pid) const
overridevirtual

Implements Geometry::Element.

◆ getRowIndex()

int Geometry::Horizon2DLine::getRowIndex ( Pos::GeomID  ) const

◆ hasLine()

bool Geometry::Horizon2DLine::hasLine ( Pos::GeomID  ) const

◆ hasSupport()

bool Geometry::Horizon2DLine::hasSupport ( const RowCol ) const

◆ isDefined()

bool Geometry::Horizon2DLine::isDefined ( GeomPosID  pid) const
overridevirtual

Implements Geometry::Element.

◆ isEmpty()

bool Geometry::Horizon2DLine::isEmpty ( ) const
inlineoverridevirtual

◆ isKnotDefined()

bool Geometry::Horizon2DLine::isKnotDefined ( const RowCol ) const
overridevirtual

◆ nrLines()

int Geometry::Horizon2DLine::nrLines ( ) const
inline

◆ reassignRow()

bool Geometry::Horizon2DLine::reassignRow ( Pos::GeomID  from,
Pos::GeomID  to 
)

◆ removeCols()

void Geometry::Horizon2DLine::removeCols ( Pos::GeomID  ,
int  start,
int  stop 
)

◆ removeRow()

void Geometry::Horizon2DLine::removeRow ( Pos::GeomID  )

◆ rowIndex()

int Geometry::Horizon2DLine::rowIndex ( Pos::GeomID  rowid) const
protected

◆ rowRange()

StepInterval<int> Geometry::Horizon2DLine::rowRange ( ) const
overridevirtual

◆ setKnot()

bool Geometry::Horizon2DLine::setKnot ( const RowCol ,
const Coord3  
)
overridevirtual

◆ setPosition()

bool Geometry::Horizon2DLine::setPosition ( GeomPosID  pid,
const Coord3 pos 
)
overridevirtual

Implements Geometry::Element.

◆ setRow() [1/2]

void Geometry::Horizon2DLine::setRow ( Pos::GeomID  ,
const StepInterval< int > *  trcrg 
)

◆ setRow() [2/2]

void Geometry::Horizon2DLine::setRow ( Pos::GeomID  ,
const TypeSet< Coord > &  ,
int  start,
int  step 
)

◆ syncRow()

void Geometry::Horizon2DLine::syncRow ( Pos::GeomID  ,
const PosInfo::Line2DData  
)

◆ trimUndefParts()

void Geometry::Horizon2DLine::trimUndefParts ( )
overridevirtual

Reimplemented from Geometry::Element.

◆ zRange()

Interval<float> Geometry::Horizon2DLine::zRange ( Pos::GeomID  ) const

Member Data Documentation

◆ checksupport_

bool Geometry::Horizon2DLine::checksupport_
protected

◆ colsampling_

TypeSet<SamplingData<int> > Geometry::Horizon2DLine::colsampling_
protected

◆ geomids_

TypeSet<Pos::GeomID> Geometry::Horizon2DLine::geomids_
protected

◆ rows_

ObjectSet<TypeSet<Coord3> > Geometry::Horizon2DLine::rows_
protected

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