Isis 3 Developer Reference
ProcessGroundPolygons.h
Go to the documentation of this file.
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();
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
ProcessGroundPolygons()
Definition: ProcessGroundPolygons.cpp:19
Universal Ground Map.
Definition: UniversalGroundMap.h:85
void SetStatCubes(const QString &parameter, QString &cube)
This is a method that is called directly from the application.
Definition: ProcessGroundPolygons.cpp:238
void Finalize()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Definition: ProcessGroundPolygons.cpp:166
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...
Definition: ProcessGroundPolygons.cpp:34
void EndProcess()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Definition: ProcessGroundPolygons.cpp:150
Manipulate and parse attributes of output cube filenames.
Definition: CubeAttribute.h:489
Process cube polygons to map or camera projections.
Definition: ProcessGroundPolygons.h:37
Container for cube-like labels.
Definition: Pvl.h:135
Definition: ProcessPolygons.h:42
void AppendOutputCube(QString &cube, const QString &avgFileName, const QString &countFileName="")
This gives the option to append to the cube.
Definition: ProcessGroundPolygons.cpp:183
UniversalGroundMap * GetUniversalGroundMap()
Definition: ProcessGroundPolygons.h:73
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31