13 #include <unordered_map>
75 Dataset(
const std::string& prefix,
const std::string& data_root =
"");
118 const std::string& md5,
119 const std::string& extract_in_subdir =
"")
128 const std::string& md5,
129 const std::string& extract_in_subdir =
"")
131 std::vector<
std::string>{url}, md5, extract_in_subdir) {}
156 const std::string& data_root =
"");
160 const std::string& data_root =
"");
221 std::vector<std::string> color_paths_;
223 std::vector<std::string> depth_paths_;
226 std::string trajectory_log_path_;
228 std::string reconstruction_path_;
236 BunnyMesh(
const std::string& data_root =
"");
254 CrateModel(
const std::string& data_root =
"");
259 return map_filename_to_path_.at(
filename);
264 std::unordered_map<std::string, std::string>
GetPathMap()
const {
265 return map_filename_to_path_;
270 std::unordered_map<std::string, std::string> map_filename_to_path_;
298 std::vector<std::string>
GetPaths()
const {
return paths_; }
301 std::string
GetPaths(
size_t index)
const;
305 std::vector<std::string> paths_;
324 std::string point_cloud_path_;
326 std::string cropped_json_path_;
346 std::string point_cloud_path_;
347 std::string camera_trajectory_path_;
348 std::string render_option_path_;
360 std::vector<std::string>
GetPaths()
const {
return paths_; }
362 std::string
GetPath(std::size_t index)
const;
370 bool GetCalibration(Eigen::Matrix4d& calibration,
double& period)
const;
373 std::vector<std::pair<double, Eigen::Matrix4d>>
GetTrajectory()
const;
377 std::vector<std::string> paths_;
379 std::string calibration_path_;
381 std::string trajectory_path_;
395 return point_cloud_paths_;
400 return fpfh_feature_paths_;
405 return l32d_feature_paths_;
410 std::vector<std::string> point_cloud_paths_;
413 std::vector<std::string> fpfh_feature_paths_;
416 std::vector<std::string> l32d_feature_paths_;
428 std::vector<std::string>
GetPaths()
const {
return paths_; }
431 std::string
GetPaths(
size_t index)
const;
435 return transformation_log_path_;
440 std::vector<std::string> paths_;
441 std::string transformation_log_path_;
454 return pose_graph_fragment_path_;
458 return pose_graph_global_path_;
463 std::string pose_graph_fragment_path_;
465 std::string pose_graph_global_path_;
497 return map_filename_to_path_.at(
filename);
502 std::unordered_map<std::string, std::string>
GetPathMap()
const {
503 return map_filename_to_path_;
508 std::unordered_map<std::string, std::string> map_filename_to_path_;
544 KnotMesh(
const std::string& data_root =
"");
563 std::vector<std::string>
GetPaths()
const {
return paths_; }
567 std::string
GetPaths(
size_t index)
const;
571 std::vector<std::string> paths_;
595 std::vector<std::string> color_paths_;
597 std::vector<std::string> depth_paths_;
600 std::string trajectory_log_path_;
602 std::string reconstruction_path_;
613 return map_filename_to_path_.at(
"albedo");
617 return map_filename_to_path_.at(
"normal");
621 return map_filename_to_path_.at(
"roughness");
625 return map_filename_to_path_.at(
"metallic");
629 std::unordered_map<std::string, std::string>
GetPathMap()
const {
630 return map_filename_to_path_;
635 std::unordered_map<std::string, std::string> map_filename_to_path_;
651 return map_filename_to_path_.at(
filename);
656 std::unordered_map<std::string, std::string>
GetPathMap()
const {
657 return map_filename_to_path_;
662 std::unordered_map<std::string, std::string> map_filename_to_path_;
674 std::vector<std::string>
GetPaths()
const {
return paths_; }
678 std::string
GetPaths(
size_t index)
const;
682 std::vector<std::string> paths_;
738 return map_filename_to_path_.at(
"albedo");
742 return map_filename_to_path_.at(
"normal");
746 return map_filename_to_path_.at(
"roughness");
750 std::unordered_map<std::string, std::string>
GetPathMap()
const {
751 return map_filename_to_path_;
756 std::unordered_map<std::string, std::string> map_filename_to_path_;
796 return noisy_depth_paths_;
806 std::string point_cloud_path_;
807 std::vector<std::string> color_paths_;
808 std::vector<std::string> depth_paths_;
809 std::vector<std::string> noisy_depth_paths_;
810 std::string oni_path_;
811 std::string trajectory_path_;
812 std::string noise_model_path_;
852 return noisy_depth_paths_;
862 std::string point_cloud_path_;
863 std::vector<std::string> color_paths_;
864 std::vector<std::string> depth_paths_;
865 std::vector<std::string> noisy_depth_paths_;
866 std::string oni_path_;
867 std::string trajectory_path_;
868 std::string noise_model_path_;
908 return noisy_depth_paths_;
918 std::string point_cloud_path_;
919 std::vector<std::string> color_paths_;
920 std::vector<std::string> depth_paths_;
921 std::vector<std::string> noisy_depth_paths_;
922 std::string oni_path_;
923 std::string trajectory_path_;
924 std::string noise_model_path_;
964 return noisy_depth_paths_;
974 std::string point_cloud_path_;
975 std::vector<std::string> color_paths_;
976 std::vector<std::string> depth_paths_;
977 std::vector<std::string> noisy_depth_paths_;
978 std::string oni_path_;
979 std::string trajectory_path_;
980 std::string noise_model_path_;
996 return keyframe_poses_log_path_;
1002 std::vector<std::string> color_paths_;
1003 std::vector<std::string> depth_paths_;
1004 std::string keyframe_poses_log_path_;
1005 std::string reconstruction_path_;
1037 std::string color_path_;
1039 std::string depth_path_;
1066 return camera_intrinsic_path_;
1071 std::vector<std::string> color_paths_;
1073 std::vector<std::string> depth_paths_;
1076 std::string trajectory_log_path_;
1078 std::string odometry_log_path_;
1080 std::string rgbd_match_path_;
1082 std::string reconstruction_path_;
1084 std::string camera_intrinsic_path_;
1102 std::string color_path_;
1104 std::string depth_path_;
1122 std::string color_path_;
1124 std::string depth_path_;
1135 SwordModel(
const std::string& data_root =
"");
1141 return map_filename_to_path_.at(
filename);
1146 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1147 return map_filename_to_path_;
1152 std::unordered_map<std::string, std::string> map_filename_to_path_;
1163 return map_filename_to_path_.at(
"albedo");
1167 return map_filename_to_path_.at(
"normal");
1171 return map_filename_to_path_.at(
"roughness");
1175 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1176 return map_filename_to_path_;
1181 std::unordered_map<std::string, std::string> map_filename_to_path_;
1192 return map_filename_to_path_.at(
"albedo");
1196 return map_filename_to_path_.at(
"normal");
1200 return map_filename_to_path_.at(
"roughness");
1204 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1205 return map_filename_to_path_;
1210 std::unordered_map<std::string, std::string> map_filename_to_path_;
1221 return map_filename_to_path_.at(
"albedo");
1225 return map_filename_to_path_.at(
"normal");
1229 return map_filename_to_path_.at(
"roughness");
1233 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1234 return map_filename_to_path_;
1239 std::unordered_map<std::string, std::string> map_filename_to_path_;
1250 return map_filename_to_path_.at(
"albedo");
1254 return map_filename_to_path_.at(
"normal");
1258 return map_filename_to_path_.at(
"roughness");
1262 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1263 return map_filename_to_path_;
1268 std::unordered_map<std::string, std::string> map_filename_to_path_;
Data class for ArmadilloMesh contains the ArmadilloMesh.ply from the Stanford 3D Scanning Repository.
std::string GetPath() const
Path to the ArmadilloMesh.ply file.
ArmadilloMesh(const std::string &data_root="")
Data class for AvocadoModel contains a avocado model file, along with material and PNG format embedde...
AvocadoModel(const std::string &data_root="")
std::string GetPath() const
Path to the GLB format avocado model.
Data class for BalusterVase contains the F1980_baluster_vase.glb from the CloudViewer project.
BalusterVase(const std::string &data_root="")
std::string GetPath() const
Path to the F1980_baluster_vase.glb file.
Data class for BedroomRGBDImages contains a sample set of 21931 color and depth images from Redwood R...
BedroomRGBDImages(const std::string &data_root="")
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file lounge_trajectory.log.
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 21931.
std::string GetReconstructionPath() const
Path to mesh reconstruction bedroom.ply.
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 21931.
Data class for BunnyMesh contains the BunnyMesh.ply from the Stanford 3D Scanning Repository.
std::string GetPath() const
Path to the BunnyMesh.ply file.
BunnyMesh(const std::string &data_root="")
Data class for CrateModel contains a sword model file, along with material and various other texture ...
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
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 ...
CrateModel(const std::string &data_root="")
Data class for DamagedHelmetModel contains a damaged helmet model file, along with material and JPG f...
DamagedHelmetModel(const std::string &data_root="")
std::string GetPath() const
Path to the GLB format damaged helmet model.
Base CloudViewer dataset class.
const std::string GetPrefix() const
Get prefix for the dataset.
std::string prefix_
Dataset prefix.
const std::string GetDataRoot() const
Get data root directory. The data root is set at construction time or automatically determined.
const std::string GetExtractDir() const
Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}.
const std::string GetDownloadDir() const
Get absolute path to download directory. i.e. ${data_root}/download/${prefix}.
std::string data_root_
CloudViewer data root.
void CheckPathsExist(const std::vector< std::string > &paths) const
Check if the paths exists after extraction.
Dataset(const std::string &prefix, const std::string &data_root="")
Parameterized Constructor.
Data class for DemoColoredICPPointClouds contains 2 point clouds of PLY format. This data is used in ...
std::vector< std::string > GetPaths() const
Returns list of list of 2 point cloud paths.
DemoColoredICPPointClouds(const std::string &data_root="")
Data class for DemoCropPointCloud contains a point cloud, and cropped.json (a saved selected polygon ...
DemoCropPointCloud(const std::string &data_root="")
std::string GetPointCloudPath() const
Path to example point cloud.
std::string GetCroppedJSONPath() const
Path to saved selected polygon volume file.
Data class for DemoCustomVisualization contains an example point-cloud, camera trajectory (json file)...
std::string GetTrajectoryPath() const
Path to the camera_trajectory.json.
DemoCustomVisualization(const std::string &data_root="")
std::string GetPointCloudPath() const
Path to the point cloud (ply).
std::string GetRenderOptionPath() const
Path to the renderoption.json.
Data class for DemoDopplerICPSequence contains an example sequence of 100 point clouds with Doppler v...
DemoDopplerICPSequence(const std::string &data_root="")
std::string GetPath(std::size_t index) const
Path to the point cloud at index.
std::vector< std::pair< double, Eigen::Matrix4d > > GetTrajectory() const
Returns a list of (timestamp, pose) representing the ground truth trajectory of the sequence.
std::vector< std::string > GetPaths() const
Returns the list of the point cloud paths in the sequence.
std::string GetCalibrationPath() const
Path to the calibration metadata file, containing transformation between the vehicle and sensor frame...
bool GetCalibration(Eigen::Matrix4d &calibration, double &period) const
Returns the vehicle to sensor calibration transformation and the time period (in secs) between sequen...
std::string GetTrajectoryPath() const
Path to the ground truth poses for the entire sequence.
Data class for DemoFeatureMatchingPointClouds contains 2 point cloud fragments and their respective F...
std::vector< std::string > GetFPFHFeaturePaths() const
Returns list of paths to saved FPFH features binary for point clouds, respectively,...
DemoFeatureMatchingPointClouds(const std::string &data_root="")
std::vector< std::string > GetL32DFeaturePaths() const
Returns list of paths to saved L32D features binary for point clouds, respectively,...
std::vector< std::string > GetPointCloudPaths() const
Returns list of paths to point clouds, of size 2.
Data class for DemoICPPointClouds contains 3 point clouds of binary PCD format. This data is used in ...
DemoICPPointClouds(const std::string &data_root="")
std::vector< std::string > GetPaths() const
Returns list of 3 point cloud paths.
std::string GetTransformationLogPath() const
Path to the transformation metadata log file, containing transformation between frame 0 and 1,...
Data class for DemoPoseGraphOptimization contains an example fragment pose graph, and global pose gra...
DemoPoseGraphOptimization(const std::string &data_root="")
std::string GetPoseGraphFragmentPath() const
Path to example global pose graph (json).
std::string GetPoseGraphGlobalPath() const
Path to example fragment pose graph (json).
Dataset class with one or more downloaded file.
virtual ~DownloadDataset()
std::vector< DataDescriptor > data_descriptors_
bool HasDownloaded(const DataDescriptor &data_descriptor) const
Check if all files are downloaded and MD5 checksums are valid.
DownloadDataset(const std::string &prefix, const DataDescriptor &data_descriptor, const std::string &data_root="")
Data class for EaglePointCloud contains the EaglePointCloud.ply file.
std::string GetPath() const
Path to the EaglePointCloud.ply file.
EaglePointCloud(const std::string &data_root="")
Data class for FacetsModel contains the facets.bin from the CloudViewer project.
FacetsModel(const std::string &data_root="")
std::string GetPath() const
Path to the facets.bin file.
Data class for FlightHelmetModel contains a flight helmet model file, along with material and various...
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
std::string GetPath(const std::string filename="flight_helmet") const
Path to the filename. By default it returns the path to FlightHelmet.gltf file. Refer documentation p...
FlightHelmetModel(const std::string &data_root="")
Data class for JackJackL515Bag contains the RealSense L515 JackJackL515Bag.bag file.
JackJackL515Bag(const std::string &data_root="")
std::string GetPath() const
Path to the JackJackL515Bag.bag file.
Data class for JuneauImage contains the JuneauImage.jpg file.
std::string GetPath() const
Path to the JuneauImage.jgp file.
JuneauImage(const std::string &data_root="")
Data class for KnotMesh contains the KnotMesh.ply file.
KnotMesh(const std::string &data_root="")
std::string GetPath() const
Path to the KnotMesh.ply file.
Dataset class for LivingRoomPointClouds contains 57 point clouds of binary PLY format.
std::vector< std::string > GetPaths() const
Returns list of paths to ply point-cloud fragments of size 57.
LivingRoomPointClouds(const std::string &data_root="")
Data class for LoungeRGBDImages contains a sample set of 3000 color and depth images from Stanford Lo...
LoungeRGBDImages(const std::string &data_root="")
std::string GetReconstructionPath() const
Path to mesh reconstruction lounge.ply.
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 3000.
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 3000.
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file lounge_trajectory.log.
Data class for MetalTexture contains albedo, normal, roughness and metallic texture files for metal b...
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
std::string GetMetallicTexturePath() const
Returns the path to metallic texture image.
MetalTexture(const std::string &data_root="")
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Data class for MonkeyModel contains a monkey model file, along with material and various other textur...
std::string GetPath(const std::string filename="monkey_model") const
Path to the filename. By default it returns the path to mokey.obj file. Refer documentation page for ...
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
MonkeyModel(const std::string &data_root="")
Dataset class for OfficePointClouds contains 53 point clouds of binary PLY format.
OfficePointClouds(const std::string &data_root="")
std::vector< std::string > GetPaths() const
Returns list of paths to ply point-cloud fragments of size 52.
Data class for PCDPointCloud contains the fragment.pcd point cloud mesh from the Redwood Living Room ...
PCDPointCloud(const std::string &data_root="")
std::string GetPath() const
Path to the pcd format point cloud.
Data class for PLYPointCloud contains the fragment.ply point cloud mesh from the Redwood Living Room ...
PLYPointCloud(const std::string &data_root="")
std::string GetPath() const
Path to the PLY format point cloud.
Data class for PTSPointCloud contains a sample point-cloud of PTS format.
std::string GetPath() const
Path to the PTS format point cloud.
PTSPointCloud(const std::string &data_root="")
Data class for PaintedPlasterTexture contains albedo, normal and roughness texture files for painted ...
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
PaintedPlasterTexture(const std::string &data_root="")
Data class for PolylinesModel contains the polylines.bin from the CloudViewer project.
PolylinesModel(const std::string &data_root="")
std::string GetPath() const
Path to the polylines.bin file.
Data class for RedwoodIndoorLivingRoom1, containing dense point cloud, rgb sequence,...
std::string GetNoiseModelPath() const
Path to the noise model.
std::vector< std::string > GetColorPaths() const
Paths to the color images.
std::string GetPointCloudPath() const
Path to the point cloud.
RedwoodIndoorLivingRoom1(const std::string &data_root="")
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
std::string GetONIPath() const
Paths to the ONI sequence.
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Data class for RedwoodIndoorLivingRoom2, containing dense point cloud, rgb sequence,...
std::string GetNoiseModelPath() const
Path to the noise model.
std::vector< std::string > GetColorPaths() const
Paths to the color images.
RedwoodIndoorLivingRoom2(const std::string &data_root="")
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
std::string GetPointCloudPath() const
Path to the point cloud.
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
std::string GetONIPath() const
Paths to the ONI sequence.
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Data class for RedwoodIndoorOffice1, containing dense point cloud, rgb sequence, clean depth sequence...
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
std::string GetPointCloudPath() const
Path to the point cloud.
std::string GetONIPath() const
Paths to the ONI sequence.
std::string GetNoiseModelPath() const
Path to the noise model.
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
RedwoodIndoorOffice1(const std::string &data_root="")
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Data class for RedwoodIndoorOffice2, containing dense point cloud, rgb sequence, clean depth sequence...
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
std::vector< std::string > GetColorPaths() const
Paths to the color images.
RedwoodIndoorOffice2(const std::string &data_root="")
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
std::string GetONIPath() const
Paths to the ONI sequence.
std::string GetPointCloudPath() const
Path to the point cloud.
std::string GetNoiseModelPath() const
Path to the noise model.
Data class for SampleFountainRGBDImages contains a sample set of 33 color and depth images from the F...
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 33.
std::string GetKeyframePosesLogPath() const
Path to camera poses at key frames log file key.log.
SampleFountainRGBDImages(const std::string &data_root="")
std::string GetReconstructionPath() const
Path to mesh reconstruction.
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 33.
Data class for SampleL515Bag contains the SampleL515Bag.bag file.
std::string GetPath() const
Path to the SampleL515Bag.bag file.
SampleL515Bag(const std::string &data_root="")
Data class for SampleNYURGBDImage contains a color image NYU_color.ppm and a depth image NYU_depth....
std::string GetDepthPath() const
Path to depth image sample.
SampleNYURGBDImage(const std::string &data_root="")
std::string GetColorPath() const
Path to color image sample.
Data class for SampleRedwoodRGBDImages contains a sample set of 5 color and depth images from Redwood...
std::string GetOdometryLogPath() const
Path to camera trajectory log file odometry.log.
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file trajectory.log.
SampleRedwoodRGBDImages(const std::string &data_root="")
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 5.
std::string GetReconstructionPath() const
Path to point cloud reconstruction from TSDF.
std::string GetRGBDMatchPath() const
Path to color and depth image match file rgbd.match.
std::string GetCameraIntrinsicPath() const
Path to pinhole camera intrinsic (json).
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 5.
Data class for SampleSUNRGBDImage contains a color image SUN_color.jpg and a depth image SUN_depth....
std::string GetColorPath() const
Path to color image sample.
SampleSUNRGBDImage(const std::string &data_root="")
std::string GetDepthPath() const
Path to depth image sample.
Data class for SampleTUMRGBDImage contains a color image TUM_color.png and a depth image TUM_depth....
std::string GetColorPath() const
Path to color image sample.
SampleTUMRGBDImage(const std::string &data_root="")
std::string GetDepthPath() const
Path to depth image sample.
Data class for SwordModel contains a sword model file, along with material and various other texture ...
SwordModel(const std::string &data_root="")
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
std::string GetPath(const std::string filename="sword_model") const
Path to the filename. By default it returns the path to sword.obj file. Refer documentation page for ...
Data class for TerrazzoTexture contains albedo, normal and roughness texture files for terrazzo based...
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
TerrazzoTexture(const std::string &data_root="")
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Data class for TilesTexture contains albedo, normal and roughness texture files for tiles based mater...
TilesTexture(const std::string &data_root="")
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Data class for WoodFloorTexture contains albedo, normal and roughness texture files for wooden floor ...
WoodFloorTexture(const std::string &data_root="")
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Data class for WoodTexture contains albedo, normal and roughness texture files for wood based materia...
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
WoodTexture(const std::string &data_root="")
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
std::string CloudViewerDownloadsPrefix()
static const DataDescriptor data_descriptor
std::string LocateDataRoot()
static const std::vector< DataDescriptor > data_descriptors
std::string GetCustomDownloadsPrefix()
void SetCustomDownloadsPrefix(const std::string &prefix)
Generic file read and write utility for python interface.
Infomation about a file to be downloaded.
DataDescriptor(const std::string &url, const std::string &md5, const std::string &extract_in_subdir="")
Constructor a download url.
std::string extract_in_subdir_
std::string md5_
MD5 checksum of the downloaded file.
DataDescriptor(const std::vector< std::string > &urls, const std::string &md5, const std::string &extract_in_subdir="")
Constructor a list of url mirrors.
std::vector< std::string > urls_
List of URL mirrors.