|
Isis Developer Reference
|
Go to the documentation of this file.
16 class UniversalGroundMap;
101 unsigned int &x,
unsigned int &y);
106 void SetGridBit(
unsigned int x,
unsigned int y,
bool latGrid);
107 bool GetGridBit(
unsigned int x,
unsigned int y,
bool latGrid);
108 void DrawLineOnGrid(
unsigned int x1,
unsigned int y1,
109 unsigned int x2,
unsigned int y2,
114 char *p_latLinesGrid;
115 char *p_lonLinesGrid;
116 unsigned int p_width;
117 unsigned int p_height;
118 unsigned long p_gridSize;
129 double p_defaultResolution;
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Universal Ground Map.
Definition: UniversalGroundMap.h:69
void CheckStatus()
Checks and updates the status.
Definition: Progress.cpp:105
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
Definition: Progress.cpp:85
Latitude maxLatitude() const
Returns the maximum latitude for the grid.
Definition: GroundGrid.cpp:585
Container for cube-like labels.
Definition: Pvl.h:119
Longitude maxLongitude() const
Returns the maximum longitude for the grid.
Definition: GroundGrid.cpp:599
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
PvlGroup * GetMappingGroup()
Returns a mapping group representation of the projection or camera.
Definition: GroundGrid.cpp:546
void setErrorChecking(ErrorChecking errors)
Set the error checking status.
Definition: Latitude.cpp:420
Calculates a lat/lon grid over an area.
Definition: GroundGrid.h:58
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Latitude minLatitude() const
Returns the minimum latitude for the grid.
Definition: GroundGrid.cpp:557
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis exception class.
Definition: IException.h:91
Defines an angle and provides unit conversions.
Definition: Angle.h:45
void SetGroundLimits(Latitude minLat, Longitude minLon, Latitude maxLat, Longitude maxLon)
This restricts (or grows) the ground range in which to draw grid lines.
Definition: GroundGrid.cpp:411
void WalkBoundary()
This draws grid lines along the extremes of the lat/lon box of the grid.
Definition: GroundGrid.cpp:434
bool PixelOnGrid(int x, int y)
Returns true if the grid is on this point.
Definition: GroundGrid.cpp:529
Program progress reporter.
Definition: Progress.h:42
virtual bool GetXY(Latitude lat, Longitude lon, unsigned int &x, unsigned int &y)
This method converts a lat/lon to an X/Y.
Definition: GroundGrid.cpp:618
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Namespace for the standard library.
bool isValid() const
This indicates whether we have a legitimate angle stored or are in an unset, or invalid,...
Definition: Angle.cpp:95
UniversalGroundMap * GroundMap()
Returns the ground map for children.
Definition: GroundGrid.cpp:643
double meters() const
Get the distance in meters.
Definition: Distance.cpp:85
GroundGrid(UniversalGroundMap *gmap, bool splitLatLon, bool extendGrid, unsigned int width, unsigned int height)
This method initializes the class by allocating the grid, calculating the lat/lon range,...
Definition: GroundGrid.cpp:40
Longitude minLongitude() const
Returns the minimum longitude for the grid.
Definition: GroundGrid.cpp:571
Adds specific functionality to C++ strings.
Definition: IString.h:165
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
void CreateGrid(Latitude baseLat, Longitude baseLon, Angle latInc, Angle lonInc, Progress *progress=0)
This method draws the grid internally, using default resolutions.
Definition: GroundGrid.cpp:218
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
virtual ~GroundGrid()
Delete the object.
Definition: GroundGrid.cpp:167