Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Data Fields
open3d::data::DataDescriptor Struct Reference

Infomation about a file to be downloaded. More...

#include <Dataset.h>

Public Member Functions

 DataDescriptor (const std::vector< std::string > &urls, const std::string &md5, const std::string &extract_in_subdir="")
 Constructor a list of url mirrors. More...
 
 DataDescriptor (const std::string &url, const std::string &md5, const std::string &extract_in_subdir="")
 Constructor a download url. More...
 

Data Fields

std::vector< std::string > urls_
 List of URL mirrors. More...
 
std::string md5_
 MD5 checksum of the downloaded file. More...
 
std::string extract_in_subdir_ = ""
 

Detailed Description

Infomation about a file to be downloaded.

Constructor & Destructor Documentation

◆ DataDescriptor() [1/2]

open3d::data::DataDescriptor::DataDescriptor ( const std::vector< std::string > &  urls,
const std::string &  md5,
const std::string &  extract_in_subdir = "" 
)
inline

Constructor a list of url mirrors.

Parameters
urlsURL mirrors of the file.
md5MD5 checksum of the file.
extract_in_subdirSubdirectory to extract the file. If empty, the file will be extracted in the root extract directory of the dataset.

◆ DataDescriptor() [2/2]

open3d::data::DataDescriptor::DataDescriptor ( const std::string &  url,
const std::string &  md5,
const std::string &  extract_in_subdir = "" 
)
inline

Constructor a download url.

Parameters
urlURL of the file.
md5MD5 checksum of the file.
extract_in_subdirSubdirectory to extract the file. If empty, the file will be extracted in the root extract directory of the dataset.

Field Documentation

◆ extract_in_subdir_

std::string open3d::data::DataDescriptor::extract_in_subdir_ = ""

Subdirectory to extract the file. If empty, the file will be extracted in the root extract directory of the dataset.

◆ md5_

std::string open3d::data::DataDescriptor::md5_

MD5 checksum of the downloaded file.

◆ urls_

std::vector<std::string> open3d::data::DataDescriptor::urls_

List of URL mirrors.


The documentation for this struct was generated from the following file: