mosaic.geometry.Geometry#
- class Geometry(points=None, quaternions=None, color=(0.7, 0.7, 0.7), sampling_rate=None, meta=None, vtk_actor=None, **kwargs)[source]#
Bases:
object
- __init__(points=None, quaternions=None, color=(0.7, 0.7, 0.7), sampling_rate=None, meta=None, vtk_actor=None, **kwargs)[source]#
Methods
__init__
([points, quaternions, color, ...])change_representation
([representation])color_points
(point_ids, color)Color specific points in the geometry.
compute_distance
(query_points[, k])create_actor
([actor, lod_points, ...])merge
(geometries)set_appearance
([size, opacity, ...])set_color
([color])set_point_colors
(colors)Set individual colors for each point in the geometry.
set_scalars
(scalars, color_lut[, ...])set_visibility
([visibility])subset
(indices)swap_data
(points[, normals, faces, ...])Attributes