-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
510 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
build/ | ||
external/ | ||
elibs/ | ||
!elibs/CMakeLists/* | ||
!elibs/CMakeLists.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_subdirectory(texrecon) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
#include "util/arguments.h" | ||
#include "tex/Settings.h" | ||
|
||
/** Struct containing the commandline arguments at runtime. */ | ||
struct Arguments { | ||
std::string in_scene; | ||
std::string in_mesh; | ||
std::string out_prefix; | ||
|
||
std::string data_cost_file; | ||
std::string labeling_file; | ||
|
||
Settings settings; | ||
|
||
bool write_timings; | ||
bool write_intermediate_results; | ||
bool write_view_selection_model; | ||
|
||
/** Returns a muliline string of the current arguments. */ | ||
std::string to_string(); | ||
}; | ||
|
||
/** | ||
* Parses the commandline arguments. | ||
* @throws std::invalid_argument | ||
*/ | ||
Arguments parse_args(int argc, char **argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
file (GLOB HEADERS "*.h") | ||
file (GLOB SOURCES "[^_]*.cpp") | ||
|
||
set(BIN texrecon) | ||
|
||
add_executable(${BIN} ${SOURCES}) | ||
add_dependencies(${BIN} ext_mve) | ||
target_link_libraries(${BIN} texturing -lmve -lmve_util) |
Oops, something went wrong.