open3d.ml.torch.vis.DataModel¶
-
class
open3d.ml.torch.vis.
DataModel
(userdata)¶ The class for data i/o and storage of visualization.
- Parameters
userdata – The dataset to be used in the visualization.
-
class
BoundingBoxData
(name, boxes)¶ The class to define a bounding box that is used to describe the target location.
- Parameters
name – The name of the pointcloud array.
boxes – The array of pointcloud that define the bounding box.
-
__init__
(name, boxes)¶ Initialize self. See help(type(self)) for accurate signature.
-
__init__
(userdata)¶ Initialize self. See help(type(self)) for accurate signature.
-
calc_bounds_for
(name)¶ Calculate the bounds for a pointcloud.
-
create_point_cloud
(data)¶ Create a point cloud based on the data provided.
The data should include name and points.
-
get_attr
(name, attr_name)¶ Get an attribute from data based on the name passed.
-
get_attr_minmax
(attr_name, channel)¶ Get the minimum and maximum for an attribute.
-
get_attr_shape
(name, attr_name)¶ Get a shape from data based on the name passed.
-
get_available_attrs
(names)¶ Get a list of attributes based on the name.
-
is_loaded
(name)¶ Check if the data is loaded.
-
load
(name, fail_if_no_space=False)¶ Load a pointcloud based on the name provided.
-
unload
(name)¶ Unload a pointcloud.
-
bounding_box_prefix
= 'Bounding Boxes/'¶