pointCloud([type] | pointCloud [,indices] | width, height [,point] | point) -> creates new point cloud.
Parameters: | type : point-type (e.g. point.PointXYZ, see Notes) pointCloud : {pointCloud}
indices : {sequence}, optional
width : {int}
height : {int}
point : {point}
|
---|
Notes
Parameters: | point : {point???}, optional |
---|
Notes
The type of point must fit to the type of the point cloud. If the point cloud is invalid, its type is set to the type of the point.
specifies if all the data in points is finite (true), or whether it might contain Inf/NaN values (false).
Notes
{bool} : ReadOnly ReadWrite
returns whether this point cloud is empty, hence size == 1
Notes
{} : ReadOnly ReadWrite
Parameters: | indices : {} |
---|
Notes
This method is the same than command ‘del pointCloudVariable[indices]’
get available field names of point cloud
Notes
{} : ReadOnly ReadWrite
Creates a point cloud from the 2.5D data set given by the disparity dataObject. The x and y-components of each point are taken from the regular grid values of ‘disparity’ (considering the scaling and offset of the object). The corresponding z-value is the disparity’s value itself.
Parameters: | disparity : {MxN data object, float32}
intensity : {MxN data object, float32}, optional
deleteNaN : {bool}, optional
color : {MxN data object, rgba32}, optional
|
---|---|
Returns: | PointCloud. : |
Parameters: | X,Y,Z : {MxN data objects}
XYZ : {3xMxN data object}
deleteNaN : {bool}
|
---|---|
Returns: | PointCloud. : |
Parameters: | X,Y,Z,I : {MxN data objects}
OR : XYZ : {3xMxN data object}
deleteNaN : {bool}
|
---|---|
Returns: | PointCloud. : |
returns height of point cloud if organized as regular grid (organized == true), else 1 specifies the height of the point cloud dataset in the number of points. HEIGHT has two meanings:
- it can specify the height (total number of rows) of an organized point cloud dataset;
- it is set to 1 for unorganized datasets (thus used to check whether a dataset is organized or not).
Notes
{} : ReadOnly ReadWrite
Parameters: | index : {} values : {} |
---|
Notes
doctodo
returns whether this point cloud is organized as regular grid, hence height != 1
Notes
{} : ReadOnly ReadWrite
returns number of points in point cloud
Notes
{} : ReadOnly ReadWrite
The output has at least 3 elements per column. Onr got each coordinate (xyz). These will always be the first 3 elements. If the pointcloud type has normals defined, these will be added in the next 4 columns as [nx, ny, nz, curvature]. If the pointcloud type has an intensity, these will be added in the next 1 column as [intensity]. If the pointcloud type has an RGB(A)-intensity, these will be added in the next 4 column as [r, g, b, a]. Hence following combinations are possible [x,y,z], [x,y,z,i], [x,y,z,r,g,b,a], [x,y,z,nx,ny,nz, curvature], [x,y,z,nx,ny,nz, curvature, i], ...
Returns: | dObj : {dataObject}
|
---|
Notes
doctodo
returns point type of point cloud
Notes
{} : ReadOnly ReadWrite
returns width of point cloud if organized as regular grid (organized == true), else equal to size specifies the width of the point cloud dataset in the number of points. WIDTH has two meanings:
- it can specify the total number of points in the cloud (equal with POINTS see below) for unorganized datasets;
- it can specify the width (total number of points in a row) of an organized point cloud dataset.
Notes
{} : ReadOnly ReadWrite