PointCloud2BIM Library
1.0
Library to facilitate the transpormation of point clouds into digital BIM representation
|
Public Member Functions | |
Histogram () | |
Constructs empty histogram. | |
Histogram (BoundingBoxInfo &bbox, double step, int coord) | |
Constructs histogram in given bounding box with step size in given direction. More... | |
void | addPoint (PointXYZ &p) |
Adds point to the histogram. More... | |
void | addPoint (PointXYZNormal &p) |
Adds point to the histogram. More... | |
std::vector< HistogramInfo > | getHistogram () |
Returns HistogramInfo. More... | |
Static Public Member Functions | |
static std::vector< HistogramInfo > | computeHistogram (std::vector< PointXYZ > &points, BoundingBoxInfo &bbox, double step, int coord) |
Calculates histogram. More... | |
|
inline |
Constructs histogram in given bounding box with step size in given direction.
bbox | Bounding box specifying the histogram ranges |
step | Step size |
coord | Coordinate for which to calculate the histogram |
|
inline |
Adds point to the histogram.
p | Point to be added |
|
inline |
Adds point to the histogram.
p | Point to be added |
|
inlinestatic |
Calculates histogram.
points | Points for histogram calculation |
bbox | Calculation bounding box |
step | Histogram step |
coord | Histogram direction |
|
inline |
Returns HistogramInfo.