src
tools
lvr2_chunking_server
src/tools/lvr2_chunking_server/Main.cpp
Go to the documentation of this file.
1
35
#include "
Options.hpp
"
36
37
#include "
lvr2/algorithm/ChunkingPipeline.hpp
"
38
39
#include <string>
40
41
int
main
(
int
argc
,
char
**
argv
)
42
{
43
// =======================================================================
44
// Parse and print command line parameters
45
// =======================================================================
46
// Parse command line arguments
47
chunking_server::Options
options
(
argc
,
argv
);
48
49
// Exit if options had to generate a usage message
50
// (this means required parameters are missing)
51
if
(
options
.printUsage())
52
{
53
return
EXIT_SUCCESS;
54
}
55
56
lvr2::ChunkingPipeline<BaseVector<float>
> pipeline =
lvr2::ChunkingPipeline<BaseVector<float>
>(
options
.getHdf5FilePath(),
options
.getConfigFilePath());
57
58
pipeline.
start
(
options
.getScanProjectPath());
59
60
return
EXIT_SUCCESS;
61
}
main
int main(int argc, char **argv)
Definition:
src/tools/lvr2_chunking_server/Main.cpp:41
lvr2::ChunkingPipeline
Definition:
ChunkingPipeline.hpp:50
chunking_server::Options
A class to parse the program options for the chunking server executable.
Definition:
src/tools/lvr2_chunking_server/Options.hpp:52
options
const kaboom::Options * options
Definition:
src/tools/lvr2_kaboom/Main.cpp:45
ChunkingPipeline.hpp
lvr2::ChunkingPipeline::start
bool start(const boost::filesystem::path &scanDir)
Start the chunking pipeline.
argc
int argc
Definition:
tests_high_five_parallel.cpp:27
Options.hpp
argv
char ** argv
Definition:
tests_high_five_parallel.cpp:28
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz
, Alexander Mock
, Lars Kiesow
, Lukas Kalbertodt
, Tristan Igelbrink
, Johan M. von Behren
, Dominik Feldschnieders
, Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24