1#ifndef ProcessPolygons_h
2#define ProcessPolygons_h
9#include <geos/geom/Coordinate.h>
10#include <geos/geom/MultiPolygon.h>
11#include <geos/geom/Polygon.h>
52 void SetStatCubes(
const QString ¶meter,
const int nsamps,
53 const int nlines,
int nbands = 1);
55 void SetStatCubes(
const QString &avgFileName,
const QString
57 const int nsamps,
const int nlines,
int nbands = 1);
61 const QString &countFileName =
"");
63 void Rasterize(std::vector<double> &samples,
64 std::vector<double> &lines,
65 std::vector<double> &values);
67 void Rasterize(std::vector<double> &samples,
68 std::vector<double> &lines,
69 int &band,
double &value);
75 void FillPolygon(
int Flag);
76 void GetPolygonCoords();
79 std::vector<double> m_sampleVertices, m_lineVertices, m_dns;
83 geos::geom::Polygon *m_imagePoly;
Buffer for containing a three dimensional section of an image.
Definition Brick.h:45
Manipulate and parse attributes of output cube filenames.
Definition CubeAttribute.h:473
IO Handler for Isis Cubes.
Definition Cube.h:168
Base class for all cube processing derivatives.
Definition Process.h:143
Definition ProcessPolygons.h:47
void SetIntersectAlgorithm(const bool useCenter)
Sets the algorithm for how output pixels are rasterized.
Definition ProcessPolygons.cpp:379
ProcessPolygons()
Definition ProcessPolygons.cpp:27
Isis::Cube * AppendOutputCube(const QString &avgFileName, const QString &countFileName="")
This gives the option to append to the cube.
Definition ProcessPolygons.cpp:274
void EndProcess()
Definition ProcessPolygons.cpp:244
void Rasterize(std::vector< double > &samples, std::vector< double > &lines, std::vector< double > &values)
Definition ProcessPolygons.cpp:43
void SetStatCubes(const QString ¶meter, const int nsamps, const int nlines, int nbands=1)
Definition ProcessPolygons.cpp:354
void Finalize()
Cleans up by closing cubes and freeing memory for owned cubes.
Definition ProcessPolygons.cpp:257
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16