 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
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_;
DemoICPPointClouds(const std::string &data_root="")
Definition: DemoICPPointClouds.cpp:22
std::string GetReconstructionPath() const
Path to point cloud reconstruction from TSDF.
Definition: Dataset.h:1063
PaintedPlasterTexture(const std::string &data_root="")
Definition: PaintedPlasterTexture.cpp:23
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
Data class for DemoICPPointClouds contains 3 point clouds of binary PCD format. This data is used in ...
Definition: Dataset.h:423
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1257
Data class for SampleTUMRGBDImage contains a color image TUM_color.png and a depth image TUM_depth....
Definition: Dataset.h:1111
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:905
bool DirectoryExists(const std::string &directory)
Definition: FileSystem.cpp:473
virtual ~DownloadDataset()
Definition: Dataset.h:162
DemoCustomVisualization(const std::string &data_root="")
Definition: DemoCustomVisualization.cpp:23
std::string filename
Definition: PointCloudIO.cpp:47
Data class for PolylinesModel contains the polylines.bin from the CloudViewer project.
Definition: Dataset.h:1289
Data class for SampleRedwoodRGBDImages contains a sample set of 5 color and depth images from Redwood...
Definition: Dataset.h:1047
std::vector< std::string > GetFPFHFeaturePaths() const
Returns list of paths to saved FPFH features binary for point clouds, respectively,...
Definition: Dataset.h:399
const std::string GetDataRoot() const
Get data root directory. The data root is set at construction time or automatically determined.
Definition: Dataset.h:81
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:967
Data class for PLYPointCloud contains the fragment.ply point cloud mesh from the Redwood Living Room ...
Definition: Dataset.h:703
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1146
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:750
std::string GetPointCloudPath() const
Path to the point cloud (ply).
Definition: Dataset.h:339
TerrazzoTexture(const std::string &data_root="")
Definition: TerrazzoTexture.cpp:22
std::string GetColorPath() const
Path to color image sample.
Definition: Dataset.h:1096
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 5.
Definition: Dataset.h:1052
std::string GetPath() const
Path to the KnotMesh.ply file.
Definition: Dataset.h:547
bool HasDownloaded(const DataDescriptor &data_descriptor) const
Check if all files are downloaded and MD5 checksums are valid.
Definition: Dataset.cpp:137
PTSPointCloud(const std::string &data_root="")
Definition: PTSPointCloud.cpp:22
Dataset class for LivingRoomPointClouds contains 57 point clouds of binary PLY format.
Definition: Dataset.h:558
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:849
LivingRoomPointClouds(const std::string &data_root="")
Definition: LivingRoomPointClouds.cpp:22
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:789
SampleFountainRGBDImages(const std::string &data_root="")
Definition: SampleFountainRGBDImages.cpp:23
RedwoodIndoorLivingRoom1(const std::string &data_root="")
Definition: RedwoodIndoorLivingRoom1.cpp:41
const std::string GetPrefix() const
Get prefix for the dataset.
Definition: Dataset.h:84
Data class for SampleFountainRGBDImages contains a sample set of 33 color and depth images from the F...
Definition: Dataset.h:986
JackJackL515Bag(const std::string &data_root="")
Definition: JackJackL515Bag.cpp:21
GraphType data
Definition: graph_cut.cc:138
std::string GetPath() const
Path to the GLB format avocado model.
Definition: Dataset.h:193
std::vector< std::pair< double, Eigen::Matrix4d > > GetTrajectory() const
Returns a list of (timestamp, pose) representing the ground truth trajectory of the sequence.
Definition: DemoDopplerICPSequence.cpp:116
std::string GetPath() const
Path to the ArmadilloMesh.ply file.
Definition: Dataset.h:178
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1191
Data class for SampleL515Bag contains the SampleL515Bag.bag file.
Definition: Dataset.h:1010
bool MakeDirectoryHierarchy(const std::string &directory)
Definition: FileSystem.cpp:499
std::string CloudViewerDownloadsPrefix()
Definition: Dataset.cpp:49
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:745
std::string GetPath() const
Path to the pcd format point cloud.
Definition: Dataset.h:693
std::string GetCameraIntrinsicPath() const
Path to pinhole camera intrinsic (json).
Definition: Dataset.h:1065
Data class for MetalTexture contains albedo, normal, roughness and metallic texture files for metal b...
Definition: Dataset.h:608
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 ...
Definition: Dataset.h:258
Data class for PaintedPlasterTexture contains albedo, normal and roughness texture files for painted ...
Definition: Dataset.h:733
RedwoodIndoorOffice2(const std::string &data_root="")
Definition: RedwoodIndoorOffice2.cpp:37
MonkeyModel(const std::string &data_root="")
Definition: MonkeyModel.cpp:22
BunnyMesh(const std::string &data_root="")
Definition: BunnyMesh.cpp:22
Data class for DemoColoredICPPointClouds contains 2 point clouds of PLY format. This data is used in ...
Definition: Dataset.h:293
Data class for FlightHelmetModel contains a flight helmet model file, along with material and various...
Definition: Dataset.h:489
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:963
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:799
Data class for EaglePointCloud contains the EaglePointCloud.ply file.
Definition: Dataset.h:471
DemoFeatureMatchingPointClouds(const std::string &data_root="")
Definition: DemoFeatureMatchingPointClouds.cpp:23
Data class for ArmadilloMesh contains the ArmadilloMesh.ply from the Stanford 3D Scanning Repository.
Definition: Dataset.h:173
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:915
std::string GetCalibrationPath() const
Path to the calibration metadata file, containing transformation between the vehicle and sensor frame...
Definition: Dataset.h:365
std::vector< std::string > GetPaths() const
Returns list of list of 2 point cloud paths.
Definition: Dataset.h:298
std::string GetPoseGraphGlobalPath() const
Path to example fragment pose graph (json).
Definition: Dataset.h:457
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1233
std::string GetReconstructionPath() const
Path to mesh reconstruction lounge.ply.
Definition: Dataset.h:591
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:857
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file lounge_trajectory.log.
Definition: Dataset.h:589
DemoCropPointCloud(const std::string &data_root="")
Definition: DemoCropPointCloud.cpp:22
const std::string GetDownloadDir() const
Get absolute path to download directory. i.e. ${data_root}/download/${prefix}.
Definition: Dataset.h:88
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1166
std::string GetHomeDirectory()
Get the HOME directory for the user.
Definition: FileSystem.cpp:74
Dataset(const std::string &prefix, const std::string &data_root="")
Parameterized Constructor.
Definition: Dataset.cpp:53
virtual ~Dataset()
Definition: Dataset.h:77
DataDescriptor(const std::vector< std::string > &urls, const std::string &md5, const std::string &extract_in_subdir="")
Constructor a list of url mirrors.
Definition: Dataset.h:117
std::string GetMetallicTexturePath() const
Returns the path to metallic texture image.
Definition: Dataset.h:624
PolylinesModel(const std::string &data_root="")
Definition: PolylinesModel.cpp:18
Dataset class for OfficePointClouds contains 53 point clouds of binary PLY format.
Definition: Dataset.h:669
Data class for DemoPoseGraphOptimization contains an example fragment pose graph, and global pose gra...
Definition: Dataset.h:448
Data class for CrateModel contains a sword model file, along with material and various other texture ...
Definition: Dataset.h:252
Data class for DemoCustomVisualization contains an example point-cloud, camera trajectory (json file)...
Definition: Dataset.h:334
DataDescriptor(const std::string &url, const std::string &md5, const std::string &extract_in_subdir="")
Constructor a download url.
Definition: Dataset.h:127
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:845
WoodTexture(const std::string &data_root="")
Definition: WoodTexture.cpp:22
std::vector< std::string > GetPaths() const
Returns list of 3 point cloud paths.
Definition: Dataset.h:428
std::string GetPath() const
Path to the SampleL515Bag.bag file.
Definition: Dataset.h:1015
bool Copy(const std::string &from, const std::string &to, bool include_parent_dir=false, const std::string &extname="")
Copy a file or directory.
Definition: FileSystem.cpp:249
RedwoodIndoorLivingRoom2(const std::string &data_root="")
Definition: RedwoodIndoorLivingRoom2.cpp:40
const static std::vector< DataDescriptor > data_descriptors
Definition: BedroomRGBDImages.cpp:18
SampleTUMRGBDImage(const std::string &data_root="")
Definition: SampleTUMRGBDImage.cpp:22
SampleSUNRGBDImage(const std::string &data_root="")
Definition: SampleSUNRGBDImage.cpp:22
std::vector< std::string > GetPaths() const
Returns the list of the point cloud paths in the sequence.
Definition: Dataset.h:360
Data class for RedwoodIndoorLivingRoom2, containing dense point cloud, rgb sequence,...
Definition: Dataset.h:840
bool FileExists(const std::string &filename)
Definition: FileSystem.cpp:524
SampleL515Bag(const std::string &data_root="")
Definition: SampleL515Bag.cpp:22
Data class for AvocadoModel contains a avocado model file, along with material and PNG format embedde...
Definition: Dataset.h:188
std::string GetPath(std::size_t index) const
Path to the point cloud at index.
Definition: DemoDopplerICPSequence.cpp:91
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:911
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:957
bool IsSupportedCompressedFilePath(const std::string &file_path)
Returns true if the file is a supported compressed file path. It does not check if the file exists....
Definition: Extract.cpp:27
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:847
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1162
KnotMesh(const std::string &data_root="")
Definition: KnotMesh.cpp:22
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1262
std::string GetTransformationLogPath() const
Path to the transformation metadata log file, containing transformation between frame 0 and 1,...
Definition: Dataset.h:434
Data class for RedwoodIndoorOffice2, containing dense point cloud, rgb sequence, clean depth sequence...
Definition: Dataset.h:952
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:737
std::string GetTrajectoryPath() const
Path to the camera_trajectory.json.
Definition: Dataset.h:341
std::string GetFileNameWithoutDirectory(const std::string &filename)
Definition: FileSystem.cpp:301
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:907
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:855
std::vector< std::string > GetL32DFeaturePaths() const
Returns list of paths to saved L32D features binary for point clouds, respectively,...
Definition: Dataset.h:404
std::string GetColorPath() const
Path to color image sample.
Definition: Dataset.h:1031
std::vector< std::string > GetPaths() const
Returns list of paths to ply point-cloud fragments of size 57.
Definition: Dataset.h:563
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1175
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...
Definition: Dataset.h:496
std::string GetReconstructionPath() const
Path to mesh reconstruction.
Definition: Dataset.h:999
const static DataDescriptor data_descriptor
Definition: ArmadilloMesh.cpp:18
JuneauImage(const std::string &data_root="")
Definition: JuneauImage.cpp:22
void SetCustomDownloadsPrefix(const std::string &prefix)
Definition: Dataset.cpp:36
static const std::string path
Definition: PointCloud.cpp:59
Data class for JackJackL515Bag contains the RealSense L515 JackJackL515Bag.bag file.
Definition: Dataset.h:514
Data class for PTSPointCloud contains a sample point-cloud of PTS format.
Definition: Dataset.h:718
Data class for DemoCropPointCloud contains a point cloud, and cropped.json (a saved selected polygon ...
Definition: Dataset.h:313
std::vector< std::string > GetPaths() const
Returns list of paths to ply point-cloud fragments of size 52.
Definition: Dataset.h:674
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1199
Data class for JuneauImage contains the JuneauImage.jpg file.
Definition: Dataset.h:528
std::string LocateDataRoot()
Definition: Dataset.cpp:21
std::string GetTrajectoryPath() const
Path to the ground truth poses for the entire sequence.
Definition: Dataset.h:367
LoungeRGBDImages(const std::string &data_root="")
Definition: LoungeRGBDImages.cpp:22
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file trajectory.log.
Definition: Dataset.h:1057
Data class for DemoDopplerICPSequence contains an example sequence of 100 point clouds with Doppler v...
Definition: Dataset.h:355
std::string GetPath() const
Path to the F1980_baluster_vase.glb file.
Definition: Dataset.h:1309
DamagedHelmetModel(const std::string &data_root="")
Definition: DamagedHelmetModel.cpp:22
Data class for BalusterVase contains the F1980_baluster_vase.glb from the CloudViewer project.
Definition: Dataset.h:1304
std::string GetPath() const
Path to the EaglePointCloud.ply file.
Definition: Dataset.h:476
SwordModel(const std::string &data_root="")
Definition: SwordModel.cpp:22
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1249
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1228
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 ...
Definition: Dataset.h:1140
FlightHelmetModel(const std::string &data_root="")
Definition: FlightHelmetModel.cpp:22
Data class for DamagedHelmetModel contains a damaged helmet model file, along with material and JPG f...
Definition: Dataset.h:276
Data class for FacetsModel contains the facets.bin from the CloudViewer project.
Definition: Dataset.h:1274
Data class for SampleSUNRGBDImage contains a color image SUN_color.jpg and a depth image SUN_depth....
Definition: Dataset.h:1091
Data class for LoungeRGBDImages contains a sample set of 3000 color and depth images from Stanford Lo...
Definition: Dataset.h:578
Data class for PCDPointCloud contains the fragment.pcd point cloud mesh from the Redwood Living Room ...
Definition: Dataset.h:688
Data class for TilesTexture contains albedo, normal and roughness texture files for tiles based mater...
Definition: Dataset.h:1187
void CheckPathsExist(const std::vector< std::string > &paths) const
Check if the paths exists after extraction.
Definition: Dataset.cpp:65
Data class for RedwoodIndoorLivingRoom1, containing dense point cloud, rgb sequence,...
Definition: Dataset.h:784
std::string GetCustomDownloadsPrefix()
Definition: Dataset.cpp:47
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:620
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:616
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:502
std::string GetDepthPath() const
Path to depth image sample.
Definition: Dataset.h:1118
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 21931.
Definition: Dataset.h:209
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 3000.
Definition: Dataset.h:583
BalusterVase(const std::string &data_root="")
Definition: BalusterVase.cpp:18
DemoPoseGraphOptimization(const std::string &data_root="")
Definition: DemoPoseGraphOptimization.cpp:23
Data class for RedwoodIndoorOffice1, containing dense point cloud, rgb sequence, clean depth sequence...
Definition: Dataset.h:896
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 33.
Definition: Dataset.h:991
std::string prefix_
Dataset prefix.
Definition: Dataset.h:103
Data class for TerrazzoTexture contains albedo, normal and roughness texture files for terrazzo based...
Definition: Dataset.h:1158
const std::string GetExtractDir() const
Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}.
Definition: Dataset.h:94
Data class for SwordModel contains a sword model file, along with material and various other texture ...
Definition: Dataset.h:1133
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 5.
Definition: Dataset.h:1054
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:969
#define LogError(...)
Definition: Logging.h:60
FacetsModel(const std::string &data_root="")
Definition: FacetsModel.cpp:18
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1170
std::string GetKeyframePosesLogPath() const
Path to camera poses at key frames log file key.log.
Definition: Dataset.h:995
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1220
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:741
Data class for MonkeyModel contains a monkey model file, along with material and various other textur...
Definition: Dataset.h:644
std::string GetPath() const
Path to the PTS format point cloud.
Definition: Dataset.h:723
Infomation about a file to be downloaded.
Definition: Dataset.h:111
std::string GetPath() const
Path to the JackJackL515Bag.bag file.
Definition: Dataset.h:519
PCDPointCloud(const std::string &data_root="")
Definition: PCDPointCloud.cpp:22
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:612
Data class for SampleNYURGBDImage contains a color image NYU_color.ppm and a depth image NYU_depth....
Definition: Dataset.h:1026
Data class for WoodFloorTexture contains albedo, normal and roughness texture files for wooden floor ...
Definition: Dataset.h:1216
Data class for DemoFeatureMatchingPointClouds contains 2 point cloud fragments and their respective F...
Definition: Dataset.h:389
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:791
DemoDopplerICPSequence(const std::string &data_root="")
Definition: DemoDopplerICPSequence.cpp:78
std::string GetDepthPath() const
Path to depth image sample.
Definition: Dataset.h:1033
RedwoodIndoorOffice1(const std::string &data_root="")
Definition: RedwoodIndoorOffice1.cpp:37
std::string GetPath() const
Path to the polylines.bin file.
Definition: Dataset.h:1294
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:795
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:803
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1195
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:801
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1224
std::string GetPath() const
Path to the facets.bin file.
Definition: Dataset.h:1279
Data class for KnotMesh contains the KnotMesh.ply file.
Definition: Dataset.h:542
std::string extract_in_subdir_
Definition: Dataset.h:141
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:971
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:629
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 3000.
Definition: Dataset.h:585
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:903
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:961
AvocadoModel(const std::string &data_root="")
Definition: AvocadoModel.cpp:22
PLYPointCloud(const std::string &data_root="")
Definition: PLYPointCloud.cpp:22
std::string GetReconstructionPath() const
Path to mesh reconstruction bedroom.ply.
Definition: Dataset.h:217
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:264
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:851
Data class for BedroomRGBDImages contains a sample set of 21931 color and depth images from Redwood R...
Definition: Dataset.h:204
std::string GetPath() const
Path to the BunnyMesh.ply file.
Definition: Dataset.h:239
std::string GetDepthPath() const
Path to depth image sample.
Definition: Dataset.h:1098
OfficePointClouds(const std::string &data_root="")
Definition: OfficePointClouds.cpp:22
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1204
#define LogWarning(...)
Definition: Logging.h:72
EaglePointCloud(const std::string &data_root="")
Definition: EaglePointCloud.cpp:22
std::string GetColorPath() const
Path to color image sample.
Definition: Dataset.h:1116
std::string GetRenderOptionPath() const
Path to the renderoption.json.
Definition: Dataset.h:343
Base CloudViewer dataset class.
Definition: Dataset.h:61
ArmadilloMesh(const std::string &data_root="")
Definition: ArmadilloMesh.cpp:22
DemoColoredICPPointClouds(const std::string &data_root="")
Definition: DemoColoredICPPointClouds.cpp:23
std::string GetRGBDMatchPath() const
Path to color and depth image match file rgbd.match.
Definition: Dataset.h:1061
SampleRedwoodRGBDImages(const std::string &data_root="")
Definition: SampleRedwoodRGBDImages.cpp:23
std::string GetPointCloudPath() const
Path to example point cloud.
Definition: Dataset.h:318
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:901
std::vector< DataDescriptor > data_descriptors_
Definition: Dataset.h:167
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:913
Data class for BunnyMesh contains the BunnyMesh.ply from the Stanford 3D Scanning Repository.
Definition: Dataset.h:234
std::string GetPath() const
Path to the PLY format point cloud.
Definition: Dataset.h:708
DownloadDataset(const std::string &prefix, const DataDescriptor &data_descriptor, const std::string &data_root="")
Definition: Dataset.cpp:83
std::string GetOdometryLogPath() const
Path to camera trajectory log file odometry.log.
Definition: Dataset.h:1059
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:859
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 ...
Definition: Dataset.h:650
std::string GetPath() const
Path to the GLB format damaged helmet model.
Definition: Dataset.h:281
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file lounge_trajectory.log.
Definition: Dataset.h:215
std::string DownloadFromMirrors(const std::vector< std::string > &mirrors, const std::string &md5, const std::string &download_dir)
Download a file from list of mirror URLs. If a file already exists and the MD5 hash matches,...
Definition: Download.cpp:160
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 33.
Definition: Dataset.h:993
std::string GetMD5(const std::string &file_path)
Computes MD5 Hash for the given file.
Definition: Download.cpp:46
TilesTexture(const std::string &data_root="")
Definition: TilesTexture.cpp:22
std::string md5_
MD5 checksum of the downloaded file.
Definition: Dataset.h:137
MetalTexture(const std::string &data_root="")
Definition: MetalTexture.cpp:22
std::string GetCroppedJSONPath() const
Path to saved selected polygon volume file.
Definition: Dataset.h:320
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:959
SampleNYURGBDImage(const std::string &data_root="")
Definition: SampleNYURGBDImage.cpp:22
std::string GetPath() const
Path to the JuneauImage.jgp file.
Definition: Dataset.h:533
Data class for WoodTexture contains albedo, normal and roughness texture files for wood based materia...
Definition: Dataset.h:1245
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 21931.
Definition: Dataset.h:211
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:656
bool GetCalibration(Eigen::Matrix4d &calibration, double &period) const
Returns the vehicle to sensor calibration transformation and the time period (in secs) between sequen...
Definition: DemoDopplerICPSequence.cpp:100
WoodFloorTexture(const std::string &data_root="")
Definition: WoodFloorTexture.cpp:22
Dataset class with one or more downloaded file.
Definition: Dataset.h:152
void Extract(const std::string &file_path, const std::string &extract_dir)
Function to extract compressed files.
Definition: Extract.cpp:33
std::string data_root_
CloudViewer data root.
Definition: Dataset.h:100
std::string GetPoseGraphFragmentPath() const
Path to example global pose graph (json).
Definition: Dataset.h:453
std::vector< std::string > GetPointCloudPaths() const
Returns list of paths to point clouds, of size 2.
Definition: Dataset.h:394
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:793
BedroomRGBDImages(const std::string &data_root="")
Definition: BedroomRGBDImages.cpp:31
std::vector< std::string > urls_
List of URL mirrors.
Definition: Dataset.h:134
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1253
CrateModel(const std::string &data_root="")
Definition: CrateModel.cpp:22