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 
17 namespace 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
FileName.h
ProjectionFactory.h
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Isis::UniversalGroundMap
Universal Ground Map.
Definition: UniversalGroundMap.h:69
Isis::BoxcarCachingAlgorithm
This algorithm is designed for applications that jump around between a couple of spots in the cube wi...
Definition: BoxcarCachingAlgorithm.h:32
Isis::ProcessPolygons
Definition: ProcessPolygons.h:47
BoxcarCachingAlgorithm.h
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Process.h
ProcessGroundPolygons.h
Isis::PvlObject::hasGroup
bool hasGroup(const QString &name) const
Returns a boolean value based on whether the object has the specified group or not.
Definition: PvlObject.h:210
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::CubeAttributeOutput
Manipulate and parse attributes of output cube filenames.
Definition: CubeAttribute.h:473
Isis::globalFactory
static geos::geom::GeometryFactory::Ptr globalFactory
Definition: PolygonTools.h:51
Isis::ProcessGroundPolygons::EndProcess
void EndProcess()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Definition: ProcessGroundPolygons.cpp:156
Isis::ProcessGroundPolygons::SetStatCubes
void SetStatCubes(const QString &parameter, QString &cube)
This is a method that is called directly from the application.
Definition: ProcessGroundPolygons.cpp:244
Isis::FileName::baseName
QString baseName() const
Returns the name of the file without the path and without extensions.
Definition: FileName.cpp:145
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::ProcessGroundPolygons
Process cube polygons to map or camera projections.
Definition: ProcessGroundPolygons.h:43
ProcessPolygons.h
Application.h
Isis::Process::SetInputCube
virtual Isis::Cube * SetInputCube(const QString &parameter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: Process.cpp:136
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
UniversalGroundMap.h
Brick.h
IException.h
std
Namespace for the standard library.
Isis::ProcessGroundPolygons::AppendOutputCube
void AppendOutputCube(QString &cube, const QString &avgFileName, const QString &countFileName="")
This gives the option to append to the cube.
Definition: ProcessGroundPolygons.cpp:189
Isis::CubeAttributeInput
Manipulate and parse attributes of input cube filenames.
Definition: CubeAttribute.h:381
Isis::ProcessGroundPolygons::ProcessGroundPolygons
ProcessGroundPolygons()
Definition: ProcessGroundPolygons.cpp:25
Projection.h
PolygonTools.h
Isis::ProcessGroundPolygons::Finalize
void Finalize()
This method cleans up any open outputcube files and deletes the pointer to the universal ground map i...
Definition: ProcessGroundPolygons.cpp:172
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::FileName::path
QString path() const
Returns the path of the file name.
Definition: FileName.cpp:103
Isis::ProcessGroundPolygons::Rasterize
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:40
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ProcessGroundPolygons::GetUniversalGroundMap
UniversalGroundMap * GetUniversalGroundMap()
Definition: ProcessGroundPolygons.h:79