43 #include <pcl/outofcore/boost.h>
44 #include <pcl/outofcore/cJSON.h>
46 #include <pcl/outofcore/metadata.h>
98 using Ptr = shared_ptr<OutofcoreOctreeBaseMetadata>;
99 using ConstPtr = shared_ptr<const OutofcoreOctreeBaseMetadata>;
116 getOutofcoreVersion ()
const;
119 setOutofcoreVersion (
const int version);
122 boost::filesystem::path
123 getMetadataFilename ()
const;
126 setMetadataFilename (
const boost::filesystem::path& path_to_metadata);
130 serializeMetadataToDisk ()
override;
134 loadMetadataFromDisk ();
138 loadMetadataFromDisk (
const boost::filesystem::path& path_to_metadata)
override;
145 setOctreeName (
const std::string& name_arg);
151 setPointType (
const std::string& point_type_arg);
153 virtual std::vector<std::uint64_t>&
155 virtual std::vector<std::uint64_t>
156 getLODPoints ()
const;
158 virtual std::uint64_t
159 getLODPoints (
const std::uint64_t& depth_index)
const;
163 setLODPoints (
const std::uint64_t& depth);
166 setLODPoints (std::vector<std::uint64_t>& lod_points_arg);
174 setLODPoints (
const std::uint64_t& lod_index_arg,
const std::uint64_t& num_points_arg,
const bool increment=
true);
178 setCoordinateSystem (
const std::string& coordinate_system);
181 getCoordinateSystem ()
const;
185 setDepth (
const std::uint64_t& depth_arg);
186 virtual std::uint64_t
219 writeMetadataString (std::vector<char>& buf)
override;