I have the impression the job of a layout is to locate nodes in a 2d space. Indeed, we should be able to parametrize it. But I am not convinced the layout should have a dependency to the class ROCamera.
Alexandre
On May 14, 2013, at 5:15 AM, stephane ducasse stephane.ducasse@free.fr wrote:
Yes we discussed with mathieu and this is important for a layout to know
- the dimensions of the window so that the layout can be smart
- the camera position
- the size of the nodes
so how a layout get such information?
Stef
On May 13, 2013, at 4:48 PM, mathieubmddehouck@mailoo.org wrote:
Hi
I was working on translating the center of the radial tree at the middle of the window and I faced a problem.
I had already faced it when working on the ForceBasedLayout.
How does the layout access to his view to get informations ? (Basically it could be very useful to access to the camera to have size informations...)
Regards
Mathieu
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev