Represents a sub fused point cloud, it contains local vertices and colors. More...
Functions | |
PointCloudChunk () | |
Default constructor which creates an empty PointCloudChunk. More... | |
~PointCloudChunk () | |
PointCloudChunk destructor. More... | |
void | clear () |
Clears all chunk data. More... | |
Attributes | |
std::vector< float4 > | vertices |
std::vector< float3 > | normals |
unsigned long long | timestamp |
float3 | barycenter |
bool | has_been_updated |
Represents a sub fused point cloud, it contains local vertices and colors.
Vertices and normals have the same size.
PointCloudChunk | ( | ) |
Default constructor which creates an empty PointCloudChunk.
~PointCloudChunk | ( | ) |
PointCloudChunk destructor.
void clear | ( | ) |
Clears all chunk data.
std::vector<float4> vertices |
Vertices are defined by a colored 3D point {x, y, z, rgba}.
std::vector<float3> 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 |
True if the chunk has been updated by an inner process.