Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera Controls for Navigation Widget #4

Open
wants to merge 43 commits into
base: widgets-gsoc-2013
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
5942c79
Set up folder and files
raviagrwl420 Jul 13, 2013
b190eb1
Modified Viewer to include Navigation Widget
raviagrwl420 Jul 13, 2013
9f84960
basic code added to Navigation.js and NavigationViewModel.js
raviagrwl420 Jul 13, 2013
f08e777
basic Navigation Widget design implemented
raviagrwl420 Jul 13, 2013
3e623d3
updated color and cleaned up
raviagrwl420 Jul 15, 2013
a07ed0d
eventListeners and callback functions added
raviagrwl420 Jul 15, 2013
a06409b
interactive widget attempted
raviagrwl420 Aug 8, 2013
cfce5eb
Zoom pointer interactive
raviagrwl420 Aug 16, 2013
6912e5a
Merge branch 'master' of https://github.com/AnalyticalGraphicsInc/ces…
raviagrwl420 Aug 20, 2013
147aa7b
Navigation widget resize function added
raviagrwl420 Aug 20, 2013
f70f92e
Zoom pointer motion streamlined
raviagrwl420 Aug 21, 2013
c512907
Properties added
raviagrwl420 Aug 22, 2013
2ad9bab
Tilt pointer interactive
raviagrwl420 Aug 27, 2013
1f98e42
North ring made interactive
raviagrwl420 Aug 29, 2013
57038c5
panJoystick pointer made interactive
raviagrwl420 Aug 30, 2013
8a3e417
maximum pointer distance restricted
raviagrwl420 Aug 30, 2013
901b37a
Camera rolling
raviagrwl420 Sep 2, 2013
1ab68b4
handleZoom function implemented
raviagrwl420 Sep 2, 2013
8dc3f97
Zoom pointer retreats when not dragged
raviagrwl420 Sep 3, 2013
c3ef3e9
Zoom pointer behavior modified
raviagrwl420 Sep 3, 2013
b30edeb
Clicking anywhere causes zoom pointer to jump to that location
raviagrwl420 Sep 3, 2013
d0ee544
eventlisteners added to zoomPlus and zoomMinus buttons
raviagrwl420 Sep 3, 2013
4eb95b0
pan3D and resetPointers implemented
raviagrwl420 Sep 4, 2013
8b80044
Merge branch 'master' of https://github.com/AnalyticalGraphicsInc/ces…
raviagrwl420 Sep 4, 2013
b9c3743
tilt3D function implemented
raviagrwl420 Sep 5, 2013
7d46a46
zoom2D and zoomCV functions implemented
raviagrwl420 Sep 6, 2013
591d5ac
update functions updated and pan speed modified
raviagrwl420 Sep 7, 2013
be714c3
pan2D and panCV functions implemented
raviagrwl420 Sep 8, 2013
84c5431
navigation property defined in viewer
raviagrwl420 Sep 9, 2013
76eebd7
four directional arrows added
raviagrwl420 Sep 9, 2013
aa327ea
camera issues in simple.czml resolved
raviagrwl420 Sep 11, 2013
ef66471
Merge remote-tracking branch 'origin/master' into NavigationCamera
emackey Sep 12, 2013
de66bf8
Merge pull request #1 from emackey/NavigationCamera
raviagrwl420 Sep 12, 2013
cd9dc8a
compass hooked
raviagrwl420 Sep 13, 2013
0ea640c
snapping pointers issue resolved
raviagrwl420 Sep 13, 2013
8a816c7
jump feature added for all pointers
raviagrwl420 Sep 15, 2013
4f9e5b0
camera maintains inertia after releasing pointers
raviagrwl420 Sep 16, 2013
0eebfa9
Documentation added to NavigationViewModel
raviagrwl420 Sep 19, 2013
1f724ef
Documentation added to Navigation
raviagrwl420 Sep 20, 2013
497e3f4
Merge branch 'master' of https://github.com/AnalyticalGraphicsInc/ces…
raviagrwl420 Sep 20, 2013
f9e9d0a
destroy and isDestroyed functions added to Navigation
raviagrwl420 Sep 21, 2013
3557148
Specs added to Navigation and NavigationViewModel
raviagrwl420 Sep 21, 2013
87ad44f
more tests added to NavigationViewModel
raviagrwl420 Sep 22, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Documentation/Images/NavigationWidget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions Source/Widgets/Navigation/Navigation.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.cesium-navigation-svgText {
fill: #edffff;
font-family: Sans-Serif;
font-size: 18px;
font-weight: bold;
text-anchor: middle;
cursor: pointer;
}

.cesium-navigation-blank {
cursor: pointer;
fill: #000;
fill-opacity: 0.01; /* This must be clickable, so it can't be 'fill: none'. */
stroke: none;
}

.cesium-navigation-circularButton {
cursor: pointer;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}

.cesium-navigation-circularButton .cesium-navigation-buttonPath {
fill: #edffff;
}

.cesium-navigation-circularButton .cesium-navigation-buttonMain {
fill: #434343;
}

.cesium-navigation-zoomRingG {
cursor: pointer;
}

.cesium-navigation-zoomRingPointer {
cursor: pointer;
fill: #4E78A0;
}

.cesium-navigation-zoomRing {
fill: none;
stroke: #434343;
stroke-linecap: round;
stroke-width: 20;
}

.cesium-navigation-tiltRingG {
cursor: pointer;
}

.cesium-navigation-tiltRingPointer {
cursor: pointer;
fill: #4E78A0;
}

.cesium-navigation-tiltRing {
fill: none;
stroke: #434343;
stroke-linecap: round;
stroke-width: 20;
}

.cesium-navigation-knobOuter {
cursor: pointer;
fill: #434343;
}

.cesium-navigation-knobInner {
fill: #999999;
}

.cesium-navigation-panJoystick {
cursor: pointer;
fill: #4E78A0;
}

.cesium-navigation-arrow {
cursor: pointer;
fill: #434343;
stroke: #434343;
stroke-linejoin: round;
stroke-width: 2;
}
Loading