Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.valid(shape_constraints(None, 3))
point_set_opacities = NDArray(dtype=np.float32, default_value=np.zeros((0,), dtype=np.float32),
help="Opacities for the points sets")\
.tag(sync=True, **array_serialization)\
.valid(shape_constraints(None,))
point_set_representations = List(
trait=Unicode(),
default_value=[],
help="Point set representation").tag(
sync=True)
geometries = PolyDataList(
default_value=None,
allow_none=True,
help="Geometries to visualize").tag(
sync=True,
**polydata_list_serialization)
geometry_colors = NDArray(dtype=np.float32, default_value=np.zeros((0, 3), dtype=np.float32),
help="RGB colors for the geometries")\
.tag(sync=True, **array_serialization)\
.valid(shape_constraints(None, 3))
geometry_opacities = NDArray(dtype=np.float32, default_value=np.zeros((0,), dtype=np.float32),
help="Opacities for the geometries")\
.tag(sync=True, **array_serialization)\
.valid(shape_constraints(None,))
ui_collapsed = CBool(
default_value=False,
help="Collapse the built in user interface.").tag(
sync=True)
rotate = CBool(
default_value=False,
help="Rotate the camera around the scene.").tag(
sync=True)
help="The user requested a reset of the roi.").tag(sync=True)
units = Unicode(
'',
help="Units to display in the scale bar.").tag(
sync=True)
point_set_representations = List(
trait=Unicode(),
default_value=[],
help="Point set representation").tag(
sync=True)
point_sets = PointSetList(
default_value=None,
allow_none=True,
help="Point sets to visualize").tag(
sync=True,
**polydata_list_serialization)
point_set_colors = NDArray(dtype=np.float32, default_value=np.zeros((0, 3), dtype=np.float32),
help="RGB colors for the points sets")\
.tag(sync=True, **array_serialization)\
.valid(shape_constraints(None, 3))
point_set_opacities = NDArray(dtype=np.float32, default_value=np.zeros((0,), dtype=np.float32),
help="Opacities for the points sets")\
.tag(sync=True, **array_serialization)\
.valid(shape_constraints(None,))
point_set_representations = List(
trait=Unicode(),
default_value=[],
help="Point set representation").tag(
sync=True)
geometries = PolyDataList(
default_value=None,
allow_none=True,