Visualization

Contents

Viewer

class Py3DViewer.visualization.Viewer.Viewer(geometries, mesh_color=None, width=700, height=400, reactive=False, with_gui=False)[source]

Bases: object

set_poly_color(poly_idx, color, geometry_idx=0)[source]
show()[source]
update()[source]
update_controls()[source]

Colors

class Py3DViewer.visualization.Colors.colors[source]

Bases: object

black = array([0., 0., 0.])
blue = array([0., 0., 1.])
green = array([0., 1., 0.])
hex2rgb()[source]
orange = array([1. , 0.64705882, 0. ])
purple = array([1., 0., 1.])
random_color()[source]
red = array([1., 0., 0.])
rgb2hex()[source]
teal = array([0.00392157, 0.83137255, 0.70588235])
white = array([1., 1., 1.])