2025-02-10 16:56:52 +01:00
|
|
|
/* SPDX-FileCopyrightText: 2024 Blender Authors
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup csv
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "BLI_path_utils.hh"
|
|
|
|
|
|
|
|
|
|
struct PointCloud;
|
|
|
|
|
struct ReportList;
|
|
|
|
|
|
|
|
|
|
namespace blender::io::csv {
|
|
|
|
|
|
|
|
|
|
struct CSVImportParams {
|
|
|
|
|
/** Full path to the source CSV file to import. */
|
|
|
|
|
char filepath[FILE_MAX];
|
2025-03-04 23:58:02 +01:00
|
|
|
char delimiter = ',';
|
2025-02-10 16:56:52 +01:00
|
|
|
|
|
|
|
|
ReportList *reports = nullptr;
|
|
|
|
|
};
|
|
|
|
|
|
2025-02-19 17:11:08 +01:00
|
|
|
PointCloud *import_csv_as_pointcloud(const CSVImportParams &import_params);
|
2025-02-10 16:56:52 +01:00
|
|
|
|
|
|
|
|
} // namespace blender::io::csv
|