Isis Developer Reference
ProcessGroundPolygons.h
Go to the documentation of this file.
1
6/* SPDX-License-Identifier: CC0-1.0 */
7#ifndef ProcessGroundPolygons_h
8#define ProcessGroundPolygons_h
9
10#include "ProjectionFactory.h"
11#include "Process.h"
12#include "Brick.h"
13#include "FileName.h"
14#include "ProcessPolygons.h"
15#include "UniversalGroundMap.h"
16
17namespace Isis {
44 public:
46
47 // SetOutputCube() is not virtual in the Process class nor in the
48 // ProcessPolygons class, so the following definitions for this method
49 // are the only ones that are allowed for ProcessGroundPolygon objects
50 // and child objects
51
52 //Cube is an existing camera cube or projection cube
53 void SetStatCubes(const QString &parameter, QString &cube);
54
55 //Determine cube size from the projection map
56 void SetStatCubes(const QString &parameter, Isis::Pvl &map, int bands);
57
58 void SetStatCubes(const QString &avgFileName, const QString
59 &countFileName, Isis::CubeAttributeOutput &atts,
60 QString &cube);
61
62 void SetStatCubes(const QString &avgFileName, const QString
63 &countFileName, Isis::CubeAttributeOutput &atts,
64 Isis::Pvl &map, int bands);
65
66 void AppendOutputCube(QString &cube, const QString &avgFileName,
67 const QString &countFileName = "");
68
69 void Rasterize(std::vector<double> &lat,
70 std::vector<double> &lon,
71 std::vector<double> &values);
72
73 void Rasterize(std::vector<double> &lat,
74 std::vector<double> &lon,
75 int &band, double &value);
76
77 void EndProcess();
78 void Finalize();
80 return p_groundMap;
81 };
82
83 private:
84 void Convert(std::vector<double> &lat, std::vector<double> &lon);
85 UniversalGroundMap *p_groundMap;
86 std::vector<double> p_samples, p_lines;
87
88 };
89
90};
91
92#endif
Manipulate and parse attributes of output cube filenames.
Definition CubeAttribute.h:473
Process cube polygons to map or camera projections.
Definition ProcessGroundPolygons.h:43
UniversalGroundMap * GetUniversalGroundMap()
Definition ProcessGroundPolygons.h:79
void AppendOutputCube(QString &cube, const QString &avgFileName, const QString &countFileName="")
This gives the option to append to the cube.
Definition ProcessGroundPolygons.cpp:188
void Finalize()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Definition ProcessGroundPolygons.cpp:171
ProcessGroundPolygons()
Definition ProcessGroundPolygons.cpp:23
void EndProcess()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Definition ProcessGroundPolygons.cpp:155
void SetStatCubes(const QString &parameter, QString &cube)
This is a method that is called directly from the application.
Definition ProcessGroundPolygons.cpp:243
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:38
Definition ProcessPolygons.h:47
Container for cube-like labels.
Definition Pvl.h:119
Universal Ground Map.
Definition UniversalGroundMap.h:69
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16