Though "Point Cloud" written as two words is technically correct and should be used in the UI, as one word it's typically easier to write and parse when reading. We had a mix of both before this patch, so better to unify this as well. This commit also renames the editor/intern/ files to remove pointcloud_ prefix. point_cloud was only preserved on the user facing strings: * is_type_point_cloud * use_new_point_cloud_type Pull Request: https://projects.blender.org/blender/blender/pulls/134803
28 lines
497 B
C++
28 lines
497 B
C++
/* 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];
|
|
|
|
ReportList *reports = nullptr;
|
|
};
|
|
|
|
PointCloud *import_csv_as_pointcloud(const CSVImportParams &import_params);
|
|
|
|
} // namespace blender::io::csv
|