ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
resources.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <string>
11 
12 namespace colmap {
13 namespace retrieval {
14 
15 #ifdef COLMAP_DOWNLOAD_ENABLED
16 // Default vocabulary tree URI in format: "<url>;<name>;<sha256>"
17 // This is a placeholder - replace with actual URL and SHA256 when available
18 const static std::string kDefaultVocabTreeUri =
19  "https://github.com/Asher-1/cloudViewer_downloads/releases/download/"
20  "vocab_tree/"
21  "vocab_tree_faiss_flickr100K_words256K.bin;"
22  "vocab_tree_faiss_flickr100K_words256K.bin;"
23  "96ca8ec8ea60b1f73465aaf2c401fd3b3ca75cdba2d3c50d6a2f6f760f275ddc";
24 #else
25 const static std::string kDefaultVocabTreeUri = "";
26 #endif
27 
28 } // namespace retrieval
29 } // namespace colmap
static const std::string kDefaultVocabTreeUri
Definition: resources.h:25