Skip to content

RigidBodyStateVisualisation changes #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pierrewillenbrockdfki
Copy link

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.

1 participant