OpendTect  6.6
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Geometry::ParametricSurface Class Referenceabstract
Inheritance diagram for Geometry::ParametricSurface:
[legend]

Public Member Functions

 ParametricSurface (const RowCol &origin=RowCol(0, 0), const RowCol &step=RowCol(1, 1))
 
 ~ParametricSurface ()
 
bool checkSelfIntersection (bool yn)
 
bool checksSelfIntersection () const
 
bool checksSupport () const
 
bool checkSupport (bool yn)
 
virtual bool circularCols () const
 
virtual bool circularRows () const
 
ParametricSurfaceclone () const =0
 
virtual StepInterval< int > colRange () const
 
virtual StepInterval< int > colRange (int row) const
 
virtual Coord3 computeNormal (const Coord &) const
 
virtual Coord3 computePosition (const Coord &) const
 
virtual ParametricCurvecreateColCurve (float col, const Interval< int > *rowrange=0) const
 
virtual ParametricCurvecreateRowCurve (float row, const Interval< int > *colrange=0) const
 
virtual Coord3 getKnot (const RowCol &) const
 
virtual Coord3 getKnot (const RowCol &, bool interpifudf) const =0
 
int getKnotIndex (const RowCol &rc) const
 
RowCol getKnotRowCol (int idx) const
 
Coord3 getPosition (GeomPosID pid) const
 
bool hasSupport (const RowCol &) const
 
virtual bool insertCol (int col, int nrnew=1)=0
 
virtual bool insertRow (int row, int nrnew=1)=0
 
bool isAtEdge (const RowCol &) const
 
bool isDefined (GeomPosID pid) const
 
virtual bool isKnotDefined (const RowCol &) const
 
int nrKnots () const
 
virtual bool removeCol (int startcol, int stoprcol)
 
virtual bool removeRow (int startrow, int stoprow)
 
virtual StepInterval< int > rowRange () const
 
virtual StepInterval< int > rowRange (int col) const
 
virtual bool setKnot (const RowCol &, const Coord3 &)
 
bool setPosition (GeomPosID pid, const Coord3 &)
 
void trimUndefParts ()
 
virtual bool unsetKnot (const RowCol &)
 
- Public Member Functions inherited from Geometry::RowColSurface
IteratorcreateIterator () const
 
virtual void getPosIDs (TypeSet< GeomPosID > &, bool=true) const
 
virtual bool isEmpty () const =0
 
- 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
 

Protected Member Functions

virtual void _setKnot (int idx, const Coord3 &)=0
 
virtual bool checkSelfIntersection (const RowCol &) const
 
int colIndex (int col) const
 
bool isAtSameEdge (const RowCol &, const RowCol &, TypeSet< RowCol > *=0) const
 
virtual int nrCols () const =0
 
virtual int nrRows () const =0
 
int rowIndex (int row) const
 
- 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 > &)
 

Static Protected Member Functions

static int colDim ()
 
static int rowDim ()
 

Protected Attributes

bool checkselfintersection_
 
bool checksupport_
 
RowCol origin_
 
RowCol step_
 
- 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

<>

Constructor & Destructor Documentation

◆ ParametricSurface()

Geometry::ParametricSurface::ParametricSurface ( const RowCol origin = RowCol(0, 0),
const RowCol step = RowCol(1, 1) 
)

◆ ~ParametricSurface()

Geometry::ParametricSurface::~ParametricSurface ( )

Member Function Documentation

◆ _setKnot()

virtual void Geometry::ParametricSurface::_setKnot ( int  idx,
const Coord3  
)
protectedpure virtual

◆ checkSelfIntersection() [1/2]

bool Geometry::ParametricSurface::checkSelfIntersection ( bool  yn)

Specifies wether support should be checked

◆ checkSelfIntersection() [2/2]

virtual bool Geometry::ParametricSurface::checkSelfIntersection ( const RowCol ) const
protectedvirtual

Reimplemented in Geometry::CubicBezierSurface.

◆ checksSelfIntersection()

bool Geometry::ParametricSurface::checksSelfIntersection ( ) const
Returns
wether support should be checked

◆ checksSupport()

bool Geometry::ParametricSurface::checksSupport ( ) const
Returns
wether support should be checked

◆ checkSupport()

bool Geometry::ParametricSurface::checkSupport ( bool  yn)

Specifies wether support should be checked

◆ circularCols()

virtual bool Geometry::ParametricSurface::circularCols ( ) const
inlinevirtual

◆ circularRows()

virtual bool Geometry::ParametricSurface::circularRows ( ) const
inlinevirtual

◆ clone()

ParametricSurface* Geometry::ParametricSurface::clone ( ) const
pure virtual

◆ colDim()

static int Geometry::ParametricSurface::colDim ( )
inlinestaticprotected

◆ colIndex()

int Geometry::ParametricSurface::colIndex ( int  col) const
inlineprotected

◆ colRange() [1/2]

virtual StepInterval<int> Geometry::ParametricSurface::colRange ( ) const
virtual

