|
void | add_observation (const PointT &pt) |
| Update the state of the voxel, only increments internal counter. More...
|
|
void | configure (const Config &cfg, const uint64_t idx) |
| Use Config and index to set up any important information, in this case sets the centroid. More...
|
|
| Voxel () |
| Default constructor, corresponds to an empty/uninitialized voxel. More...
|
|
| Voxel (const PointT &pt) |
| Point constructor, voxel is assumed to be created based on this point. More...
|
|
| operator bool () const |
| Conversion operator to bool, pass through to occupied. More...
|
|
| operator PointT () const |
| Conversion operator to PointT, pass through to get. More...
|
|
bool | occupied () const |
| Whether or not this object has at least one point associated with it. More...
|
|
void | clear () |
| Resets the centroid for incremental updating. More...
|
|
const PointT & | get () const |
| Emit the centroid. More...
|
|
uint32_t | count () const |
| Get the current number of points associated with this voxel. More...
|
|
template<typename PointT>
class autoware::perception::filters::voxel_grid::ApproximateVoxel< PointT >
A specialization of the Voxel class, only returns centroid of voxel.
- Template Parameters
-
PointT | The point type, must have float32_t members x, y, and z |