waxmorph.render.PyVistaInterface#
- class waxmorph.render.PyVistaInterface[source]#
Bases:
RenderInterfaceInteractive PyVista glyphs with morphogen or categorical colors.
- static draw_3d_view(centers, radii, morphogens, polarities, particle_count, blim=-10, tlim=20, theta_res=24, phi_res=12, alpha=0.5, show_polarities=True, polarity_length=1.0, polarity_color='black', polarity_opacity=1.0, polarity_shaft_radius=0.03, polarity_tip_length=0.25, polarity_tip_radius=0.06, cell_types=None)[source]#
Render a PyVista view;
particle_countmust be nonnegative.Categories override morphogen colors; the shortest selected input limits the rendered count.