Isis 3 Programmer Reference
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 {
38  public:
40 
41  // SetOutputCube() is not virtual in the Process class nor in the
42  // ProcessPolygons class, so the following definitions for this method
43  // are the only ones that are allowed for ProcessGroundPolygon objects
44  // and child objects
45 
46  //Cube is an existing camera cube or projection cube
47  void SetStatCubes(const QString &parameter, QString &cube);
48 
49  //Determine cube size from the projection map
50  void SetStatCubes(const QString &parameter, Isis::Pvl &map, int bands);
51 
52  void SetStatCubes(const QString &avgFileName, const QString
53  &countFileName, Isis::CubeAttributeOutput &atts,
54  QString &cube);
55 
56  void SetStatCubes(const QString &avgFileName, const QString
57  &countFileName, Isis::CubeAttributeOutput &atts,
58  Isis::Pvl &map, int bands);
59 
60  void AppendOutputCube(QString &cube, const QString &avgFileName,
61  const QString &countFileName = "");
62 
63  void Rasterize(std::vector<double> &lat,
64  std::vector<double> &lon,
65  std::vector<double> &values);
66 
67  void Rasterize(std::vector<double> &lat,
68  std::vector<double> &lon,
69  int &band, double &value);
70 
71  void EndProcess();
72  void Finalize();
73  UniversalGroundMap *GetUniversalGroundMap() {
74  return p_groundMap;
75  };
76 
77  private:
78  void Convert(std::vector<double> &lat, std::vector<double> &lon);
79  UniversalGroundMap *p_groundMap;
80  std::vector<double> p_samples, p_lines;
81 
82  };
83 
84 };
85 
86 #endif
Universal Ground Map.
void SetStatCubes(const QString &parameter, QString &cube)
This is a method that is called directly from the application.
void Convert(std::vector< double > &lat, std::vector< double > &lon)
Converts lat/long to line/sample using the universal ground map object.
void Finalize()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
void Rasterize(std::vector< double > &lat, std::vector< double > &lon, std::vector< double > &values)
This method gets called from the application with the lat/lon vertices of a polygon along with a vect...
void EndProcess()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Manipulate and parse attributes of output cube filenames.
Process cube polygons to map or camera projections.
Container for cube-like labels.
Definition: Pvl.h:135
void AppendOutputCube(QString &cube, const QString &avgFileName, const QString &countFileName="")
This gives the option to append to the cube.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31