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

Method run

filters/ChipperFilter.cpp:88–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87
88PointViewSet ChipperFilter::run(PointViewPtr view)
89{
90
91 m_inView = view;
92 m_partitions.resize(0);
93 m_xvec.resize(0);
94 m_yvec.resize(0);
95 m_spare.resize(view->size());
96 m_outViews.clear();
97
98 m_xvec.reserve(view->size());
99 m_yvec.reserve(view->size());
100
101 load(*view.get(), m_xvec, m_yvec, m_spare);
102 partition(m_xvec.size());
103 decideSplit(m_xvec, m_yvec, m_spare, 0, m_partitions.size() - 1);
104 return m_outViews;
105}
106
107
108void ChipperFilter::load(PointView& view, ChipRefList& xvec, ChipRefList& yvec,

Callers

nothing calls this directly

Calls 5

loadFunction · 0.85
resizeMethod · 0.80
sizeMethod · 0.45
clearMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected