Point Cloud Library (PCL)
1.7.2
|
Storage container class which the outofcore octree base is templated against. More...
#include <pcl/outofcore/octree_ram_container.h>
Public Types | |
typedef OutofcoreAbstractNodeContainer< PointT >::AlignedPointTVector | AlignedPointTVector |
![]() | |
typedef std::vector< PointT, Eigen::aligned_allocator< PointT > > | AlignedPointTVector |
Public Member Functions | |
OutofcoreOctreeRamContainer (const boost::filesystem::path &) | |
empty contructor (with a path parameter?) More... | |
void | insertRange (const PointT *start, const uint64_t count) |
inserts count number of points into container; uses the container_ type's insert function More... | |
void | insertRange (const PointT *const *start, const uint64_t count) |
inserts count points into container More... | |
void | insertRange (AlignedPointTVector &) |
void | insertRange (const AlignedPointTVector &) |
void | readRange (const uint64_t start, const uint64_t count, AlignedPointTVector &v) |
void | readRangeSubSample (const uint64_t start, const uint64_t count, const double percent, AlignedPointTVector &v) |
grab percent*count random points. More... | |
uint64_t | size () const |
returns the size of the vector of points stored in this class More... | |
bool | empty () const |
void | clear () |
clears the vector of points in this class More... | |
void | convertToXYZ (const boost::filesystem::path &path) |
Writes ascii x,y,z point data to path.string().c_str() More... | |
PointT | operator[] (uint64_t index) const |
![]() | |
OutofcoreAbstractNodeContainer () | |
OutofcoreAbstractNodeContainer (const boost::filesystem::path &) | |
virtual | ~OutofcoreAbstractNodeContainer () |
Protected Member Functions | |
OutofcoreOctreeRamContainer (const OutofcoreOctreeRamContainer &) | |
OutofcoreOctreeRamContainer & | operator= (const OutofcoreOctreeRamContainer &) |
![]() | |
OutofcoreAbstractNodeContainer (const OutofcoreAbstractNodeContainer &rval) | |
Protected Attributes | |
AlignedPointTVector | container_ |
linear container to hold the points More... | |
![]() | |
AlignedPointTVector | container_ |
Static Protected Attributes | |
static boost::mutex | rng_mutex_ |
static boost::mt19937 | rand_gen_ |
![]() | |
static boost::mutex | rng_mutex_ |
static boost::mt19937 | rand_gen_ |
Storage container class which the outofcore octree base is templated against.
Definition at line 63 of file octree_ram_container.h.
typedef OutofcoreAbstractNodeContainer<PointT>::AlignedPointTVector pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::AlignedPointTVector |
Definition at line 66 of file octree_ram_container.h.
|
inline |
empty contructor (with a path parameter?)
Definition at line 70 of file octree_ram_container.h.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::insertRange().
|
inlineprotected |
Definition at line 157 of file octree_ram_container.h.
|
inlinevirtual |
clears the vector of points in this class
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 135 of file octree_ram_container.h.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::container_, and pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::convertToXYZ().
|
virtual |
Writes ascii x,y,z point data to path.string().c_str()
path | The path/filename destination of the ascii xyz data |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 61 of file octree_ram_container.hpp.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::insertRange().
Referenced by pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::clear().
|
inlinevirtual |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 127 of file octree_ram_container.h.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::container_.
|
virtual |
inserts count number of points into container; uses the container_ type's insert function
[in] | start | - address of first point in array |
[in] | count | - the maximum offset from start of points inserted |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Referenced by pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::convertToXYZ(), and pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::OutofcoreOctreeRamContainer().
|
virtual |
inserts count points into container
[in] | start | - address of first point in array |
[in] | count | - the maximum offset from start of points inserted |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
|
inline |
Definition at line 87 of file octree_ram_container.h.
|
inline |
Definition at line 94 of file octree_ram_container.h.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::readRange(), and pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::readRangeSubSample().
|
inlineprotected |
Definition at line 160 of file octree_ram_container.h.
|
inlinevirtual |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 148 of file octree_ram_container.h.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::container_.
|
virtual |
[in] | start | Index of first point to return from container |
[in] | count | Offset (start + count) of the last point to return from container |
[out] | v | Array of points read from the input range |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 109 of file octree_ram_container.hpp.
Referenced by pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::insertRange().
|
virtual |
grab percent*count random points.
points are NOT guaranteed to be unique (could have multiple identical points!)
[in] | start | Index of first point in range to subsample |
[in] | count | Offset (start+count) of last point in range to subsample |
[in] | percent | Percentage of range to return |
[out] | v | Vector with percent*count uniformly random sampled points from given input rangerange |
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 119 of file octree_ram_container.hpp.
References pcl::outofcore::rand_gen_.
Referenced by pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::insertRange().
|
inlinevirtual |
returns the size of the vector of points stored in this class
Implements pcl::outofcore::OutofcoreAbstractNodeContainer< PointT >.
Definition at line 121 of file octree_ram_container.h.
References pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::container_.
|
protected |
linear container to hold the points
Definition at line 166 of file octree_ram_container.h.
Referenced by pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::clear(), pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::empty(), pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::operator[](), and pcl::outofcore::OutofcoreOctreeRamContainer< PointT >::size().
|
staticprotected |
Definition at line 169 of file octree_ram_container.h.
|
staticprotected |
Definition at line 168 of file octree_ram_container.h.