Giter Site home page Giter Site logo

Comments (9)

bjlittle avatar bjlittle commented on August 31, 2024 1

@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.

ukmo-ccbunney avatar ukmo-ccbunney commented on August 31, 2024 1

@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 or Ctrl + Click
  • Continuously zoom the rendering scene: Scroll wheel or R-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.

ukmo-ccbunney avatar ukmo-ccbunney commented on August 31, 2024 1

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 avatar ukmo-ccbunney commented on August 31, 2024 1

@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 or Ctrl + Click
  • Continuously zoom the rendering scene: Mouse Wheel or R-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.

bjlittle avatar bjlittle commented on August 31, 2024 1

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.

bjlittle avatar bjlittle commented on August 31, 2024 1

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.

bjlittle avatar bjlittle commented on August 31, 2024

@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 or Ctrl + Click
  • Continuously zoom the rendering scene: Mouse Wheel or R-Click

I guess the OSX user can translate R-Click to be whatever they want it to be in this case πŸ€”

from geovista.

bjlittle avatar bjlittle commented on August 31, 2024

@all-contributors please add @ukmo-ccbunney for ideas and userTesting

from geovista.

allcontributors avatar allcontributors commented on August 31, 2024

@bjlittle

I've put up a pull request to add @ukmo-ccbunney! πŸŽ‰

from geovista.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.