Isis 3 Programmer Reference
SubArea.h
Go to the documentation of this file.
1 #ifndef SubArea_h
2 #define SubArea_h
3 
25 #include <string>
26 #include "Pvl.h"
27 #include "Cube.h"
28 
29 namespace Isis {
63  class SubArea {
64  public:
65  SubArea() {};
66 
67  ~SubArea() {};
68 
69  // Define the subarea
70  void SetSubArea(const int orignl, const int origns, const int sl,
71  const int ss, const int el, const int es,
72  const double linc, const double sinc);
73 
74  // Create an updated label for a subarea file
75  void UpdateLabel(Cube *icube, Cube *ocube, PvlGroup &results);
76 
77  private:
78  int p_sl;
79  int p_ss;
80  int p_el;
81  int p_es;
82  int p_nl;
83  int p_ns;
84  double p_linc;
85  double p_sinc;
86  };
87 };
88 #endif
int p_es
Ending sample of subarea.
Definition: SubArea.h:81
int p_nl
Number of lines in original file.
Definition: SubArea.h:82
int p_sl
Starting line of subarea.
Definition: SubArea.h:78
int p_ss
Starting sample of subarea.
Definition: SubArea.h:79
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:76
int p_ns
Number of samples in original file.
Definition: SubArea.h:83
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
int p_el
Ending line of subarea.
Definition: SubArea.h:80
Apply corrections to a cube label for subarea extraction.
Definition: SubArea.h:63
void UpdateLabel(Cube *icube, Cube *ocube, PvlGroup &results)
Modifies a label for a file containing a subarea.
Definition: SubArea.cpp:142
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double p_sinc
Sample increment for subarea.
Definition: SubArea.h:85
double p_linc
Line increment for subarea.
Definition: SubArea.h:84
IO Handler for Isis Cubes.
Definition: Cube.h:170