|
Isis 3 Programmer Reference
|
1 #ifndef CameraPointInfo_h
2 #define CameraPointInfo_h
83 void SetCube(
const QString &cubeFileName);
86 const bool outside =
false,
const bool error =
false);
89 const bool error =
false);
91 const bool error =
false);
93 const bool outside =
false,
const bool error =
false);
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.
Camera * m_camera
The camera to extract point information from.
PvlGroup * SetCenter(const bool outside=false, const bool error=false)
SetCenter sets the image coordinates to the center of the image.
virtual PvlGroup * GetPointInfo(bool passed, bool outside, bool errors)
GetPointInfo builds the PvlGroup containing all the important information derived from the Camera.
void SetCSVOutput(bool csvOutput)
Set the output format (true is CSV, false is PVL)
CameraPointInfo provides quick access to the majority of information avaliable from a camera on a poi...
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.
Cube * cube()
Retrieves a pointer to the current cube.
Class for quick re-accessing of cubes based on file name.
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.
CubeManager * m_usedCubes
The cubeManager used to open the current cube.
Contains multiple PvlContainers.
Camera * camera()
Retrieves a pointer to the camera.
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.
bool m_csvOutput
Boolean to keep track of output format (CSV or PVL)
IO Handler for Isis Cubes.
void SetCube(const QString &cubeFileName)
SetCube opens the given cube in a CubeManager.
bool CheckCube()
CheckCube checks that a cube has been set before the data for a point is accessed.
CameraPointInfo()
Constructor, initializes CubeManager and other variables for use.
virtual ~CameraPointInfo()
Destructor, deletes CubeManager object used.
This is free and unencumbered software released into the public domain.
Cube * m_currentCube
The cube to extract camera information from.