Isis Developer Reference
SubArea.h
Go to the documentation of this file.
1#ifndef SubArea_h
2#define SubArea_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <string>
10#include "Pvl.h"
11#include "Cube.h"
12
13namespace Isis {
47 class SubArea {
48 public:
49 SubArea() {};
50
52
53 // Define the subarea
54 void SetSubArea(const int orignl, const int origns, const int sl,
55 const int ss, const int el, const int es,
56 const double linc, const double sinc);
57
58 // Create an updated label for a subarea file
59 void UpdateLabel(Cube *icube, Cube *ocube, PvlGroup &results);
60
61 private:
62 int p_sl;
63 int p_ss;
64 int p_el;
65 int p_es;
66 int p_nl;
67 int p_ns;
68 double p_linc;
69 double p_sinc;
70 };
71};
72#endif
IO Handler for Isis Cubes.
Definition Cube.h:168
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Apply corrections to a cube label for subarea extraction.
Definition SubArea.h:47
SubArea()
Definition SubArea.h:49
void UpdateLabel(Cube *icube, Cube *ocube, PvlGroup &results)
Modifies a label for a file containing a subarea.
Definition SubArea.cpp:126
~SubArea()
Definition SubArea.h:51
void SetSubArea(const int orignl, const int origns, const int sl, const int ss, const int el, const int es, const double linc, const double sinc)
Defines the subarea.
Definition SubArea.cpp:60
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16