Skip to content

Conversation

@pierrewillenbrockdfki
Copy link
Contributor

This is a bit of a collection of cleanups and changes i had laying around. Instead of copying them around forever, i thought i would offer them here.

These should not change behavior, except: use less resources when a property is set to the same value it already has, update the displayed model when certain properties are changed(instead of relying on new data to do the same), or if the new displayTargetInSource property is used.

This would break endless recursion if the receiver of propertyChanged has
other callers than the visualisation and also wants to keep the
visualisation updated, which seems to not have been an issue, yet.
Also a slight performance benefit.
This allows display of the coordinate system of the targetframe as viewed
from the sourceframe. Previously, the only useful way to setup the view in
regards to the other transformations was to set the frame of the
visualisation to the targetFrame, and the model/coordinate cross would
appear at the origin of the sourceFrame. Setting displayTargetInSource to
true, one would then set the visualisation frame to the sourceFrame and
get the coordinate cross(and model) at the origin of the targetFrame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants