Skip to content
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

Crop widget v2 #745

Merged
merged 15 commits into from
Jun 14, 2018
Merged

Crop widget v2 #745

merged 15 commits into from
Jun 14, 2018

Conversation

floryst
Copy link
Collaborator

@floryst floryst commented May 31, 2018

This iteration of the crop widget provides a means of manipulating a box in 3D space. Cropping planes are exported out via an event or via widget.getCroppingPlanes(). This is a first pass.

There are three sets of control handles: face handles, edge handles, and corner handles.

A small demo is shown below with face and corner handles.

cropv2

@jourdain @martinken @wschroed @aylward

@jourdain
Copy link
Collaborator

Still using the cellPicker?

@floryst
Copy link
Collaborator Author

floryst commented May 31, 2018

Yeah, still using cell picker for these, since I have actual actors for each handle. Haven't worked on a widget that properly handles multiple handles yet.

@floryst floryst mentioned this pull request May 31, 2018
@aylward
Copy link
Collaborator

aylward commented May 31, 2018 via email

If the underlying data is cropped, we don't want to use updated
transforms because the origin will change.
@floryst floryst merged commit 664b6b6 into master Jun 14, 2018
@floryst floryst deleted the crop-widget-v2 branch June 14, 2018 15:11
@jourdain
Copy link
Collaborator

🎉 This PR is included in version 6.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

3 participants