VoxelGrid.h File Reference
#include <filesystem>
#include <set>
#include <SimoxUtility/json/json.hpp>
#include <VisionX/libraries/VoxelGridCore/VoxelGridCore.h>
#include "../types.h"
#include "../LabelDensity/VoxelGrid.h"
+ Include dependency graph for VoxelGrid.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Voxel
 A voxel storing whether it is occupied or free and the object label it is occupied by. More...
 
class  VoxelGrid
 Voxel grid storing the number of points per label in each voxel. More...
 

Namespaces

 visionx
 ArmarX headers.
 
 visionx::voxelgrid
 
 visionx::voxelgrid::LabelOccupancy
 

Functions

void from_json (const nlohmann::json &json, Voxel &voxel)
 Set this voxel free, if json is < 0. More...
 
void from_json (const nlohmann::json &json, VoxelGrid &grid)
 Read the voxel grid from JSON. More...
 
void to_json (nlohmann::json &json, const Voxel &voxel)
 Set json to the voxel's label if occupied, and to -1 if free. More...
 
void to_json (nlohmann::json &json, const VoxelGrid &grid)
 Write the voxel grid to JSON. More...