mosaic.geometry.VolumeGeometry#

class VolumeGeometry(volume=None, volume_sampling_rate=array([1., 1., 1.]), **kwargs)[source]#

Bases: Geometry

__init__(volume=None, volume_sampling_rate=array([1., 1., 1.]), **kwargs)[source]#

Methods

__init__([volume, volume_sampling_rate])

change_representation(*args, **kwargs)

color_points(point_ids, color)

Color specific points in the geometry.

compute_distance(query_points[, k])

create_actor([actor, lod_points, ...])

get_number_of_points()

merge(geometries)

set_appearance([isovalue_percentile])

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, ...])

toggle_visibility()

update_isovalue(upper[, lower])

update_isovalue_quantile(upper_quantile[, ...])

Attributes

actor

normals

points

quaternions

sampling_rate

visible