Skip to contents

All functions

apply_colormap()
Apply a colormap to numerical data
camera()
Create a camera specification
camera_auto()
Auto-frame a camera to fit a mesh or vertex set
camera_orbit()
Orbit a camera around an axis
colorbar_horizontal()
Generate a horizontal colorbar image
colorbar_vertical()
Generate a vertical colorbar image
compose_layout()
Compose multiple images into a single figure
compute_vertex_normals()
Compute per-vertex normals for a mesh
diverging_colormap()
Custom diverging colormap for neuroimaging
generate_arrow()
Generate an arrow mesh
generate_axes()
Generate XYZ axis arrows as cylinder meshes
generate_bbox()
Generate a wireframe bounding box mesh
generate_cone()
Generate a cone mesh
generate_cuboid()
Generate a cuboid mesh
generate_cylinder()
Generate a cylinder mesh
generate_plane()
Generate a planar quad mesh
generate_pyramid()
Generate a square pyramid mesh
generate_sphere()
Generate a sphere mesh
generate_tetrahedron()
Generate a tetrahedron mesh
generate_torus()
Generate a torus mesh
image_apply_contrast()
Apply contrast adjustment to an image
image_crop()
Crop an image to a rectangular region
image_crop_to_content()
Crop an image to its content bounding box
image_grow()
Grow an image by adding padding
image_merge()
Merge two images side by side or stacked
image_rotate_90()
Rotate an image by 90 degrees
image_scale()
Scale an image (nearest-neighbour)
image_to_array()
Convert a rendered image to an RGBA array
mesh_bbox()
Compute the axis-aligned bounding box of a mesh
mesh_from_rgl()
Convert an rgl tmesh3d to scimesh mesh format
mesh_to_rgl()
Convert a scimesh mesh to rgl tmesh3d format
read_obj()
Read a Wavefront OBJ file
read_ply()
Read a Stanford PLY file
read_stl()
Read an STL file
render_lines()
Render line segments as thin cylinders
render_mesh()
Render a 3D mesh to an image
render_options()
Create render options
render_points()
Render screen-space point primitives
render_scene()
Render multiple meshes to an image
render_spheres()
Render multiple spheres from point data
render_triangles()
Render raw triangles without index buffer
rotate_mesh()
Rotate a mesh around an axis
scale_mesh()
Scale a mesh uniformly or per-axis
scene()
Create a scene descriptor
stack_horizontal()
Stack images horizontally
stack_vertical()
Stack images vertically
transform_mesh()
Apply a 4x4 transformation matrix to a mesh
translate_mesh()
Translate a mesh
viridis_colormap()
Viridis colormap
write_gltf()
Write a scene or mesh list to a glTF file
write_png()
Write a rendered image to a PNG file
write_stl()
Write a mesh to an STL file
write_tga()
Write a rendered image to a TGA file