QGIS/external/pdal_wrench/tile/FileProcessor.hpp
Juergen E. Fischer efee735536 fix msvc build
2023-03-26 11:53:58 +02:00

47 lines
1.4 KiB
C++

/*****************************************************************************
* Copyright (c) 2020, Hobu, Inc. (info@hobu.co) *
* *
* All rights reserved. *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
****************************************************************************/
#include "EpfTypes.hpp"
#include "TileGrid.hpp"
#include "Cell.hpp"
struct ProgressBar;
namespace untwine
{
namespace epf
{
class Writer;
// Processes a single input file (FileInfo) and writes data to the Writer.
class FileProcessor
{
public:
FileProcessor(const FileInfo& fi, size_t pointSize, const TileGrid& grid, Writer *writer,
ProgressBar& progressBar);
Cell *getCell(const TileKey& key);
void run();
private:
FileInfo m_fi;
CellMgr m_cellMgr;
TileGrid m_grid;
ProgressBar& m_progressBar;
};
} // namespace epf
} // namespace untwine