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

Method ready

plugins/e57/io/E57Writer.cpp:200–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void E57Writer::ready(PointTableRef table)
201{
202 // Extracts dimensions that can be written
203 auto dimensions = table.layout()->dims();
204 m_dimensionsToWrite.clear();
205 for (auto pdaldim: dimensions)
206 {
207 std::string e57Dimension(pdal::e57plugin::pdalToE57(pdaldim));
208 if (!e57Dimension.empty())
209 m_dimensionsToWrite.push_back(e57Dimension);
210 }
211
212 for (auto i = m_extraDims->begin(); i != m_extraDims->end(); ++i)
213 {
214 m_dimensionsToWrite.push_back(i->m_name);
215 }
216
217 setupWriter();
218}
219
220void E57Writer::write(const PointViewPtr view)
221{

Callers

nothing calls this directly

Calls 5

pdalToE57Function · 0.85
clearMethod · 0.45
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected