|
|
#include "VoxelGrid.h"#include <algorithm>#include <VisionX/libraries/VoxelGridCore/io/JsonIO.h>#include "../utils.h"
Include dependency graph for VoxelGrid.cpp:Go to the source code of this file.
Namespaces | |
| namespace | visionx |
| ArmarX headers. | |
| namespace | visionx::voxelgrid |
| namespace | visionx::voxelgrid::LabelOccupancy |
Functions | |
| void | from_json (const nlohmann::json &json, Voxel &voxel) |
Set this voxel free, if json is < 0. | |
| void | from_json (const nlohmann::json &json, VoxelGrid &grid) |
| Read the voxel grid from JSON. | |
| void | to_json (nlohmann::json &json, const Voxel &voxel) |
Set json to the voxel's label if occupied, and to -1 if free. | |
| void | to_json (nlohmann::json &json, const VoxelGrid &grid) |
| Write the voxel grid to JSON. | |