MCPcopy Create free account
hub / github.com/PDAL/PDAL / loadSet

Method loadSet

filters/NeighborClassifierFilter.cpp:168–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166
167
168PointViewPtr NeighborClassifierFilter::loadSet(const std::string& filename,
169 PointTableRef table)
170{
171 PipelineManager mgr;
172
173 Stage& reader = mgr.makeReader(filename, "");
174 reader.prepare(table);
175 PointViewSet viewSet = reader.execute(table);
176 assert(viewSet.size() == 1);
177 return *viewSet.begin();
178}
179
180void NeighborClassifierFilter::filter(PointView& view)
181{

Callers

nothing calls this directly

Calls 5

makeReaderMethod · 0.80
prepareMethod · 0.45
executeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected