# Keyboard shortcut for setting view center of rotation

**URL:** https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456
**Category:** Feature Requests
**Created:** [October 6, 2022, 1:25am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456 "2022-10-06T01:25:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![JacobAllen](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@JacobAllen](https://discourse.paraview.org/u/JacobAllen)
#### Post date: [October 6, 2022, 1:25am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456/1 "2022-10-06T01:25:10Z")

</div>

When navigating round a renderView, it is very important to be able to reset the view center of rotation. The ‘Pick Center’ button does a great job of this. However, my one complaint about it is that I need to move my cursor up to the button, then back to the renderView in order to perform the operation. This might seem trite, but I’ve used a couple different 3D graphics GUIs with keyboard shortcut implementations of this function, and it really speeds up navigating around a 3D view (especially for CFD data when zooming into boundary layers, other small features). As an example, this is implemented within Tecplot as pressing the ‘o’ key. When you press the ‘o’ key, the view center is set to whatever point in just underneath the cursor at the time.

This would be especially useful with the Mouse Wheel Zooms to Cursor feature that was recently added, since now you can zoom right in to what you want. But once you’re there, it would be great to just press ‘o’ to get the view center set so you can rotate around at that point.

I’m not stuck on copying Tecplot. I think any of a number of possible key or click combinations would be useful, such as ‘c,’ or ‘c’ + ‘LMB,’ or the mouse wheel click. Thanks!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 6, 2022, 2:17am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456/2 "2022-10-06T02:17:53Z")

</div>

In Tools → Customize Shortcuts, you can set shortcuts for many things but not for toolbar actions sadly, only for menu items. PickCenter is not present in the menu, but only as a toolbar actions.

In terms of UI design, I think that all toolbars actions should be available also as menus, which would fix the issue you are facing.

Another way to fix it would be to add toolbars actions to the shortcut mechanism, but this would probably duplicate a few things, which I’m not sure we want.

What do you think @cory.quammen @nicolas.vuaille ?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 6, 2022, 3:20am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456/3 "2022-10-06T03:20:13Z")

</div>

> [@mwestphal](#):
>
> In terms of UI design, I think that all toolbars actions should be available also as menus, which would fix the issue you are facing.

That would be fine, but that’s a lot of menu items to add. We would need to organize them sensibly.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 6, 2022, 3:42am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456/4 "2022-10-06T03:42:30Z")

</div>

tbh I was only thinking of adding submenu items in the Views → Toolbars items.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [October 10, 2022, 7:56am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456/5 "2022-10-10T07:56:53Z")

</div>

> Views → Toolbars items.

This sounds like a hotfix to me: `Views` menu tends to be only a Show / hide GUI element whereas toolbar actions trigger actual things.  
I’m more in favor of a reorganization, but I agree that it is more work. Also, we can have a look at adding shortcuts on toolbar actions without putting them in menus.

In fact I’m in favor of a big refactor of the whole UI, but this is anoter story 🙂

---

<div class="post-metadata">

### Author: ![mardar](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mardar/32/12337_2.png) [@mardar](https://discourse.paraview.org/u/mardar)
#### Post date: [July 11, 2024, 8:43am UTC](https://discourse.paraview.org/t/keyboard-shortcut-for-setting-view-center-of-rotation/10456/6 "2024-07-11T08:43:43Z")

</div>

Hi everyone ,

I’d like to request a feature to set the rotation center by clicking the middle mouse button. This would significantly improve workflow efficiency and user experience.

thanks