Reimplemented from Geometry::RowColSurface.

Reimplemented in Geometry::BinIDSurface.

◆ colRange() [2/2]

virtual StepInterval<int> Geometry::ParametricSurface::colRange ( int  row) const
virtual

Implements Geometry::RowColSurface.

Reimplemented in Geometry::BinIDSurface.

◆ computeNormal()

virtual Coord3 Geometry::ParametricSurface::computeNormal ( const Coord ) const
virtual

Reimplemented in Geometry::CubicBezierSurface.

◆ computePosition()

virtual Coord3 Geometry::ParametricSurface::computePosition ( const Coord ) const
virtual

◆ createColCurve()

virtual ParametricCurve* Geometry::ParametricSurface::createColCurve ( float  col,
const Interval< int > *  rowrange = 0 
) const
virtual

Reimplemented in Geometry::CubicBezierSurface.

◆ createRowCurve()

virtual ParametricCurve* Geometry::ParametricSurface::createRowCurve ( float  row,
const Interval< int > *  colrange = 0 
) const
virtual

Reimplemented in Geometry::CubicBezierSurface.

◆ getKnot() [1/2]

virtual Coord3 Geometry::ParametricSurface::getKnot ( const RowCol ) const
virtual

◆ getKnot() [2/2]

virtual Coord3 Geometry::ParametricSurface::getKnot ( const RowCol ,
bool  interpifudf 
) const
pure virtual

◆ getKnotIndex()

int Geometry::ParametricSurface::getKnotIndex ( const RowCol rc) const

◆ getKnotRowCol()

RowCol Geometry::ParametricSurface::getKnotRowCol ( int  idx) const

◆ getPosition()

Coord3 Geometry::ParametricSurface::getPosition ( GeomPosID  pid) const
virtual

Reimplemented from Geometry::RowColSurface.

◆ hasSupport()

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

◆ insertCol()

virtual bool Geometry::ParametricSurface::insertCol ( int  col,
int  nrnew = 1 
)
pure virtual

◆ insertRow()

virtual bool Geometry::ParametricSurface::insertRow ( int  row,
int  nrnew = 1 
)
pure virtual

◆ isAtEdge()

bool Geometry::ParametricSurface::isAtEdge ( const RowCol ) const

◆ isAtSameEdge()

bool Geometry::ParametricSurface::isAtSameEdge ( const RowCol ,
const RowCol ,
TypeSet< RowCol > *  = 0 
) const
protected

◆ isDefined()

bool Geometry::ParametricSurface::isDefined ( GeomPosID  pid) const
virtual

Reimplemented from Geometry::RowColSurface.

◆ isKnotDefined()

virtual bool Geometry::ParametricSurface::isKnotDefined ( const RowCol ) const
virtual

◆ nrCols()

virtual int Geometry::ParametricSurface::nrCols ( ) const
protectedpure virtual

◆ nrKnots()

int Geometry::ParametricSurface::nrKnots ( ) const

◆ nrRows()

virtual int Geometry::ParametricSurface::nrRows ( ) const
protectedpure virtual

◆ removeCol()

virtual bool Geometry::ParametricSurface::removeCol ( int  startcol,
int  stoprcol 
)
inlinevirtual

◆ removeRow()

virtual bool Geometry::ParametricSurface::removeRow ( int  startrow,
int  stoprow 
)
inlinevirtual

◆ rowDim()

static int Geometry::ParametricSurface::rowDim ( )
inlinestaticprotected

◆ rowIndex()

int Geometry::ParametricSurface::rowIndex ( int  row) const
inlineprotected

◆ rowRange() [1/2]

virtual StepInterval<int> Geometry::ParametricSurface::rowRange ( ) const
virtual

Implements Geometry::RowColSurface.

Reimplemented in Geometry::BinIDSurface.

◆ rowRange() [2/2]

virtual StepInterval<int> Geometry::ParametricSurface::rowRange ( int  col) const
virtual

Reimplemented in Geometry::BinIDSurface.

◆ setKnot()

virtual bool Geometry::ParametricSurface::setKnot ( const RowCol ,
const Coord3  
)
virtual

◆ setPosition()

bool Geometry::ParametricSurface::setPosition ( GeomPosID  pid,
const Coord3  
)
virtual

Reimplemented from Geometry::RowColSurface.

◆ trimUndefParts()

void Geometry::ParametricSurface::trimUndefParts ( )
virtual

Reimplemented from Geometry::Element.

◆ unsetKnot()

virtual bool Geometry::ParametricSurface::unsetKnot ( const RowCol )
virtual

Member Data Documentation

◆ checkselfintersection_

bool Geometry::ParametricSurface::checkselfintersection_
protected

◆ checksupport_

bool Geometry::ParametricSurface::checksupport_
protected

◆ origin_

RowCol Geometry::ParametricSurface::origin_
protected

◆ step_

RowCol Geometry::ParametricSurface::step_
protected

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