Data class for CrateModel
contains a sword model file, along with material and various other texture files. The model file can be accessed using GetPath()
, however in order to access the paths to the texture files one may use GetPath(filename)
method or get the unordered map of filename to path using GetPathMap()
.
More...
#include <Dataset.h>
|
| CrateModel (const std::string &data_root="") |
|
std::string | GetPath (const std::string filename="crate_model") const |
| Path to the filename . By default it returns the path to crate.obj file. Refer documentation page for available options. More...
|
|
std::unordered_map< std::string, std::string > | GetPathMap () const |
| Returns the map of filename to path. Refer documentation page for available options. More...
|
|
| 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 () |
|
| 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...
|
|
Data class for CrateModel
contains a sword model file, along with material and various other texture files. The model file can be accessed using GetPath()
, however in order to access the paths to the texture files one may use GetPath(filename)
method or get the unordered map of filename to path using GetPathMap()
.
◆ CrateModel()
open3d::data::CrateModel::CrateModel |
( |
const std::string & |
data_root = "" | ) |
|
◆ GetPath()
std::string open3d::data::CrateModel::GetPath |
( |
const std::string |
filename = "crate_model" | ) |
const |
|
inline |
Path to the filename
. By default it returns the path to crate.obj
file. Refer documentation page for available options.
◆ GetPathMap()
std::unordered_map<std::string, std::string> open3d::data::CrateModel::GetPathMap |
( |
| ) |
const |
|
inline |
Returns the map of filename to path. Refer documentation page for available options.
The documentation for this class was generated from the following files: