pysdic.View.quick_visualize#
- View.quick_visualize(geometry=None, *, figsize=(8, 6), title=None, show_vertices_index=False, show_elements_index=False, index_font_size=8)[source]#
Quickly visualize the image of the view and the projection of a point cloud or a mesh with
pysdic.ImagePlotter.See also
For more control over the visualization, use
pysdic.ImagePlotterbuilt from the view.- Parameters:
geometry (Optional[Union[ArrayLike,
pysdic.PointCloud,pysdic.Mesh]], optional) – The world points \((N_p, E)\), point cloud or mesh to project and draw. If None, only the image is drawn.figsize (Tuple[Real, Real], optional (default:
(8, 6))) – The size of the figure in inches (width, height).title (Optional[str], optional) – The title of the plot.
show_vertices_index (bool, optional (default:
False)) – Whether to write the index of each displayed point (or vertex of the mesh) next to it.show_elements_index (bool, optional (default:
False)) – Whether to write the index of each displayed element of the mesh at its projected center (only for a mesh).index_font_size (Real, optional (default:
8)) – The font size of the indices in typographic points (constant when zooming).
- Raises:
ValueError – If
show_elements_indexis True andgeometryis not a mesh.- Return type:
None