|
13 | 13 | :meth:`~pyvisual.core.mesh3d.CartesianMeshFilters.deconstruct`), but because |
14 | 14 | they wrap different PyVista grid types |
15 | 15 | (:class:`pyvista.StructuredGrid` vs :class:`pyvista.RectilinearGrid`), |
16 | | -unmodified PyVista filters such as :meth:`pyvista.DataSetFilters.slice_orthogonal` |
17 | | -and :meth:`pyvista.DataSetFilters.slice_along_axis` behave differently on each: |
| 16 | +unmodified PyVista filters such as :meth:`~pyvista.DataObjectFilters.slice_orthogonal` |
| 17 | +and :meth:`~pyvista.DataObjectFilters.slice_along_axis` behave differently on each: |
18 | 18 |
|
19 | 19 | - On a :class:`~pyvisual.core.mesh3d.CartesianMesh` PyVista operates on the |
20 | 20 | true spatial :math:`(x, y, z)` point coordinates, so slices are flat planes |
|
24 | 24 | so the same filter methods instead cut surfaces of constant radius, |
25 | 25 | colatitude, and longitude. |
26 | 26 |
|
27 | | -See also :ref:`sphx_glr_06_spherical_grid_class_p03_filters.py` for the |
| 27 | +See also :ref:`sphx_glr_gallery_06_spherical_grid_class_p03_filters.py` for the |
28 | 28 | spherical-mesh equivalent of this example. |
29 | 29 | """ |
30 | 30 |
|
|
59 | 59 | # Indexing a :class:`~pyvisual.core.mesh3d.CartesianMesh` with a 3-tuple of |
60 | 60 | # slices selects grid points by their index positions in each axis direction, |
61 | 61 | # exactly as for :class:`~pyvisual.core.mesh3d.SphericalMesh` (see |
62 | | -# :ref:`sphx_glr_06_spherical_grid_class_p03_filters.py`). |
| 62 | +# :ref:`sphx_glr_gallery_06_spherical_grid_class_p03_filters.py`). |
63 | 63 | # Because both mesh classes share the same underlying grid topology — the |
64 | 64 | # Cartesian conversion is applied to the *coordinates*, not the *connectivity* |
65 | 65 | # — identical index slices select the same spatial sub-region regardless of |
|
78 | 78 | # Orthogonal Slices — CartesianMesh |
79 | 79 | # --------------------------------- |
80 | 80 | # |
81 | | -# :meth:`pyvista.DataSetFilters.slice_orthogonal` cuts three mutually |
| 81 | +# :meth:`pyvista.DataObjectFilters.slice_orthogonal` cuts three mutually |
82 | 82 | # perpendicular cross-sections through the mesh centroid. On a |
83 | 83 | # :class:`~pyvisual.core.mesh3d.CartesianMesh` the underlying grid stores |
84 | 84 | # real :math:`(x, y, z)` point coordinates, so the three slices are flat |
85 | 85 | # planes aligned with the coordinate axes — one each of the YZ, XZ, and XY |
86 | | -# planes passing through the centre of the domain. |
| 86 | +# planes passing through the center of the domain. |
87 | 87 |
|
88 | 88 | plotter = Plot3d() |
89 | 89 | plotter.show_axes() |
|
0 commit comments