mecheye.area_scan_3d_camera.TexturedPointCloud

class mecheye.area_scan_3d_camera.TexturedPointCloud(*args)

Organized XYZ point cloud with BGR texture.

NumPy accessors copy data; empty accessors return a float64 zero array of shape (1,). Pixel references expire after a size-changing resize or release.

at(row, col)

Return a mutable pixel reference at row and col.

Raises:
  • IndexError – A coordinate is outside the grid.

  • ReferenceError – Later access follows a resize or release that expired the reference.

clone()

Return an independent SDK grid with a deep copy of the stored values.

colors()

Return an owned uint8 BGR array with shape (height, width, 3).

An empty grid returns a float64 zero array of shape (1,).

height()

Return the grid height in pixels.

is_empty()

Return whether the grid has no elements.

release()

Release native grid storage and invalidate existing pixel references.

resize(width, height)

Resize the grid to width by height pixels.

Existing pixel references expire if the dimensions change. NumPy copies remain valid independently of the grid.

vertices()

Return an owned float32 XYZ array with shape (height, width, 3).

An empty grid returns a float64 zero array of shape (1,).

width()

Return the grid width in pixels.