#include <GreatCircles.h>
Public Member Functions | |
| void | setVisualizationState (VisualizationState *visualizationState) |
| Set the ViewState to use for information on output projection and preview display. | |
| void | drawLineFromSpherical (double startLat, double startLong, double endLat, double endLong, double width=1.0) |
| Draw the shortest segment of the great circle crossing two spherical coordinates. | |
Private Attributes | |
| VisualizationState * | m_visualizationState |
A great circle is the spherical equivalent of a straight line, but is often drawn curved, depending on the start and end positions and the projection.
Definition at line 35 of file GreatCircles.h.
|
||||||||||||||||||||||||
|
Draw the shortest segment of the great circle crossing two spherical coordinates. Actually, the line is approximated since OpenGL doesn't do curves. Preconditions: The OpenGL state must be ready to draw lines the required width and colour, and outside of a glBegin/glEnd pair. setViewStatePtr must have been called with a valid (and still valid9 ViewState pointer to the ViewState used by the preview.
Definition at line 57 of file GreatCircles.cpp. References DEBUG_ASSERT, and m_visualizationState. Referenced by PreviewControlPointTool::AfterDrawImagesEvent(). |
|
|
Set the ViewState to use for information on output projection and preview display.
Definition at line 52 of file GreatCircles.cpp. References m_visualizationState. Referenced by PreviewControlPointTool::PreviewControlPointTool(). |
|
|
Definition at line 62 of file GreatCircles.h. Referenced by drawLineFromSpherical(), and setVisualizationState(). |
1.3.9.1