26 #ifndef __TERRALIB_RASTER_INTERNAL_VECTORIZER_H
27 #define __TERRALIB_RASTER_INTERNAL_VECTORIZER_H
32 #include "../geometry/Coord2D.h"
33 #include "../geometry/LineString.h"
34 #include "../sam/rtree.h"
76 Vectorizer(
Raster* r, std::size_t b,
unsigned int mp = 0,
const bool noDataExclusion =
true );
106 bool run(std::vector<te::gm::Geometry*>& polygons, std::vector< double > *
const polygonsValues = 0 );
118 bool startingEdgeTest(
const int& x,
const int& y);
129 bool detectEdge(
long segmentInitialCol,
long segmentInitialRow,
te::gm::LinearRing& outputLine);
151 #endif // __TERRALIB_RASTER_INTERNAL_VECTORIZER_H
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.
unsigned long m_nColumns
The number of columns.
Raster * m_rasterPtr
A pointer to the input image.
An utility struct for representing 2D coordinates.
unsigned long m_nLines
The number of lines.
A LinearRing is a LineString that is both closed and simple.
double m_resX
Resolution X.
Enumerations for the Raster module.
An abstract class for raster data strucutures.
unsigned int m_rasterBand
The raster band to be used.
An abstract class for raster data strucutures.
unsigned int m_maxPolygons
The maximum allowed number of polygons to be created.
double m_resY
Resolution Y.
It implements the vectorizer, based on TerraLib 4 algorithm.
double m_noDataValue
The used dummy value.
A polygon container node class.