Isis 3.0
Home
CameraPointInfo.h
Go to the documentation of this file.
1 
23 #ifndef CameraPointInfo_h
24 #define CameraPointInfo_h
25 
26 #include <QString>
27 
28 namespace Isis {
29  class Camera;
30  class CubeManager;
31  class Cube;
32  class PvlGroup;
33 
34 
93 
94  public:
96  virtual ~CameraPointInfo();
97 
98  void SetCube(const QString &cubeFileName);
99  void SetCSVOutput(bool csvOutput);
100  PvlGroup *SetImage(const double sample, const double line,
101  const bool outside = false, const bool error = false);
102  PvlGroup *SetCenter(const bool outside = false, const bool error = false);
103  PvlGroup *SetSample(const double sample, const bool outside = false,
104  const bool error = false);
105  PvlGroup *SetLine(const double line, const bool outside = false,
106  const bool error = false);
107  PvlGroup *SetGround(const double latitude, const double longitude,
108  const bool outside = false, const bool error = false);
109 
110  protected:
111  Camera *camera();
112  Cube *cube();
113 
114  private:
115  bool CheckCube();
116  virtual PvlGroup *GetPointInfo(bool passed, bool outside, bool errors);
117  CubeManager *m_usedCubes;
118  Cube *m_currentCube;
119  Camera *m_camera;
120  bool m_csvOutput;
121  };
122 };
123 
124 #endif
125 
Cube * cube()
Retrieves a pointer to the current cube.
Definition: CameraPointInfo.cpp:585
CameraPointInfo()
Constructor, initializes CubeManager and other variables for use.
Definition: CameraPointInfo.cpp:52
Camera * camera()
Retrieves a pointer to the camera.
Definition: CameraPointInfo.cpp:575
virtual ~CameraPointInfo()
Destructor, deletes CubeManager object used.
Definition: CameraPointInfo.cpp:71
CameraPointInfo provides quick access to the majority of information avaliable from a camera on a poi...
Definition: CameraPointInfo.h:92
Definition: Camera.h:240
void SetCube(const QString &cubeFileName)
SetCube opens the given cube in a CubeManager.
Definition: CameraPointInfo.cpp:86
PvlGroup * SetImage(const double sample, const double line, const bool outside=false, const bool error=false)
SetImage sets a sample, line image coordinate in the camera so data can be accessed.
Definition: CameraPointInfo.cpp:105
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
void SetCSVOutput(bool csvOutput)
Definition: CameraPointInfo.cpp:61
PvlGroup * SetLine(const double line, const bool outside=false, const bool error=false)
SetLine sets the image coordinates to the center sample and the given line.
Definition: CameraPointInfo.cpp:173
Class for quick re-accessing of cubes based on file name.
Definition: CubeManager.h:64
PvlGroup * SetSample(const double sample, const bool outside=false, const bool error=false)
SetSample sets the image coordinates to the center line and the given sample.
Definition: CameraPointInfo.cpp:149
PvlGroup * SetGround(const double latitude, const double longitude, const bool outside=false, const bool error=false)
SetGround sets a latitude, longitude grrund coordinate in the camera so data can be accessed...
Definition: CameraPointInfo.cpp:198
PvlGroup * SetCenter(const bool outside=false, const bool error=false)
SetCenter sets the image coordinates to the center of the image.
Definition: CameraPointInfo.cpp:126
IO Handler for Isis Cubes.
Definition: Cube.h:158