JsonIO.h File Reference
#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"
+ Include dependency graph for JsonIO.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JsonIO
 Class to store voxel grids in a vectorized JSON format. More...
 

Namespaces

 visionx
 ArmarX headers.
 
 visionx::voxelgrid
 
 visionx::voxelgrid::io
 

Typedefs

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...