cloudViewer.t.pipelines.slam.Frame#

class cloudViewer.t.pipelines.slam.Frame#

A frame container that stores a map from keys (color, depth) to tensor images.

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self, arg0)

    Copy constructor

Parameters:

arg0 (cloudViewer.t.pipelines.slam.Frame) –

  1. __init__(self, height, width, intrinsics, device)

Parameters:
get_data(self: cloudViewer.t.pipelines.slam.Frame, arg0: str) cloudViewer.core.Tensor#

Get a 2D tensor from a image from the given key in the map.

get_data_as_image(self: cloudViewer.t.pipelines.slam.Frame, arg0: str) cloudViewer::t::geometry::Image#

Get a 2D image from from the given key in the map.

height(self: cloudViewer.t.pipelines.slam.Frame) int#
set_data(self: cloudViewer.t.pipelines.slam.Frame, arg0: str, arg1: cloudViewer.core.Tensor) None#

Set a 2D tensor to a image to the given key in the map.

set_data_from_image(self: cloudViewer.t.pipelines.slam.Frame, arg0: str, arg1: cloudViewer::t::geometry::Image) None#

Set a 2D image to the given key in the map.

width(self: cloudViewer.t.pipelines.slam.Frame) int#