ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PolylinesModel.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 PolylinesModel::PolylinesModel(const std::string& data_root)
19  : DownloadDataset("PolylinesModel",
20  {GetCustomDownloadsPrefix() + "bin-data/polylines.bin",
21  "9fa4241bfbb11567ffba839afccfee5c"},
22  data_root) {
23  path_ = GetExtractDir() + "/" + "polylines.bin";
24 }
25 
26 } // namespace data
27 } // namespace cloudViewer
Dataset class with one or more downloaded file.
Definition: Dataset.h:152
PolylinesModel(const std::string &data_root="")
std::string GetCustomDownloadsPrefix()
Definition: Dataset.cpp:47
Generic file read and write utility for python interface.