Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
CameraPointInfo.h
Go to the documentation of this file.
1#ifndef CameraPointInfo_h
2#define CameraPointInfo_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <QString>
11
12namespace Isis {
13 class Camera;
14 class CubeManager;
15 class Cube;
16 class PvlGroup;
17
18
78
79 public:
81 virtual ~CameraPointInfo();
82
83 void SetCube(const QString &cubeFileName);
84 void SetCube(const QString &cubeFileName, const QString &csmFileName);
85 void SetCSVOutput(bool csvOutput);
86 PvlGroup *SetImage(const double sample, const double line,
87 const bool outside = false, const bool error = false);
88 PvlGroup *SetCenter(const bool outside = false, const bool error = false);
89 PvlGroup *SetSample(const double sample, const bool outside = false,
90 const bool error = false);
91 PvlGroup *SetLine(const double line, const bool outside = false,
92 const bool error = false);
93 PvlGroup *SetGround(const double latitude, const double longitude,
94 const bool outside = false, const bool error = false);
95
96 protected:
97 Camera *camera();
98 Cube *cube();
99
100 private:
101 bool CheckCube();
102 virtual PvlGroup *GetPointInfo(bool passed, bool outside, bool errors);
103 CubeManager *m_usedCubes;
104 Cube *m_currentCube;
105 Camera *m_camera;
106 bool m_csvOutput;
107 };
108};
109
110#endif
111
Definition Camera.h:236
void SetCSVOutput(bool csvOutput)
Set the output format (true is CSV, false is PVL)
Definition CameraPointInfo.cpp:51
Camera * camera()
Retrieves a pointer to the camera.
Definition CameraPointInfo.cpp:700
PvlGroup * SetCenter(const bool outside=false, const bool error=false)
SetCenter sets the image coordinates to the center of the image.
Definition CameraPointInfo.cpp:132
Cube * cube()
Retrieves a pointer to the current cube.
Definition CameraPointInfo.cpp:710
CameraPointInfo()
Constructor, initializes CubeManager and other variables for use.
Definition CameraPointInfo.cpp:37
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:155
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:204
virtual ~CameraPointInfo()
Destructor, deletes CubeManager object used.
Definition CameraPointInfo.cpp:61
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:111
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:179
void SetCube(const QString &cubeFileName)
SetCube opens the given cube in a CubeManager.
Definition CameraPointInfo.cpp:76
IO Handler for Isis Cubes.
Definition Cube.h:168
Class for quick re-accessing of cubes based on file name.
Definition CubeManager.h:70
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16