Control points merging in the glyph filter#870
Merged
banesullivan merged 3 commits intopyvista:masterfrom Aug 18, 2020
Merged
Conversation
Contributor
Author
|
This is ready for reviews @pyvista/developers |
Member
banesullivan
left a comment
There was a problem hiding this comment.
What if instead, we set tolerance to None by default and only run the clean filter if tolerance is not falsy?
Contributor
Author
|
@banesullivan I modified If it's not what you envisioned, feel free to let me know or push directly on the PR 👍 |
Member
|
I'd like to change the default behavior by making |
Contributor
Author
I understand. I'll make it the default then |
larsoner
approved these changes
Aug 18, 2020
banesullivan
approved these changes
Aug 18, 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>
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>
This file contains hidden or 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
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 a
cleanparameter to control the preprocessing in the glyph filter.It is now possible to do:
to obtain:
Closes #869