visionx::voxelgrid::LabelDensity Namespace Reference

Classes

class  Visualizer
 Visualizer for label density voxel grids. More...
 
class  Voxel
 Map of labels (object IDs) to number of points. More...
 
class  VoxelGrid
 Voxel grid storing the number of points per label in each voxel. More...
 

Functions

void from_json (const nlohmann::json &json, VoxelGrid &grid)
 Read the voxel grid from JSON.
 
std::ostream & operator<< (std::ostream &os, const Voxel &voxel)
 
void to_json (nlohmann::json &json, const VoxelGrid &grid)
 Write the voxel grid to JSON.
 

Function Documentation

◆ from_json()

void from_json ( const nlohmann::json & json,
VoxelGrid & grid )

Read the voxel grid from JSON.

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Voxel & voxel )

◆ to_json()

void to_json ( nlohmann::json & json,
const VoxelGrid & grid )

Write the voxel grid to JSON.