List of all members.
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. |
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.
|double|| width = |
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.
|startLat||lattiude of the first point in degrees.|
|startLong||longitude of the first point in degrees.|
|endLat||lattide of the second point in degrees.|
|endLong||longitude of the second point in degrees.|
|width||width of the line in pixels.|
Referenced by PreviewControlPointTool::AfterDrawImagesEvent().
|void GreatCircles::setVisualizationState||(||VisualizationState *||visualizationState||)|
Set the ViewState to use for information on output projection and preview display.
|viewState||a pointer to the ViewState the preview is using.|
Referenced by PreviewControlPointTool::PreviewControlPointTool().