# Change default orientation widget

**URL:** <https://discourse.paraview.org/t/change-default-orientation-widget/15553>\
**Category:** Development\
**Tags:** proposal\
**Created:** [October 14, 2024, 8:18pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553 "2024-10-14T20:18:23Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)\
**Post date:** [October 22, 2024, 1:12am UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/21 "2024-10-22T01:12:40Z")

</div>

> [@GregVernon](#):
>
> … please consider the pragmatism of needing to create static images to share with stakeholders.

Absolutely. Note that having a default does not prevent switching widgets for static images. If the toolbar ­– which allows you to turn the orientation widget on/off – instead cycled through available widgets/styles (none/arrow-axes/ball+stick-axes/cube), it would be easy to switch for a screenshot.

> [@GregVernon](#):
>
> …a view-cube viewed straight-on doesn’t help the viewer understand a plot contoured by \sigma\_{xy}. The widget in the second image of the first post I fear would be confusing when viewed in a report.

A view cube marked with “+X/-X/+Y/-Y/+Z/-Z” would be unambiguous (because the axis text implies the “up” direction for the plane) but I agree less helpful than a pair of axes.

However, a lot of customers have also indicated that when they are interacting with ParaView (and even more with custom applications that use ParaView because the target audience is often less computer-savvy), they prefer a view cube to axes. Personally, I prefer the ball+stick widget, but the default for ParaView should focus on what lowers the entry barrier for potential users. The default can easily be permanently changed by users.

> [@Eloise](#):
>
> I also agree with @terryturton about the colorblind-friendly choice.

I think the proper strategy for color choices is to use existing or add new entries to the color palettes ParaView provides. Since the default palette (Print, Dark, Light, etc.) is a user preference, this can be preserved. There are not already color blind palettes, so I [filed an issue](https://gitlab.kitware.com/paraview/paraview/-/issues/22782) to add them.

I also want to be clear that there are several separable issues here:

1. What is the default orientation widget?
2. What are the shape and default interactions provided by the default orientation widget?
3. What palette is used for the scene as a whole (which should also affect the orientation widget).

---

<div class="post-metadata">

**Author:** ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)\
**Post date:** [October 22, 2024, 12:23pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/22 "2024-10-22T12:23:08Z")

</div>

> [@dcthomp](#):
>
> Note that having a default does not prevent switching widgets for static images. If the toolbar ­– which allows you to turn the orientation widget on/off – instead cycled through available widgets/styles (none/arrow-axes/ball+stick-axes/cube), it would be easy to switch for a screenshot.

I’m not sure if this idea has been floated, but what about switching the widget when the mouse hovers over the space? So you would get the current widget (or some visual improvement) when the mouse is elsewhere and the widget changes to a box when you hover over it.

---

<div class="post-metadata">

**Author:** ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)\
**Post date:** [October 22, 2024, 2:11pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/23 "2024-10-22T14:11:52Z")

</div>

That would certainly address @GregVernon’s issue with static images. You might also use semi-opaque cube faces with the ball+stick model inside the cube.

---

<div class="post-metadata">

**Author:** ![GregVernon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gregvernon/32/1494_2.png) [@GregVernon](https://discourse.paraview.org/u/GregVernon)\
**Post date:** [October 22, 2024, 3:11pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/24 "2024-10-22T15:11:27Z")

</div>

> [@dcthomp](#):
>
> > [@GregVernon](#):
> >
> > …a view-cube viewed straight-on doesn’t help the viewer understand a plot contoured by \sigma\_{xy}. The widget in the second image of the first post I fear would be confusing when viewed in a report.
> 
> A view cube marked with “+X/-X/+Y/-Y/+Z/-Z” would be unambiguous (because the axis text implies the “up” direction for the plane) but I agree less helpful than a pair of axes.

We actually have this issue in our Coreform Flex application. Challenge: which way is `X+`?

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/4ed5ff5e9177f84a8c93b08ab8e297988e62b3b3.png)

Note how Autodesk Fusion handles this (top-right)

 ![image](https://discourse.paraview.org/uploads/default/original/2X/2/2355ee2fce515a1a16be22df3b72f7847bce5204.png)

---

<div class="post-metadata">

**Author:** ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)\
**Post date:** [October 22, 2024, 7:14pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/25 "2024-10-22T19:14:07Z")

</div>

Both images are unambiguous, but the second is more helpful. The reason the first is unambiguous is that the orientation of the text (“Z+”) implies the orientation of the +X and +Y axes. If Z+ is not upright, you can deduct the transform to the X and Y axes. But this introduces cognitive load.

---

<div class="post-metadata">

**Author:** ![ahernsean](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ahernsean/32/13743_2.png) [@ahernsean](https://discourse.paraview.org/u/ahernsean)\
**Post date:** [October 24, 2024, 9:09pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/26 "2024-10-24T21:09:36Z")

</div>

![Fusion360_kZmuXaIihY](https://discourse.paraview.org/uploads/default/original/2X/5/58b86535a67a8e7e5650602a01d7c35b5a5bc704.gif) ![Discovery_Rg3tL3f1EN](https://discourse.paraview.org/uploads/default/original/2X/2/211d5d3e913a86429c665ba7af554c0ac1cbb68c.gif)  
Just to add more to the discussion. I think this kind of interface, if it can be done without patent infringement, goes a _long_ way toward understanding the orientation of the scene. The left one is Autodesk Fusion’s view cube with adjacent axes. The right one is Ansys Discovery, with more of an “axes” flavor.

---

<div class="post-metadata">

**Author:** ![Michael\_Jackson](https://discourse.paraview.org/user_avatar/discourse.paraview.org/michael_jackson/32/293_2.png) [@Michael\_Jackson](https://discourse.paraview.org/u/Michael_Jackson)\
**Post date:** [October 27, 2024, 2:50pm UTC](https://discourse.paraview.org/t/change-default-orientation-widget/15553/27 "2024-10-27T14:50:28Z")

</div>

This is how we do it for our Application:

 ![Screenshot 2024-10-27 at 10.44.41](https://discourse.paraview.org/uploads/default/original/2X/0/0af1433a431a4a892a3ecef7bc5440feba89a2c1.jpeg)

The widget is not “interactable” but I believe we did a reasonable job of showing “which is +X” and such. Inspiration was taken from a number of different CAD style of applications.

Also, from a human-computer-interaction point of view, looking good and functionally good are 2 separate concepts. You can have something “look good” and be the worst thing to interact with. You can also have something functionally easy to interact with but not be the most pleasant thing to look at. You can solve the latter. Please do not do the former.

I like @ahernsean implementation as it hits a lot of usability standards:  
Features are easy to discover viz simply mousing over the widget  
Pleasant to look at  
Easy to use.  
Visually tells the user the orientation in a non-ambiguous way through the typical RED-BLUE-GREEN Axis and simple words that resonate with most users.

[Previous page](https://discourse.paraview.org/t/change-default-orientation-widget/15553.md?page=1)
