Tracing the z-level contour of a 2D scalar field.
More...
List of all members.
Public Member Functions |
| | IsoContourTracer (const Array2D< float > &) |
| | ~IsoContourTracer () |
| void | setSampling (const StepInterval< int > &xsamp, const StepInterval< int > &ysamp) |
| void | selectRectROI (const Interval< int > &xintv, const Interval< int > &yintv) |
| void | selectPolyROI (const ODPolygon< float > *) |
| void | setMinNrVertices (int) |
| void | setNrLargestOnly (int) |
| bool | getContours (ObjectSet< ODPolygon< float > > &, float z, bool closedonly=false) const |
Protected Member Functions |
| void | findCrossings (Array3DImpl< float > &crossings, float z) const |
| void | traceContours (Array3DImpl< float > &crossings, ObjectSet< ODPolygon< float > > &, bool closedonly) const |
| void | addVertex (ODPolygon< float > &contour, bool headinsert, int idx, int idy, int hor, float frac) const |
Protected Attributes |
| const Array2D< float > & | field_ |
| StepInterval< int > | xsampling_ |
| StepInterval< int > | ysampling_ |
| Interval< int > | xrange_ |
| Interval< int > | yrange_ |
| int | minnrvertices_ |
| int | nrlargestonly_ |
| const ODPolygon< float > * | polyroi_ |
Detailed Description
Tracing the z-level contour of a 2D scalar field.
Constructor & Destructor Documentation
| IsoContourTracer::IsoContourTracer |
( |
const Array2D< float > & |
|
) |
|
| IsoContourTracer::~IsoContourTracer |
( |
|
) |
[inline] |
Member Function Documentation
| void IsoContourTracer::addVertex |
( |
ODPolygon< float > & |
contour, |
|
|
bool |
headinsert, |
|
|
int |
idx, |
|
|
int |
idy, |
|
|
int |
hor, |
|
|
float |
frac | |
|
) |
| | const [protected] |
| void IsoContourTracer::findCrossings |
( |
Array3DImpl< float > & |
crossings, |
|
|
float |
z | |
|
) |
| | const [protected] |
| bool IsoContourTracer::getContours |
( |
ObjectSet< ODPolygon< float > > & |
, |
|
|
float |
z, |
|
|
bool |
closedonly = false | |
|
) |
| | const |
| void IsoContourTracer::selectPolyROI |
( |
const ODPolygon< float > * |
|
) |
|
| void IsoContourTracer::selectRectROI |
( |
const Interval< int > & |
xintv, |
|
|
const Interval< int > & |
yintv | |
|
) |
| | |
| void IsoContourTracer::setMinNrVertices |
( |
int |
|
) |
|
| void IsoContourTracer::setNrLargestOnly |
( |
int |
|
) |
|
Member Data Documentation