41 #include <pcl/memory.h>
42 #include <pcl/pcl_macros.h>
43 #include <pcl/pcl_config.h>
44 #if defined(HAVE_CJSON)
45 #include <cjson/cJSON.h>
47 #include <pcl/outofcore/cJSON.h>
50 #include <pcl/common/eigen.h>
52 #include <boost/filesystem.hpp>
94 using Ptr = shared_ptr<OutofcoreOctreeNodeMetadata>;
95 using ConstPtr = shared_ptr<const OutofcoreOctreeNodeMetadata>;
105 const Eigen::Vector3d&
106 getBoundingBoxMin ()
const;
109 setBoundingBoxMin (
const Eigen::Vector3d& min_bb);
111 const Eigen::Vector3d&
112 getBoundingBoxMax ()
const;
115 setBoundingBoxMax (
const Eigen::Vector3d& max_bb);
119 getBoundingBox (Eigen::Vector3d &min_bb, Eigen::Vector3d &max_bb)
const;
122 setBoundingBox (
const Eigen::Vector3d& min_bb,
const Eigen::Vector3d& max_bb);
125 const boost::filesystem::path&
126 getDirectoryPathname ()
const;
129 setDirectoryPathname (
const boost::filesystem::path& directory_pathname);
132 const boost::filesystem::path&
133 getPCDFilename ()
const;
136 setPCDFilename (
const boost::filesystem::path& point_filename);
140 getOutofcoreVersion ()
const;
143 setOutofcoreVersion (
const int version);
146 const boost::filesystem::path&
147 getMetadataFilename ()
const;
150 setMetadataFilename (
const boost::filesystem::path& path_to_metadata);
153 const Eigen::Vector3d&
154 getVoxelCenter ()
const;
158 serializeMetadataToDisk ();
162 loadMetadataFromDisk ();
165 loadMetadataFromDisk (
const boost::filesystem::path& path_to_metadata);
184 int outofcore_version_{0};
190 midpoint_xyz_ = (this->max_bb_ + this->min_bb_)/static_cast<double>(2.0);
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)