41 #include <pcl/memory.h>
42 #include <pcl/pcl_macros.h>
43 #include <pcl/outofcore/cJSON.h>
45 #include <pcl/common/eigen.h>
47 #include <boost/filesystem.hpp>
89 using Ptr = shared_ptr<OutofcoreOctreeNodeMetadata>;
90 using ConstPtr = shared_ptr<const OutofcoreOctreeNodeMetadata>;
100 const Eigen::Vector3d&
101 getBoundingBoxMin ()
const;
104 setBoundingBoxMin (
const Eigen::Vector3d& min_bb);
106 const Eigen::Vector3d&
107 getBoundingBoxMax ()
const;
110 setBoundingBoxMax (
const Eigen::Vector3d& max_bb);
114 getBoundingBox (Eigen::Vector3d &min_bb, Eigen::Vector3d &max_bb)
const;
117 setBoundingBox (
const Eigen::Vector3d& min_bb,
const Eigen::Vector3d& max_bb);
120 const boost::filesystem::path&
121 getDirectoryPathname ()
const;
124 setDirectoryPathname (
const boost::filesystem::path& directory_pathname);
127 const boost::filesystem::path&
128 getPCDFilename ()
const;
131 setPCDFilename (
const boost::filesystem::path& point_filename);
135 getOutofcoreVersion ()
const;
138 setOutofcoreVersion (
const int version);
141 const boost::filesystem::path&
142 getMetadataFilename ()
const;
145 setMetadataFilename (
const boost::filesystem::path& path_to_metadata);
148 const Eigen::Vector3d&
149 getVoxelCenter ()
const;
153 serializeMetadataToDisk ();
157 loadMetadataFromDisk ();
160 loadMetadataFromDisk (
const boost::filesystem::path& path_to_metadata);
179 int outofcore_version_{0};
185 midpoint_xyz_ = (this->max_bb_ + this->min_bb_)/static_cast<double>(2.0);
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)