Class representing a sub-point cloud containing local vertices and colors. More...
Functions | |
| PointCloudChunk () | |
| Default constructor. More... | |
| ~PointCloudChunk () | |
| Default destructor. More... | |
| void | clear () |
| Clears all data. More... | |
Attributes | |
| std::vector< float4 > | vertices |
| Vector of vertices. More... | |
| std::vector< float3 > | normals |
| Vector of normals. More... | |
| unsigned long long | timestamp |
| Timestamp of the latest update. More... | |
| float3 | barycenter |
| 3D centroid of the chunk. More... | |
| bool | has_been_updated |
| Whether the chunk has been updated by an inner process. More... | |
Class representing a sub-point cloud containing local vertices and colors.
| PointCloudChunk | ( | ) |
Default constructor.
Creates an empty sl::PointCloudChunk.
| ~PointCloudChunk | ( | ) |
Default destructor.
| void clear | ( | ) |
Clears all data.
| std::vector<float4> vertices |
Vector of vertices.
Vertices are defined by a colored 3D point {x, y, z, rgba}.
| std::vector<float3> normals |
Vector of normals.
Normals are defined by three components {nx, ny, nz}.
| unsigned long long timestamp |
Timestamp of the latest update.
| float3 barycenter |
3D centroid of the chunk.
| bool has_been_updated |
Whether the chunk has been updated by an inner process.