OpendTect  7.0
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 ()
 
bool checkSelfIntersection (bool yn)
 
bool checksSelfIntersection () const
 
bool checksSupport () const
 
bool checkSupport (bool yn)
 
virtual bool circularCols () const
 
virtual bool circularRows () const
 
ParametricSurfaceclone () const override=0
 
StepInterval< int > colRange () const override
 
StepInterval< int > colRange (int row) const override
 
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
 
Coord3 getKnot (const RowCol &) const override
 
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 override
 
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 override
 
bool isKnotDefined (const RowCol &) const override
 
int nrKnots () const
 
virtual bool removeCol (int startcol, int stoprcol)
 
virtual bool removeRow (int startrow, int stoprow)
 
StepInterval< int > rowRange () const override
 
virtual StepInterval< int > rowRange (int col) const
 
bool setKnot (const RowCol &, const Coord3 &) override
 
bool setPosition (GeomPosID pid, const Coord3 &) override
 
void trimUndefParts () override
 
virtual bool unsetKnot (const RowCol &)
 
- 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
 
virtual bool isEmpty () const =0
 
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

 ParametricSurface (const RowCol &origin=RowCol(0, 0), const RowCol &step=RowCol(1, 1))
 
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::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 > &)
 

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 ( )

◆ ParametricSurface()

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

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
overridepure virtual

◆ colDim()

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

◆ colIndex()

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

◆ colRange() [1/2]

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

Reimplemented from Geometry::RowColSurface.

◆ colRange() [2/2]

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

◆ 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]

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

◆ 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
overridevirtual

Implements Geometry::Element.

◆ 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
overridevirtual

Implements Geometry::Element.

◆ isKnotDefined()

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

◆ 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]

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

◆ rowRange() [2/2]

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

Reimplemented in Geometry::BinIDSurface.

◆ setKnot()

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

◆ setPosition()

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

Implements Geometry::Element.

◆ trimUndefParts()

void Geometry::ParametricSurface::trimUndefParts ( )
overridevirtual

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-2024