52 bool read(
const QString &inputFilename );
55 bool write(
const QString &outputFilename,
const QHash<QgsPointCloudNodeId, UpdatedChunk> &updatedChunks );
67 static bool writeUpdatedFile(
const QString &inputFilename,
68 const QString &outputFilename,
69 const QHash<QgsPointCloudNodeId, UpdatedChunk> &updatedChunks,
70 QString *errorMessage =
nullptr );
74 void readChunkTable();
78 QString mInputFilename;
80 lazperf::header14 mHeader;
81 lazperf::copc_info_vlr mCopcVlr;
82 std::vector<lazperf::chunk> mChunks;
83 uint32_t mChunkCount = 0;
84 uint64_t mHierarchyOffset = 0;
85 std::vector<char> mHierarchyBlob;
86 std::vector<lazperf::evlr_header> mEvlrHeaders;
87 std::vector<std::vector<char>> mEvlrData;
88 QHash<uint64_t, QgsPointCloudNodeId> mOffsetToVoxel;
90 QString mErrorMessage;