-
Notifications
You must be signed in to change notification settings - Fork 441
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
Add RubberBand2D interactor style #872
Merged
GuillaumeFavelier
merged 3 commits into
pyvista:master
from
GuillaumeFavelier:feat/rubber_band_2d
Aug 20, 2020
Merged
Add RubberBand2D interactor style #872
GuillaumeFavelier
merged 3 commits into
pyvista:master
from
GuillaumeFavelier:feat/rubber_band_2d
Aug 20, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should I force-enable camera parallel projection mode for the for renderer in self.plotter.renderers:
renderer.enable_parallel_projection() |
6 tasks
GuillaumeFavelier
changed the title
🚧 Add RubberBand2D interactor style
Add RubberBand2D interactor style
Aug 19, 2020
This is ready for reviews @pyvista/developers |
larsoner
approved these changes
Aug 19, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the docs are clear enough that parallel projection mode should be enabled if you want zooming to work with this interactor
banesullivan
approved these changes
Aug 19, 2020
akaszynski
added a commit
that referenced
this pull request
Sep 2, 2020
* 🌐 Internationalization and localization. * 🏷️ add tag to translate title * Patch 6 (#3) * typo fix (#864) * ✏️ fix format of python code (#866) * fix format of python code We need 1 blank line before python code. * fix format of python code * fix format of python code * fix format of python code * fix format of python code * Control points merging in the glyph filter (#870) * Add clean paramter to the glyph filter * Use tolerance parameter * Set default tolerance=None * Add RubberBand2D interactor style (#872) * Add RubberBand2D interactor style * Update testing * Use format instead of fstring * Enable smooth shading for textures (#865) * ✏️ Fix typos. (#875) * ✏️ Fix typos. (#876) * ✏️ Fix typos. * ✏️ Fix typos. * 🌐 Internationalization and localization. * 🏷️ add tag to translate title Co-authored-by: Guillaume Favelier <guillaume.favelier@gmail.com> Co-authored-by: Bane Sullivan <banesullivan@gmail.com> * Update docs/index.rst Co-authored-by: Alex Kaszynski <akascap@gmail.com> * small fix by review Co-authored-by: Guillaume Favelier <guillaume.favelier@gmail.com> Co-authored-by: Bane Sullivan <banesullivan@gmail.com> Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Merged
akaszynski
added a commit
that referenced
this pull request
Jan 22, 2021
* Patch 6 (#3) * typo fix (#864) * ✏️ fix format of python code (#866) * fix format of python code We need 1 blank line before python code. * fix format of python code * fix format of python code * fix format of python code * fix format of python code * Control points merging in the glyph filter (#870) * Add clean paramter to the glyph filter * Use tolerance parameter * Set default tolerance=None * Add RubberBand2D interactor style (#872) * Add RubberBand2D interactor style * Update testing * Use format instead of fstring * Enable smooth shading for textures (#865) * ✏️ Fix typos. (#875) * ✏️ Fix typos. (#876) * ✏️ Fix typos. * ✏️ Fix typos. * 🌐 Internationalization and localization. * 🏷️ add tag to translate title Co-authored-by: Guillaume Favelier <guillaume.favelier@gmail.com> Co-authored-by: Bane Sullivan <banesullivan@gmail.com> * Patch 6 (#4) * typo fix (#864) * ✏️ fix format of python code (#866) * fix format of python code We need 1 blank line before python code. * fix format of python code * fix format of python code * fix format of python code * fix format of python code * Control points merging in the glyph filter (#870) * Add clean paramter to the glyph filter * Use tolerance parameter * Set default tolerance=None * Add RubberBand2D interactor style (#872) * Add RubberBand2D interactor style * Update testing * Use format instead of fstring * Enable smooth shading for textures (#865) * ✏️ Fix typos. (#875) * ✏️ Fix typos. (#876) * ✏️ Fix typos. * ✏️ Fix typos. * 🌐 Internationalization and localization. * 🏷️ add tag to translate title * Update docs/index.rst Co-authored-by: Alex Kaszynski <akascap@gmail.com> * small fix by review Co-authored-by: Guillaume Favelier <guillaume.favelier@gmail.com> Co-authored-by: Bane Sullivan <banesullivan@gmail.com> Co-authored-by: Alex Kaszynski <akascap@gmail.com> * 📷 Add test camera zoom and up * 📷 Add camera zoom and up * ♻️ Add Camera class * ♻️ Add docstring * ♻️ Add Camera class * ♻️ Add Camera class * ♻️ Fix arg name * ♻️ Update Pythonic * Fix error * Fix error * Fix error * Change Camera class inherit from vtkCamera * Clean import * Move the Camera class to its own file. * Improve coverage with unit testing specific to the camera class Co-authored-by: Guillaume Favelier <guillaume.favelier@gmail.com> Co-authored-by: Bane Sullivan <banesullivan@gmail.com> Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the 'RubberBand2D' interactor style.
Closes #871