Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
GreatCircles Class Reference
Draw great circle arcs in the fast preview. More...
#include <GreatCircles.h>
Public Member Functions | |
| void | setViewState (ViewState *viewState) |
| Set the ViewState to use for information on output projection and preview display. | |
| void | drawLineFromSpherical (double startLat, double startLong, double endLat, double endLong) |
| Draw the shortest segment of the great circle crossing two spherical coordinates. | |
Detailed Description
Draw great circle arcs in the fast preview.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.
Member Function Documentation
|
||||||||||||||||||||
|
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.
|
|
|
Set the ViewState to use for information on output projection and preview display.
|
The documentation for this class was generated from the following files:
- hugin1/hugin/GreatCircles.h
- hugin1/hugin/GreatCircles.cpp
1.3.9.1