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_ */
BaseOption.hpp
viewer::Options
Definition: src/tools/lvr2_viewer/app/Options.hpp:17
viewer::Options::isChunkedMesh
bool isChunkedMesh() const
Definition: src/tools/lvr2_viewer/app/Options.cpp:86
viewer
Definition: src/tools/lvr2_viewer/app/Options.cpp:6
viewer::Options::getCacheSize
int getCacheSize() const
Definition: src/tools/lvr2_viewer/app/Options.cpp:71
viewer::Options::getInputFileName
std::string getInputFileName() const
Returns the input file.
Definition: src/tools/lvr2_viewer/app/Options.cpp:54
lvr2::BaseOption
Definition: BaseOption.hpp:48
viewer::Options::Options
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
Definition: src/tools/lvr2_viewer/app/Options.cpp:14
viewer::Options::~Options
virtual ~Options()
Definition: src/tools/lvr2_viewer/app/Options.cpp:91
argc
int argc
Definition: tests_high_five_parallel.cpp:27
viewer::Options::getHighResDistance
float getHighResDistance() const
Definition: src/tools/lvr2_viewer/app/Options.cpp:81
viewer::Options::printUsage
bool printUsage() const
Prints a usage message to stdout.
Definition: src/tools/lvr2_viewer/app/Options.cpp:30
viewer::Options::getLayers
std::vector< std::string > getLayers() const
Returns the layers used for LOD.
Definition: src/tools/lvr2_viewer/app/Options.cpp:58
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