open3d.io.rpc.set_mesh_data#
- open3d.io.rpc.set_mesh_data(path='', time=0, layer='', vertices=(with default value), vertex_attributes={}, faces=(with default value), face_attributes={}, lines=(with default value), line_attributes={}, material='', material_scalar_attributes={}, material_vector_attributes={}, texture_maps={}, o3d_type='', connection=None)#
Sends a set_mesh_data message.
- Parameters:
path (str, optional, default='') – A path descriptor, e.g., ‘mygroup/points’.
time (int, optional, default=0) – The time associated with this data.
layer (str, optional, default='') – The layer associated with this data.
vertices (open3d.core.Tensor, optional) –
Tensor defining the vertices. Default value:
0-element Tensor Tensor[shape={0}, stride={1}, Float32
()
vertex_attributes (Dict[str, open3d.core.Tensor], optional, default={}) – dict of Tensors with vertex attributes.
faces (open3d.core.Tensor, optional) –
Tensor defining the faces with vertex indices. Default value:
0-element Tensor Tensor[shape={0}, stride={1}, Int32
()
face_attributes (Dict[str, open3d.core.Tensor], optional, default={}) – dict of Tensors with face attributes.
lines (open3d.core.Tensor, optional) –
Tensor defining lines with vertex indices. Default value:
0-element Tensor Tensor[shape={0}, stride={1}, Int32
()
line_attributes (Dict[str, open3d.core.Tensor], optional, default={}) – dict of Tensors with line attributes.
material (str, optional, default='') – Basic Material for geometry drawing. Must be non-empty if any material attributes or texture maps are provided.
material_scalar_attributes (Dict[str, float], optional, default={}) – dict of material scalar attributes for geometry drawing (e.g.
point_size
,line_width
orbase_reflectance
).material_vector_attributes (Dict[str, Annotated[List[float], FixedSize(4)]], optional, default={}) – dict of material Vector4f attributes for geometry drawing (e.g.
base_color
orabsorption_color
)texture_maps (Dict[str, open3d.t.geometry.Image], optional, default={}) – dict of Images with textures.
o3d_type (str, optional, default='') – The type of the geometry. This is one of
PointCloud
,LineSet
,TriangleMesh
. This argument should be specified for partial data that has no primary key data, e.g., a triangle mesh without vertices but with other attribute tensors.connection (open3d.io.rpc._ConnectionBase, optional, default=None) – A Connection object. Use None to automatically create the connection.
- Returns:
bool