Isis 3 Programmer Reference
SubArea.h
1 #ifndef SubArea_h
2 #define SubArea_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include <string>
10 #include "Pvl.h"
11 #include "Cube.h"
12 
13 namespace Isis {
47  class SubArea {
48  public:
49  SubArea() {};
50 
51  ~SubArea() {};
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
Isis::SubArea::SetSubArea
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
Isis::SubArea::p_es
int p_es
Ending sample of subarea.
Definition: SubArea.h:65
Isis::SubArea::p_ss
int p_ss
Starting sample of subarea.
Definition: SubArea.h:63
Isis::SubArea::UpdateLabel
void UpdateLabel(Cube *icube, Cube *ocube, PvlGroup &results)
Modifies a label for a file containing a subarea.
Definition: SubArea.cpp:126
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::SubArea::p_el
int p_el
Ending line of subarea.
Definition: SubArea.h:64
Isis::SubArea::p_nl
int p_nl
Number of lines in original file.
Definition: SubArea.h:66
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::SubArea
Apply corrections to a cube label for subarea extraction.
Definition: SubArea.h:47
Isis::SubArea::p_sl
int p_sl
Starting line of subarea.
Definition: SubArea.h:62
Isis::SubArea::p_sinc
double p_sinc
Sample increment for subarea.
Definition: SubArea.h:69
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::SubArea::p_linc
double p_linc
Line increment for subarea.
Definition: SubArea.h:68
Isis::SubArea::p_ns
int p_ns
Number of samples in original file.
Definition: SubArea.h:67