open3d.ml.torch.vis.Model#

class open3d.ml.torch.vis.Model#

The class that helps build visualization models based on attributes, data, and methods.

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)#
__init__()#
calc_bounds_for(name)#

Calculate the bounds for a pointcloud.

create_cams(name, cam_dict, key='img', update=False)#

Create images based on the data provided.

The data should include name and cams.

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)#

If data is not loaded, then load the data.

unload(name)#
bounding_box_prefix = 'Bounding Boxes/'#