You need to send #restoreCamera to a view. You can also reset it by either doing a #restoreCamera on an empty view, or sending #resetCamera to a view.
This mechanism is always perfectible.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On Nov 7, 2014, at 6:44 AM, Roberto Minelli
roberto.minelli@usi.ch wrote:
>
> Hi,
>
> Sorry if you receive multiple copies of this email, I sent the previous with another email address.
>
> I am developing a browser with Glamour inside the GT inspector that looks like this:
>
> <Screen Shot 2014-11-07 at 10.36.29 AM.png>
>
> When I click on a slice of the pie (i.e., the red slice), I get the visualization on the right pane with highlights on red components, as shown in the figure.
> Then I can zoom and pane the right view, etc. When a click on another slice on the left view, the right view gets regenerated,
> thus zoom and pan levels are restored to the default values. Since, for each pie the right view looks the same but has to have different highlights,
> I was wondering if there is a way to keep the right view “fixed”, i.e., not re-creating every click, and just change the highlighting.
>
> Thanks a lot for your help,
> Roberto
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev