USGS

Isis 3.0 Object Programmers' Reference

Home

LineScanCameraGroundMap.h

Go to the documentation of this file.
00001 
00024 #ifndef LineScanCameraGroundMap_h
00025 #define LineScanCameraGroundMap_h
00026 
00027 #include "CameraGroundMap.h"
00028 
00029 namespace Isis {
00067   class LineScanCameraGroundMap : public CameraGroundMap {
00068     public:
00073       LineScanCameraGroundMap(Camera *cam) : CameraGroundMap(cam) {};
00074 
00076       virtual ~LineScanCameraGroundMap() {};
00077 
00078       virtual bool SetGround(const Latitude &lat, const Longitude &lon);
00079       virtual bool SetGround(const SurfacePoint &surfacePoint);
00080       virtual bool SetGround(const SurfacePoint &surfacePoint, const int &approxLine);
00081 
00082     protected:
00083       enum FindFocalPlaneStatus {
00084         Success,
00085         BoundingProblem,
00086         Failure
00087       };
00088 
00089       FindFocalPlaneStatus FindFocalPlane(const int &approxLine,
00090                                           const SurfacePoint &surfacePoint);
00091       double FindSpacecraftDistance(int line, const SurfacePoint &surfacePoint);
00092   };
00093 };
00094 #endif