ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FacetsModel.cpp
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #include <Logging.h>
9 
10 #include <string>
11 #include <vector>
12 
14 
15 namespace cloudViewer {
16 namespace data {
17 
18 FacetsModel::FacetsModel(const std::string& data_root)
19  : DownloadDataset("FacetsModel",
20  {GetCustomDownloadsPrefix() + "bin-data/facets.bin",
21  "0771af8714b4c1d039d99934a0966001"},
22  data_root) {
23  path_ = GetExtractDir() + "/" + "facets.bin";
24 }
25 
26 } // namespace data
27 } // namespace cloudViewer
Dataset class with one or more downloaded file.
Definition: Dataset.h:152
FacetsModel(const std::string &data_root="")
Definition: FacetsModel.cpp:18
std::string GetCustomDownloadsPrefix()
Definition: Dataset.cpp:47
Generic file read and write utility for python interface.