Click or drag to resize

PointCloudCopyPointsXYZW Method

Point coordinates as 4D (homogeneous coordinates) as a float array of rank 3 with size height * width * 4

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax
public float[,,] CopyPointsXYZW()

Return Value

Type: Single
Rank 3 float array of XYZW point coordinates
Remarks
This method copies the point coordinates (as 4D homogeneous coordinates) from compute device memory to host (CPU) system memory (RAM) and returns them in a float array. Note that W is always set to 1.0. First dimension is row (0 to height-1), second dimension is column (0 to width-1), and third dimension is x/y/z/w (x=0, y=1, z=2, w=3). For example, to get x coordinate of row 50, column 400 on the 2D grid, use index [50, 400, 0].
See Also