src/tools/lvr2_viewer/app/Options.hpp
Go to the documentation of this file.
1 #ifndef OPTIONS_HPP_
2 #define OPTIONS_HPP_
3 
4 #include <boost/program_options.hpp>
5 #include <string>
6 #include <vector>
8 
9 namespace viewer
10 {
11 
12 using boost::program_options::options_description;
13 using boost::program_options::positional_options_description;
14 using boost::program_options::variables_map;
15 using std::string;
16 
17 class Options : public lvr2::BaseOption
18 {
19  public:
24  Options(int argc, char** argv);
25  virtual ~Options();
26 
30  bool printUsage() const;
31 
35  //std::vector<std::string> getInputFiles() const;
36 
40  std::string getInputFileName() const;
41 
47  std::vector<std::string> getLayers() const;
48 
49  int getCacheSize() const;
50 
56  float getHighResDistance() const;
57 
58  bool isChunkedMesh() const;
59 
60 };
61 
62 }
63 
64 #endif /* OPTIONS_HPP_ */
std::string getInputFileName() const
Returns the input file.
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
std::vector< std::string > getLayers() const
Returns the layers used for LOD.
bool printUsage() const
Prints a usage message to stdout.
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