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. More...
 
std::ostream & operator<< (std::ostream &os, const Voxel &voxel)
 
void to_json (nlohmann::json &json, const VoxelGrid &grid)
 Write the voxel grid to JSON. More...
 

Function Documentation

◆ from_json()

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

Read the voxel grid from JSON.

Definition at line 267 of file VoxelGrid.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<()

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

Definition at line 84 of file VoxelGrid.cpp.

+ Here is the call graph for this function:

◆ to_json()

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

Write the voxel grid to JSON.

Definition at line 262 of file VoxelGrid.cpp.

+ Here is the call graph for this function: