Open3D (C++ API)
0.18.0+252c867
|
Dataset class with one or more downloaded file. More...
#include <Dataset.h>
Public Member Functions | |
DownloadDataset (const std::string &prefix, const DataDescriptor &data_descriptor, const std::string &data_root="") | |
DownloadDataset (const std::string &prefix, const std::vector< DataDescriptor > &data_descriptors, const std::string &data_root="") | |
virtual | ~DownloadDataset () |
Public Member Functions inherited from open3d::data::Dataset | |
Dataset (const std::string &prefix, const std::string &data_root="") | |
Parameterized Constructor. More... | |
virtual | ~Dataset () |
const std::string | GetDataRoot () const |
Get data root directory. The data root is set at construction time or automatically determined. More... | |
const std::string | GetPrefix () const |
Get prefix for the dataset. More... | |
const std::string | GetDownloadDir () const |
Get absolute path to download directory. i.e. ${data_root}/download/${prefix}. More... | |
const std::string | GetExtractDir () const |
Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}. More... | |
Protected Member Functions | |
bool | HasDownloaded (const DataDescriptor &data_descriptor) const |
Check if all files are downloaded and MD5 checksums are valid. More... | |
Protected Member Functions inherited from open3d::data::Dataset | |
void | CheckPathsExist (const std::vector< std::string > &paths) const |
Check if the paths exists after extraction. More... | |
Protected Attributes | |
std::vector< DataDescriptor > | data_descriptors_ |
Protected Attributes inherited from open3d::data::Dataset | |
std::string | data_root_ |
Open3D data root. More... | |
std::string | prefix_ |
Dataset prefix. More... | |
Dataset class with one or more downloaded file.
prefix | Prefix of the dataset. The data is downloaded in ${data_root}/download/${prefix} and extracted in ${data_root}/extract/${prefix}. |
data_descriptor | Information about a file to be downloaded. |
data_root | Path to the dataset root. |
open3d::data::DownloadDataset::DownloadDataset | ( | const std::string & | prefix, |
const DataDescriptor & | data_descriptor, | ||
const std::string & | data_root = "" |
||
) |
open3d::data::DownloadDataset::DownloadDataset | ( | const std::string & | prefix, |
const std::vector< DataDescriptor > & | data_descriptors, | ||
const std::string & | data_root = "" |
||
) |
|
inlinevirtual |
|
protected |
Check if all files are downloaded and MD5 checksums are valid.
|
protected |