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

Method readyCompression

io/LasWriter.cpp:756–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754}
755
756void LasWriter::readyCompression()
757{
758 deleteVlr(las::LaszipUserId, las::LaszipRecordId);
759 m_compressor = new LazPerfVlrCompressor(*m_ostream, d->header.pointFormat(),
760 d->header.ebCount());
761 std::vector<char> lazVlrData = m_compressor->vlrData();
762 std::vector<char> vlrdata(lazVlrData.begin(), lazVlrData.end());
763 addVlr(las::LaszipUserId, las::LaszipRecordId, "http://laszip.org", vlrdata);
764}
765
766
767// This is only called in stream mode.

Callers

nothing calls this directly

Calls 5

ebCountMethod · 0.80
pointFormatMethod · 0.45
vlrDataMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected