Open3D (C++ API)  0.18.0+5c982c7
Extract.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <string>
11 
12 namespace open3d {
13 namespace utility {
14 
18 bool IsSupportedCompressedFilePath(const std::string& file_path);
19 
24 void Extract(const std::string& file_path, const std::string& extract_dir);
25 
26 } // namespace utility
27 } // namespace open3d
void Extract(const std::string &file_path, const std::string &extract_dir)
Function to extract compressed files.
Definition: Extract.cpp:32
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:26
Definition: PinholeCameraIntrinsic.cpp:16