Open3D (C++ API)  0.18.0
Public Member Functions | Protected Member Functions | Protected Attributes
open3d::data::DownloadDataset Class Reference

Dataset class with one or more downloaded file. More...

#include <Dataset.h>

Inheritance diagram for open3d::data::DownloadDataset:
open3d::data::Dataset open3d::data::ArmadilloMesh open3d::data::AvocadoModel open3d::data::BedroomRGBDImages open3d::data::BunnyMesh open3d::data::CrateModel open3d::data::DamagedHelmetModel open3d::data::DemoColoredICPPointClouds open3d::data::DemoCropPointCloud open3d::data::DemoCustomVisualization open3d::data::DemoDopplerICPSequence open3d::data::DemoFeatureMatchingPointClouds open3d::data::DemoICPPointClouds open3d::data::DemoPoseGraphOptimization open3d::data::EaglePointCloud open3d::data::FlightHelmetModel open3d::data::JackJackL515Bag open3d::data::JuneauImage open3d::data::KnotMesh open3d::data::LivingRoomPointClouds open3d::data::LoungeRGBDImages open3d::data::MetalTexture open3d::data::MonkeyModel open3d::data::OfficePointClouds open3d::data::PCDPointCloud open3d::data::PLYPointCloud open3d::data::PTSPointCloud open3d::data::PaintedPlasterTexture open3d::data::RedwoodIndoorLivingRoom1 open3d::data::RedwoodIndoorLivingRoom2 open3d::data::RedwoodIndoorOffice1 open3d::data::RedwoodIndoorOffice2 open3d::data::SampleFountainRGBDImages open3d::data::SampleL515Bag open3d::data::SampleNYURGBDImage open3d::data::SampleRedwoodRGBDImages open3d::data::SampleSUNRGBDImage open3d::data::SampleTUMRGBDImage open3d::data::SwordModel open3d::data::TerrazzoTexture open3d::data::TilesTexture open3d::data::WoodFloorTexture open3d::data::WoodTexture

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< DataDescriptordata_descriptors_
 
- Protected Attributes inherited from open3d::data::Dataset
std::string data_root_
 Open3D data root. More...
 
std::string prefix_
 Dataset prefix. More...
 

Detailed Description

Dataset class with one or more downloaded file.

Parameters
prefixPrefix of the dataset. The data is downloaded in ${data_root}/download/${prefix} and extracted in ${data_root}/extract/${prefix}.
data_descriptorInformation about a file to be downloaded.
data_rootPath to the dataset root.

Constructor & Destructor Documentation

◆ DownloadDataset() [1/2]

open3d::data::DownloadDataset::DownloadDataset ( const std::string &  prefix,
const DataDescriptor data_descriptor,
const std::string &  data_root = "" 
)

◆ DownloadDataset() [2/2]

open3d::data::DownloadDataset::DownloadDataset ( const std::string &  prefix,
const std::vector< DataDescriptor > &  data_descriptors,
const std::string &  data_root = "" 
)

◆ ~DownloadDataset()

virtual open3d::data::DownloadDataset::~DownloadDataset ( )
inlinevirtual

Member Function Documentation

◆ HasDownloaded()

bool open3d::data::DownloadDataset::HasDownloaded ( const DataDescriptor data_descriptor) const
protected

Check if all files are downloaded and MD5 checksums are valid.

Field Documentation

◆ data_descriptors_

std::vector<DataDescriptor> open3d::data::DownloadDataset::data_descriptors_
protected

The documentation for this class was generated from the following files: