1 #ifndef UniversalGroundMap_h 2 #define UniversalGroundMap_h 115 bool SetImage(
double sample,
double line);
123 bool allowEstimation =
true);
This class defines a body-fixed surface point.
Isis::Camera * p_camera
The camera (if the image has a camera)
double Line() const
Returns the current line value of the camera model or projection.
Isis::Projection * p_projection
The projection (if the image is projected)
~UniversalGroundMap()
Destroys the UniversalGroundMap object.
Use the projection for functionality well outside the original image if available, and fall back to camera.
This class is designed to encapsulate the concept of a Latitude.
This class is designed to encapsulate the concept of a Longitude.
Base class for Map Projections.
bool SetUnboundGround(Latitude lat, Longitude lon)
Returns whether the lat/lon position was set successfully in the camera model or projection.
bool SetGround(Latitude lat, Longitude lon)
Returns whether the lat/lon position was set successfully in the camera model or projection.
Isis::Projection * Projection() const
Return the projection associated with the ground map (NULL implies none)
double UniversalLatitude() const
Returns the universal latitude of the camera model or projection.
CameraPriority
This enum is used to define whether to use a camera or projection primarily, and which to fall back o...
UniversalGroundMap(Cube &cube, CameraPriority priority=CameraFirst)
Constructs a UniversalGroundMap object from a cube.
bool SetImage(double sample, double line)
Returns whether the sample/line postion was set successfully in the camera model or projection...
void SetBand(const int band)
Set the image band number.
bool HasCamera()
Returns whether the ground map has a camera or not.
This is the default because cameras are projection-aware.
Namespace for ISIS/Bullet specific routines.
Isis::Camera * Camera() const
Return the camera associated with the ground map (NULL implies none)
bool SetUniversalGround(double lat, double lon)
Returns whether the lat/lon position was set successfully in the camera model or projection.
double Sample() const
Returns the current line value of the camera model or projection.
double UniversalLongitude() const
Returns the universal longitude of the camera model or projection.
double Resolution() const
Returns the resolution of the camera model or projection.
bool HasProjection()
Returns whether the ground map has a projection or not.
bool GroundRange(Cube *cube, Latitude &minLat, Latitude &maxLat, Longitude &minLon, Longitude &maxLon, bool allowEstimation=true)
Find the lat/lon range of the image.
IO Handler for Isis Cubes.