-
Notifications
You must be signed in to change notification settings - Fork 590
Add OrthogonalPlanesSource
for generating orthogonal planes
#6366
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6366 +/- ##
=======================================
Coverage 97.24% 97.24%
=======================================
Files 142 142
Lines 26595 26681 +86
=======================================
+ Hits 25861 25947 +86
Misses 734 734 |
OrthoPlanesSource
for generating orthonormal planesOrthogonalPlanesSource
for generating orthogonal planes
@pyvista-bot preview |
@pyvista-bot preview |
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
pre-commit.ci autofix |
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. Strictly speaking, we should deploy the document preview in the pyvista
repository branch, but the effect we will get is limited. We will not run it here.
Looks like we another documentation cache issue, similar to #6393 (comment) |
Overview
New class for generating orthogonal planes. The output is a
MultiBlock
with the three planes. The planes can be sized to fit anybounds
input. The orientations of the planes are well-defined and the direction of their normals can be controlled.The planes can be used for downstream computations, e.g. distance from plane queries. They are also useful for anatomical orientation, see the vtk example: https://examples.vtk.org/site/Cxx/VisualizationAlgorithms/AnatomicalOrientation/