Hi! Juraj worked on rotating text. People have been asking for it for years… With Roassal 2: -=-=-=-=-=-=-=-=-=-= | v shape | v := RTView new. shape := RTRotatedLabel new. shape angleInDegree: [ :cls | cls numberOfMethods negated / 1.5 ]. shape text: [ :cls | ' ', cls name ]. shape color: (Color black alpha: 0.2). v addAll: (shape elementsOn: Collection withAllSubclasses). v canvas color: Color white. v open -=-=-=-=-=-=-=-=-=-= More screenshots and more examples on: https://www.facebook.com/media/set/?set=a.573528479400420.1073741841.340543479365589&type=1Excellent job Juraj! Before the end of January, we will make a big big announcement. We, the profilers, are working hard these days on a fantastic infrastructure for a better and stronger visual experience. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On 20 January 2014 23:21, Alexandre Bergel <[hidden email]> wrote:
why you need separate class for 'rotated' label? i suppose you also need RTRotatedAndScaledLabel, RTRotatedAndScewedLabel .. as well as other (infinite) number of permutations with 'something-ed' and 'Label'. or its just a prototype?
-- Best regards, Igor Stasenko. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Why Label can not do everyhing? Stef
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Igor Stasenko
> why you need separate class for 'rotated' label?
to have rotated labels :-) > i suppose you also need RTRotatedAndScaledLabel, > RTRotatedAndScewedLabel > .. as well as other (infinite) number of permutations with 'something-ed' and 'Label’. Actually no. Having rotated labels can be considered as a primitive for data visualization. DSM, GraphET need rotated labels. I see Roassal as an abstract for data visualization. Not really as a better API than Athens. Neither as an alternative. Athens works very well, and the API is relatively clean. Yesterday with Ben we had exactly that discussion. Why not exposing the notion of matrix, like that I can rotate anything? That is a very good point, and we will probably offer such a thing on some point. But the problem with matrixes is that they are highly complicated. Finding the right combination between translation and rotation is always a long set of try-and-see-what-we-get. > or its just a prototype? Yes, it is a prototype. It will probably evolve over the time. Maybe we will not keep RotatedLabel at the end, but merge it with Label. One some point, we will introduce a hierarchy for transformation. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
Finally! Nice :) Doru On Mon, Jan 20, 2014 at 11:21 PM, Alexandre Bergel <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Stéphane Ducasse
>> .. as well as other (infinite) number of permutations with 'something-ed' and 'Label'.
>> >> or its just a prototype? > > I asked myself the same. > Why Label can not do everything? Because this is a lot already. The class TRRotatedLabelShape is complex. It is not _just_ applying a rotation matrix. We also need to have the encompassing rectangle, which is needed by the layouts. We also need the bounding box, for checking the point inclusion (i.e., is your mouse above the text?) I haven’t done any benchmark, but I suspect the rotated label to be slower than the non-rotated label. But indeed, the shape of hierarchy will surely evolve over the time. Having rotated labels is just a (minor but important) milestone that we wanted to share with you. Alexandre > > Stef >> >> shape angleInDegree: [ :cls | cls numberOfMethods negated / 1.5 ]. >> shape text: [ :cls | ' ', cls name ]. >> shape color: (Color black alpha: 0.2). >> v addAll: (shape elementsOn: Collection withAllSubclasses). >> >> v canvas color: Color white. >> v open >> -=-=-=-=-=-=-=-=-=-= >> >> More screenshots and more examples on: >> https://www.facebook.com/media/set/?set=a.573528479400420.1073741841.340543479365589&type=1 >> >> Excellent job Juraj! >> >> Before the end of January, we will make a big big announcement. We, the profilers, are working hard these days on a fantastic infrastructure for a better and stronger visual experience. >> >> Cheers, >> Alexandre >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> -- >> Best regards, >> Igor Stasenko. >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Igor was telling to me over lunch that the scene element should have a matrix like that any element can be rotated, translated.
I suggest you to have a skype discussion with him. Stef >>> .. as well as other (infinite) number of permutations with 'something-ed' and 'Label'. >>> >>> or its just a prototype? >> >> I asked myself the same. >> Why Label can not do everything? > > Because this is a lot already. > The class TRRotatedLabelShape is complex. It is not _just_ applying a rotation matrix. We also need to have the encompassing rectangle, which is needed by the layouts. We also need the bounding box, for checking the point inclusion (i.e., is your mouse above the text?) > > I haven’t done any benchmark, but I suspect the rotated label to be slower than the non-rotated label. > > But indeed, the shape of hierarchy will surely evolve over the time. Having rotated labels is just a (minor but important) milestone that we wanted to share with you. > > Alexandre > > >> >> Stef >>> >>> shape angleInDegree: [ :cls | cls numberOfMethods negated / 1.5 ]. >>> shape text: [ :cls | ' ', cls name ]. >>> shape color: (Color black alpha: 0.2). >>> v addAll: (shape elementsOn: Collection withAllSubclasses). >>> >>> v canvas color: Color white. >>> v open >>> -=-=-=-=-=-=-=-=-=-= >>> >>> More screenshots and more examples on: >>> https://www.facebook.com/media/set/?set=a.573528479400420.1073741841.340543479365589&type=1 >>> >>> Excellent job Juraj! >>> >>> Before the end of January, we will make a big big announcement. We, the profilers, are working hard these days on a fantastic infrastructure for a better and stronger visual experience. >>> >>> Cheers, >>> Alexandre >>> >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> >>> >>> -- >>> Best regards, >>> Igor Stasenko. >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |