mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
47 lines
1.4 KiB
C++
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 "Grid.hpp"
|
|
#include "Cell.hpp"
|
|
|
|
namespace untwine
|
|
{
|
|
|
|
class ProgressWriter;
|
|
|
|
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 Grid& grid, Writer *writer,
|
|
ProgressWriter& progress);
|
|
|
|
Cell *getCell(const VoxelKey& key);
|
|
void run();
|
|
|
|
private:
|
|
FileInfo m_fi;
|
|
CellMgr m_cellMgr;
|
|
Grid m_grid;
|
|
ProgressWriter& m_progress;
|
|
};
|
|
|
|
} // namespace epf
|
|
} // namespace untwine
|