MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / addHistogramData

Method addHistogramData

visualization/src/pcl_plotter.cpp:289–299  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

287
288//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
289void
290pcl::visualization::PCLPlotter::addHistogramData (
291 std::vector<double> const& data,
292 int const nbins,
293 char const *name,
294 std::vector<char> const &color)
295{
296 std::vector<std::pair<double, double> > histogram;
297 computeHistogram (data, nbins, histogram);
298 this->addPlotData (histogram, name, vtkChart::BAR, color);
299}
300
301////////////////////////////////HistVizualizer Functions//////////////////////////////////////
302bool

Callers

nothing calls this directly

Calls 1

addPlotDataMethod · 0.95

Tested by

no test coverage detected