PointCloudChunk Class Reference

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< float4vertices
 
std::vector< float3normals
 
unsigned long long timestamp
 
float3 barycenter
 
bool has_been_updated
 

Detailed Description

Represents a sub fused point cloud, it contains local vertices and colors.

Vertices and normals have the same size.

Constructor and Destructor

◆ PointCloudChunk()

Default constructor which creates an empty PointCloudChunk.

◆ ~PointCloudChunk()

PointCloudChunk destructor.

Functions

◆ clear()

void clear ( )

Clears all chunk data.

Variables

◆ vertices

std::vector<float4> vertices

Vertices are defined by a colored 3D point {x, y, z, rgba}.

◆ normals

std::vector<float3> normals

Normals are defined by three components, {nx, ny, nz}.

◆ timestamp

unsigned long long timestamp

Timestamp of the latest update.

◆ barycenter

float3 barycenter

3D centroid of the chunk.

◆ has_been_updated

bool has_been_updated

True if the chunk has been updated by an inner process.