OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IsoContourTracer Class Reference

Tracing the z-level contour of a 2D scalar field. More...

Public Member Functions

 IsoContourTracer (const Array2D< float > &)
 
 ~IsoContourTracer ()
 
bool getContours (ObjectSet< ODPolygon< float > > &, float z, bool closedonly=false) const
 To close contours along (RectROI) edge. More...
 
void selectPolyROI (const ODPolygon< float > *)
 
void selectRectROI (const Interval< int > &xintv, const Interval< int > &yintv)
 
void setBendPointsOnly (float eps)
 
void setEdgeValue (float)
 
void setMinNrVertices (int)
 
void setNrLargestOnly (int)
 
void setSampling (const StepInterval< int > &xsamp, const StepInterval< int > &ysamp)
 

Protected Member Functions

void addVertex (ODPolygon< float > &contour, bool headinsert, int idx, int idy, int hor, float frac) const
 
void findCrossings (Array3DImpl< float > &crossings, float z) const
 
void traceContours (Array3DImpl< float > &crossings, ObjectSet< ODPolygon< float > > &, bool closedonly) const
 

Protected Attributes

float bendpointeps_
 
unsigned int edgepar_
 
float edgevalue_
 
const Array2D< float > & field_
 
int minnrvertices_
 
int nrlargestonly_
 
const ODPolygon< float > * polyroi_
 
Interval< int > xrange_
 
StepInterval< int > xsampling_
 
Interval< int > yrange_
 
StepInterval< int > ysampling_
 

Detailed Description

Tracing the z-level contour of a 2D scalar field.

<>

Constructor & Destructor Documentation

◆ IsoContourTracer()

IsoContourTracer::IsoContourTracer ( const Array2D< float > &  )

◆ ~IsoContourTracer()

IsoContourTracer::~IsoContourTracer ( )

Member Function Documentation

◆ addVertex()

void IsoContourTracer::addVertex ( ODPolygon< float > &  contour,
bool  headinsert,
int  idx,
int  idy,
int  hor,
float  frac 
) const
protected

◆ findCrossings()

void IsoContourTracer::findCrossings ( Array3DImpl< float > &  crossings,
float  z 
) const
protected

◆ getContours()

bool IsoContourTracer::getContours ( ObjectSet< ODPolygon< float > > &  ,
float  z,
bool  closedonly = false 
) const

To close contours along (RectROI) edge.

◆ selectPolyROI()

void IsoContourTracer::selectPolyROI ( const ODPolygon< float > *  )

◆ selectRectROI()

void IsoContourTracer::selectRectROI ( const Interval< int > &  xintv,
const Interval< int > &  yintv 
)

◆ setBendPointsOnly()

void IsoContourTracer::setBendPointsOnly ( float  eps)

◆ setEdgeValue()

void IsoContourTracer::setEdgeValue ( float  )

◆ setMinNrVertices()

void IsoContourTracer::setMinNrVertices ( int  )

◆ setNrLargestOnly()

void IsoContourTracer::setNrLargestOnly ( int  )

◆ setSampling()

void IsoContourTracer::setSampling ( const StepInterval< int > &  xsamp,
const StepInterval< int > &  ysamp 
)

◆ traceContours()

void IsoContourTracer::traceContours ( Array3DImpl< float > &  crossings,
ObjectSet< ODPolygon< float > > &  ,
bool  closedonly 
) const
protected

Member Data Documentation

◆ bendpointeps_

float IsoContourTracer::bendpointeps_
protected

◆ edgepar_

unsigned int IsoContourTracer::edgepar_
protected

◆ edgevalue_

float IsoContourTracer::edgevalue_
protected

◆ field_

const Array2D<float>& IsoContourTracer::field_
protected

◆ minnrvertices_

int IsoContourTracer::minnrvertices_
protected

◆ nrlargestonly_

int IsoContourTracer::nrlargestonly_
protected

◆ polyroi_

const ODPolygon<float>* IsoContourTracer::polyroi_
protected

◆ xrange_

Interval<int> IsoContourTracer::xrange_
protected

◆ xsampling_

StepInterval<int> IsoContourTracer::xsampling_
protected

◆ yrange_

Interval<int> IsoContourTracer::yrange_
protected

◆ ysampling_

StepInterval<int> IsoContourTracer::ysampling_
protected

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