1 #ifndef ProcessPolygons_h 2 #define ProcessPolygons_h 4 #include <geos/geom/Coordinate.h> 5 #include <geos/geom/MultiPolygon.h> 6 #include <geos/geom/Polygon.h> 47 void SetStatCubes(
const QString ¶meter,
const int nsamps,
48 const int nlines,
int nbands = 1);
50 void SetStatCubes(
const QString &avgFileName,
const QString
52 const int nsamps,
const int nlines,
int nbands = 1);
56 const QString &countFileName =
"");
58 void Rasterize(std::vector<double> &samples,
59 std::vector<double> &lines,
60 std::vector<double> &values);
62 void Rasterize(std::vector<double> &samples,
63 std::vector<double> &lines,
64 int &band,
double &value);
70 void FillPolygon(
int Flag);
71 void GetPolygonCoords();
74 std::vector<double> m_sampleVertices, m_lineVertices, m_dns;
78 geos::geom::Polygon *m_imagePoly;
void SetIntersectAlgorithm(const bool useCenter)
Sets the algorithm for how output pixels are rasterized.
Definition: ProcessPolygons.cpp:374
void EndProcess()
Definition: ProcessPolygons.cpp:239
void Finalize()
Cleans up by closing cubes and freeing memory for owned cubes.
Definition: ProcessPolygons.cpp:252
void Rasterize(std::vector< double > &samples, std::vector< double > &lines, std::vector< double > &values)
Definition: ProcessPolygons.cpp:38
ProcessPolygons()
Definition: ProcessPolygons.cpp:22
Buffer for containing a three dimensional section of an image.
Definition: Brick.h:61
Isis::Cube * AppendOutputCube(const QString &avgFileName, const QString &countFileName="")
This gives the option to append to the cube.
Definition: ProcessPolygons.cpp:269
void SetStatCubes(const QString ¶meter, const int nsamps, const int nlines, int nbands=1)
Definition: ProcessPolygons.cpp:349
Manipulate and parse attributes of output cube filenames.
Definition: CubeAttribute.h:489
Definition: ProcessPolygons.h:42
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for all cube processing derivatives.
Definition: Process.h:158
IO Handler for Isis Cubes.
Definition: Cube.h:170