src/tools/lvr2_chunking_server/Main.cpp
Go to the documentation of this file.
1 
35 #include "Options.hpp"
36 
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
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 
57 
58  pipeline.start(options.getScanProjectPath());
59 
60  return EXIT_SUCCESS;
61 }
string getHdf5FilePath() const
Returns the HDF5 file path.
A class to parse the program options for the chunking server executable.
const kaboom::Options * options
int main(int argc, char **argv)
bool printUsage() const
Prints a usage message to stdout.
bool start(const boost::filesystem::path &scanDir)
Start the chunking pipeline.
string getConfigFilePath() const
Returns the config file path.
string getScanProjectPath() const
Returns the scan project file path.
char ** argv


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 Mon Feb 28 2022 22:46:08