[Module octree]

**Octree** pointcloud density class
More...

`#include <pcl/octree/octree_pointcloud_density.h>`

Inheritance diagram for pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >:

Collaboration diagram for pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >:

## Public Types | |

typedef OctreePointCloudDensity < PointT, LeafT, OctreeBase < int, LeafT > > | SingleBuffer |

typedef OctreePointCloudDensity < PointT, LeafT, Octree2BufBase< int, LeafT > > | DoubleBuffer |

## Public Member Functions | |

OctreePointCloudDensity (const double resolution_arg) | |

OctreePointCloudDensity class constructor. | |

virtual | ~OctreePointCloudDensity () |

Empty class deconstructor. | |

unsigned int | getVoxelDensityAtPoint (const PointT &point_arg) const |

Get the amount of points within a leaf node voxel which is addressed by a point. |

class pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >

**Octree** pointcloud density class

**Note:**- This class generate an octrees from a point cloud (zero-copy). Only the amount of points that fall into the leaf node voxel are stored.
- The octree pointcloud is initialized with its voxel resolution. Its bounding box is automatically adjusted or can be predefined.
- typename: PointT: type of point used in pointcloud

Definition at line 130 of file octree_pointcloud_density.h.

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>

typedef OctreePointCloudDensity<PointT, LeafT, Octree2BufBase<int, LeafT> > pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::DoubleBuffer |

Reimplemented from pcl::octree::OctreePointCloud< PointT, LeafT, OctreeT >.

Definition at line 136 of file octree_pointcloud_density.h.

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>

typedef OctreePointCloudDensity<PointT, LeafT, OctreeBase<int, LeafT> > pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::SingleBuffer |

Reimplemented from pcl::octree::OctreePointCloud< PointT, LeafT, OctreeT >.

Definition at line 135 of file octree_pointcloud_density.h.

template<typename PointT , typename LeafT = OctreePointCloudDensityLeaf<int>, typename OctreeT = OctreeBase<int, LeafT>>

pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::OctreePointCloudDensity | ( | const double | resolution_arg |
) | ` [inline]` |

OctreePointCloudDensity class constructor.

**Parameters:**-
*resolution_arg,:*octree resolution at lowest octree level

Definition at line 141 of file octree_pointcloud_density.h.

virtual pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::~OctreePointCloudDensity | ( | ) | ` [inline, virtual]` |

Empty class deconstructor.

Definition at line 148 of file octree_pointcloud_density.h.

unsigned int pcl::octree::OctreePointCloudDensity< PointT, LeafT, OctreeT >::getVoxelDensityAtPoint | ( | const PointT & | point_arg |
) | const` [inline]` |

Get the amount of points within a leaf node voxel which is addressed by a point.

**Parameters:**-
*point_arg,:*a point addressing a voxel

**Returns:**- amount of points that fall within leaf node voxel

Definition at line 157 of file octree_pointcloud_density.h.

The documentation for this class was generated from the following file:

- /tmp/pcl-1.0.1/octree/include/pcl/octree/octree_pointcloud_density.h