-
Notifications
You must be signed in to change notification settings - Fork 439
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 support to modulate the tube filter's radius in absolute units #3649
Conversation
- Added absolute argument to turn this on, the detault behaviour modulating the radius relatively is left unchanged - Added an example to the spline section, however this works just as well with any line mesh
Codecov Report
@@ Coverage Diff @@
## main #3649 +/- ##
=======================================
Coverage 95.12% 95.12%
=======================================
Files 83 83
Lines 18556 18558 +2
=======================================
+ Hits 17652 17654 +2
Misses 904 904 |
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.
Thanks for this. Great contribution.
Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com>
Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com>
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.
LGTM
Thanks a lot for the speedy review, @tkoyama010 ! |
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.
Added things look great overall, just two (final) unrelated issues revealed by your PR (one only a nitpick) :)
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.
Looks good to me, thanks a lot @jmargeta!
Overview
This PR adds an argument to the tube filter so that the radius can be specified in absolute units for convenience.
Internally, it uses the SetVaryRadiusToVaryRadiusByAbsoluteScalar of vtkTubeFilter.
Details