ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
OctreeIO.cpp File Reference
#include "OctreeIO.h"
#include <FileSystem.h>
#include <Logging.h>
#include <unordered_map>
#include "IJsonConvertibleIO.h"
Include dependency graph for OctreeIO.cpp:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::io
 

Functions

std::shared_ptr< geometry::Octree > cloudViewer::io::CreateOctreeFromFile (const std::string &filename, const std::string &format="auto")
 
bool cloudViewer::io::ReadOctree (const std::string &filename, geometry::Octree &octree, const std::string &format="auto")
 
bool cloudViewer::io::WriteOctree (const std::string &filename, const geometry::Octree &octree)
 
bool cloudViewer::io::ReadOctreeFromJson (const std::string &filename, geometry::Octree &octree)
 
bool cloudViewer::io::WriteOctreeToJson (const std::string &filename, const geometry::Octree &octree)
 

Variables

static const std::unordered_map< std::string, std::function< bool(const std::string &, geometry::Octree &)> > cloudViewer::io::file_extension_to_octree_read_function
 
static const std::unordered_map< std::string, std::function< bool(const std::string &, const geometry::Octree &)> > cloudViewer::io::file_extension_to_octree_write_function