#include <fstream>
#include <functional>
#include <iostream>
#include <map>
#include <SimoxUtility/json/json.hpp>
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include "../VoxelGrid.hpp"
#include "to_from_json.h"
Go to the source code of this file.
|
| class | JsonIO |
| | Class to store voxel grids in a vectorized JSON format. More...
|
| |
|
| template<class VoxelT > |
| using | VoxelAttributeGetter = std::function< nlohmann::json(const VoxelT &voxel)> |
| | Function to get an attribute of a voxel. More...
|
| |
| template<class VoxelT > |
| using | VoxelAttributeGetterMap = std::map< std::string, VoxelAttributeGetter< VoxelT > > |
| | Map of attribute name to attribute getter. More...
|
| |
| template<class VoxelT > |
| using | VoxelAttributeSetter = std::function< void(const nlohmann::json &j, VoxelT &voxel)> |
| | Function to set an attribute of a voxel. More...
|
| |
| template<class VoxelT > |
| using | VoxelAttributeSetterMap = std::map< std::string, VoxelAttributeSetter< VoxelT > > |
| | Map of attribute name to attribute setter. More...
|
| |