40 #ifndef PCL_OUTOFCORE_OCTREE_RAM_CONTAINER_H_ 41 #define PCL_OUTOFCORE_OCTREE_RAM_CONTAINER_H_ 46 #include <pcl/outofcore/boost.h> 47 #include <pcl/outofcore/octree_abstract_node_container.h> 62 template<
typename Po
intT>
89 PCL_ERROR (
"[pcl::outofcore::OutofcoreOctreeRamContainer] Inserting eigen-aligned point vectors is not implemented using the ram containers\n");
96 PCL_ERROR (
"[pcl::outofcore::OutofcoreOctreeRamContainer] Inserting eigen-aligned point vectors is not implemented using the ram containers\n");
174 #endif //PCL_OUTOFCORE_OCTREE_RAM_CONTAINER_H_ OutofcoreOctreeRamContainer(const OutofcoreOctreeRamContainer &)
void readRange(const uint64_t start, const uint64_t count, AlignedPointTVector &v)
OutofcoreOctreeRamContainer & operator=(const OutofcoreOctreeRamContainer &)
Storage container class which the outofcore octree base is templated against.
void clear()
clears the vector of points in this class
This file defines compatibility wrappers for low level I/O functions.
static boost::mutex rng_mutex_
void insertRange(const PointT *start, const uint64_t count)
inserts count number of points into container; uses the container_ type's insert function
void insertRange(AlignedPointTVector &)
PointT operator[](uint64_t index) const
void insertRange(const AlignedPointTVector &)
AlignedPointTVector container_
linear container to hold the points
void convertToXYZ(const boost::filesystem::path &path)
Writes ascii x,y,z point data to path.string().c_str()
static boost::mt19937 rand_gen_
OutofcoreOctreeRamContainer(const boost::filesystem::path &)
empty constructor (with a path parameter?)
uint64_t size() const
returns the size of the vector of points stored in this class
A point structure representing Euclidean xyz coordinates, and the RGB color.
OutofcoreAbstractNodeContainer< PointT >::AlignedPointTVector AlignedPointTVector
void readRangeSubSample(const uint64_t start, const uint64_t count, const double percent, AlignedPointTVector &v)
grab percent*count random points.
std::vector< PointT, Eigen::aligned_allocator< PointT > > AlignedPointTVector