PointCloudChunk Class Reference

Class representing a sub-point cloud containing local vertices and colors. More...

Functions

np.array[float] vertices (self)
 NumPy array of vertices. More...
 
np.array[float] normals (self)
 NumPy array of normals. More...
 
int timestamp (self)
 Timestamp of the latest update.
 
np.array[float] barycenter (self)
 3D centroid of the chunk.
 
bool has_been_updated (self)
 Whether the point cloud chunk has been updated by an inner process.
 
None clear (self)
 Clears all data.
 

Detailed Description

Class representing a sub-point cloud containing local vertices and colors.

Note
vertices and normals have the same size.

Functions

◆ vertices()

np.array[float] vertices (   self)

NumPy array of vertices.

Vertices are defined by a colored 3D point [x, y, z, rgba].

◆ normals()

np.array[float] normals (   self)

NumPy array of normals.

Normals are defined by three components [nx, ny, nz].

Note
A normal is defined for each vertex.