ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
BunnyMesh.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 
19  CloudViewerDownloadsPrefix() + "20220201-data/BunnyMesh.ply",
20  "568f871d1a221ba6627569f1e6f9a3f2"};
21 
22 BunnyMesh::BunnyMesh(const std::string& data_root)
23  : DownloadDataset("BunnyMesh", data_descriptor, data_root) {
24  path_ = GetExtractDir() + "/BunnyMesh.ply";
25 }
26 
27 } // namespace data
28 } // namespace cloudViewer
BunnyMesh(const std::string &data_root="")
Definition: BunnyMesh.cpp:22
const std::string GetExtractDir() const
Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}.
Definition: Dataset.h:94
Dataset class with one or more downloaded file.
Definition: Dataset.h:152
std::string CloudViewerDownloadsPrefix()
Definition: Dataset.cpp:49
static const DataDescriptor data_descriptor
Generic file read and write utility for python interface.
Infomation about a file to be downloaded.
Definition: Dataset.h:111