Comments (9)
@ukmo-ccbunney Unfortunately, I don't have access to a Mac, but if I recall you do?
If you've got the time and inclination, I'd greatly appreciate if you could verify the bindings that I've documented π
If corrections are required, then please let me know either here or push up a pull-request and I'll bank it in a heartbeat π
Cheers π»
from geovista.
@bjlittle
Most of the key bindings work for me (using a standard two button Logitech mouse - not an Apple Mouse), with the following exceptions (they work, but are different bindings to those specified):
- Rotate the rendered scene:
Click
- Rotate the rendered scene in 2-D (view plane).
β + Click
orCtrl + Click
- Continuously zoom the rendering scene:
Scroll wheel
orR-Click
I don't know for sure if the behaviour would be different with an Apple Mouse - I believe the "right click" on an Apple Mouse is achieved by Ctrl+Click.
However, the trackpad should have the same behaviour as the Apple Mouse and on my Mac Ctrl+Click
rotates the view in 2D (same β + Click
), rather than binding to "continuous zooming".
from geovista.
Also - I've just tested with Trame (3.6.2) and the only bindings that work are the Ctrl+Click
(2d rotate), Shift+Click
(panning) and the Mouse scroll zoom.
However, not all of them work in Trame on my Windows/Linux box either, only r
(camera reset), Ctrl+Click / R-Click / Scroll
(continuous zoom), Middle-Click
(pan) work.
from geovista.
@ukmo-ccbunney Thanks, that's great! π―
Yeah, this just seems all a tad confusing, particularly when the rendering backend changes things and also the platform and also what kind of mouse you have ... jeez.
So after a bit a research it seems that
R-Click
is the same asCtrl-Click
on OSX (and even that's configurable) ... so to keep things sane-ish, would you agree with the following for OSX:
- Rotate the rendered scene in 3-D:
Click
- Rotate the rendered scene in 2-D (view plane):
β + Click
orCtrl + Click
- Continuously zoom the rendering scene:
Mouse Wheel
orR-Click
I guess the OSX user can translate
R-Click
to be whatever they want it to be in this case π€
Those certainly work in my case, although confusingly Ctrl+Click
and R-Click
aught to be the same thing in MacOS world, but are clearly mapping to different events here π€·ββοΈ. It would be nice to get someone with an Apple Mouse to confirm the behaviour there!
from geovista.
I'm heading to SciPy in Tacoma, WA in the next couple of days to hang with the PyVista devs, so I'll ask them for some clarity.
I did notice that PyVista confusingly document OSX with Ctrl + Click
doing two different things, see here i.e., Rotate the rendering scene in 2-D
and Continuously zoom the rendered scene
π
Perhaps the OSX instructions needs another column to discriminate between the type of mouse that is being used.
from geovista.
I'll roll with your above suggested changes and take it from there.
Thanks so much for your help on this one mate π»
from geovista.
@ukmo-ccbunney Thanks, that's great! π―
Yeah, this just seems all a tad confusing, particularly when the rendering backend changes things and also the platform and also what kind of mouse you have ... jeez.
So after a bit a research it seems that R-Click
is the same as Ctrl-Click
on OSX (and even that's configurable) ... so to keep things sane-ish, would you agree with the following for OSX:
- Rotate the rendered scene in 3-D:
Click
- Rotate the rendered scene in 2-D (view plane):
β + Click
orCtrl + Click
- Continuously zoom the rendering scene:
Mouse Wheel
orR-Click
I guess the OSX user can translate R-Click
to be whatever they want it to be in this case π€
from geovista.
@all-contributors please add @ukmo-ccbunney for ideas and userTesting
from geovista.
I've put up a pull request to add @ukmo-ccbunney! π
from geovista.
Related Issues (20)
- Examples improvement: subject-based tags HOT 1
- Examples improvement: highlight with/without `connectivity` in unstructured examples HOT 1
- Configurable iframe height for Sphinx Gallery Interactive Scene
- Examples improvement: H3 Spatial index HOT 2
- Reduce argument passing-down in the API
- auto generate and inject gallery carousel HOT 2
- Failing PyVista integration tests HOT 5
- Please add @bjlittle for talk in all-contributors HOT 13
- πCall for translators in GeoVista official documentπ HOT 8
- β¨ Acknowledge our Contributors β¨ HOT 15
- geovista.pantry is not a package - VS Code HOT 9
- PyPI - Resolve Unverified Details
- Add clouds example to gallery
- Offer NASA Black Marble Texture HOT 2
- GHA cache of myst-nb cache
- Cartesian xyz to lon, lat and zlevel
- Extend html-noplot for tutorials
- GHA: Verify pull-request changelog news fragment HOT 1
- Docs idea: GeoVista through the scientific journey HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geovista.