Revision 546242
Go back to digest for 4th June 2006Features in Educational
Implementing multiple map projections!
You now have a choice in how the sky map is projected:
Lambert Azimuthal Equal-area (this is the one we've been using)
Azimuthal Equidistant (similar to Lambert)
Orthographic (like viewing a globe)
Stereographic
Gnomonic (great circles are straight lines)You can choose the projection in the View menu, or with the F5-F10 keys
TO get a feel for the differences, try zooming out to see the whole
projection and then switch between them.
WARNING: I renamed "getXY()" to "toScreen()" and "dXdYToRaDec()" to
"fromScreen()" to better reflect their complementary neature. However,
I haven't yet changed fromScreen() to deal with the multiple map
projections, so things like mouse events won't work properly unless you
are using Lambert.
TODO: the Projection submenu items need to be radio-style items.
I also fixed a bug that caused a crash when opening the Configuration
window. However, there are still problems with that window (after all,
this is the first time we've seen it in 4.x!)
File Changes
- /trunk/KDE/kdeedu/kstars/kstars
- /kstars.h
- /kstars.kcfg
- /kstarsactions.cpp
- /kstarsinit.cpp
- /kstarsui.rc
- /opsguides.ui
- /skymap.cpp
- /skymap.h
- /skymapdraw.cpp
- /skymapevents.cpp
- /skyobject.h
- /skypoint.cpp
- /skypoint.h
- /starobject.h
- /skycomponents/asteroidscomponent.cpp
- /skycomponents/cometscomponent.cpp
- /skycomponents/constellationboundarycomponent.cpp
- /skycomponents/constellationlinescomponent.cpp
- /skycomponents/constellationnamescomponent.cpp
- /skycomponents/coordinategridcomponent.cpp
- /skycomponents/customcatalogcomponent.cpp
- /skycomponents/deepskycomponent.cpp
- /skycomponents/eclipticcomponent.cpp
- /skycomponents/equatorcomponent.cpp
- /skycomponents/horizoncomponent.cpp
- /skycomponents/jupitermoonscomponent.cpp
- /skycomponents/milkywaycomponent.cpp
- /skycomponents/solarsystemlistcomponent.cpp
- /skycomponents/solarsystemsinglecomponent.cpp
- /skycomponents/starcomponent.cpp