USGS

Isis 3.0 Object Programmers' Reference

Home

ProcessGroundPolygons.h
1 #ifndef ProcessGroundPolygons_h
2 #define ProcessGroundPolygons_h
3 
4 #include "ProjectionFactory.h"
5 #include "Process.h"
6 #include "Brick.h"
7 #include "FileName.h"
8 #include "ProcessPolygons.h"
9 #include "UniversalGroundMap.h"
10 
11 namespace Isis {
35  public:
37 
38  // SetOutputCube() is not virtual in the Process class nor in the
39  // ProcessPolygons class, so the following definitions for this method
40  // are the only ones that are allowed for ProcessGroundPolygon objects
41  // and child objects
42 
43  //Cube is an existing camera cube or projection cube
44  void SetStatCubes(const QString &parameter, QString &cube);
45 
46  //Determine cube size from the projection map
47  void SetStatCubes(const QString &parameter, Isis::Pvl &map, int bands);
48 
49  void SetStatCubes(const QString &avgFileName, const QString
50  &countFileName, Isis::CubeAttributeOutput &atts,
51  QString &cube);
52 
53  void SetStatCubes(const QString &avgFileName, const QString
54  &countFileName, Isis::CubeAttributeOutput &atts,
55  Isis::Pvl &map, int bands);
56 
57  void AppendOutputCube(QString &cube, const QString &avgFileName,
58  const QString &countFileName = "");
59 
60  void Rasterize(std::vector<double> &lat,
61  std::vector<double> &lon,
62  std::vector<double> &values);
63 
64  void Rasterize(std::vector<double> &lat,
65  std::vector<double> &lon,
66  int &band, double &value);
67 
68  void EndProcess();
69  void Finalize();
70  UniversalGroundMap *GetUniversalGroundMap() {
71  return p_groundMap;
72  };
73 
74  private:
75  void Convert(std::vector<double> &lat, std::vector<double> &lon);
76  UniversalGroundMap *p_groundMap;
77  std::vector<double> p_samples, p_lines;
78 
79  };
80 
81 };
82 
83 #endif