Open3D (C++ API)  0.18.0
Namespaces | Macros | Functions
Download.cpp File Reference

(b9e049c (Sun Dec 31 11:36:26 2023 -0800))

#include "open3d/utility/Download.h"
#include <openssl/md5.h>
#include <curl/curl.h>
#include <curl/easy.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <unordered_set>
#include "open3d/data/Dataset.h"
#include "open3d/utility/FileSystem.h"
#include "open3d/utility/Logging.h"

Namespaces

 open3d
 
 open3d::utility
 

Macros

#define OPENSSL_API_COMPAT   10100
 
#define CURL_STATICLIB
 

Functions

std::string open3d::utility::GetMD5 (const std::string &file_path)
 Computes MD5 Hash for the given file. More...
 
std::string open3d::utility::DownloadFromURL (const std::string &url, const std::string &md5, const std::string &download_dir)
 Download a file from URL. If a file already exists and the MD5 hash matches, the download will be skipped. More...
 
std::string open3d::utility::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, the download will be skipped. All file names must be the same in mirrors. More...
 

Macro Definition Documentation

◆ CURL_STATICLIB

#define CURL_STATICLIB

◆ OPENSSL_API_COMPAT

#define OPENSSL_API_COMPAT   10100