Public Member Functions | List of all members
viewer::Options Class Reference

#include <Options.hpp>

Inheritance diagram for viewer::Options:
Inheritance graph
[legend]

Public Member Functions

int getCacheSize () const
 
float getHighResDistance () const
 
std::string getInputFileName () const
 Returns the input file. More...
 
std::vector< std::string > getLayers () const
 Returns the layers used for LOD. More...
 
bool isChunkedMesh () const
 
 Options (int argc, char **argv)
 Ctor. Parses the command parameters given to the main function of the program. More...
 
bool printUsage () const
 Prints a usage message to stdout. More...
 
virtual ~Options ()
 
- Public Member Functions inherited from lvr2::BaseOption
 BaseOption (int argc, char **argv)
 
CoordinateTransform< float > coordinateTransform () const
 
void printLogo () const
 
void printTransformation (std::ostream &out) const
 Prints transformation information to the given output stream. More...
 
float sx () const
 Returns the scaling factor for the x coordinates. More...
 
float sy () const
 Returns the scaling factor for the y coordinates. More...
 
float sz () const
 Returns the scaling factor for the z coordinates. More...
 
int x () const
 Returns the position of the x coordinate in the data. More...
 
int y () const
 Returns the position of the x coordinate in the data. More...
 
int z () const
 Returns the position of the x coordinate in the data. More...
 
virtual ~BaseOption ()
 

Additional Inherited Members

- Protected Member Functions inherited from lvr2::BaseOption
virtual void setup ()
 Setup internal data structures. More...
 
void setupInputTransformation ()
 Setup transformation info for ModelIO. More...
 
- Protected Attributes inherited from lvr2::BaseOption
int m_argc
 Argument count. More...
 
char ** m_argv
 Argument values. More...
 
CoordinateTransform< float > * m_coordinateTransform
 Coordinate transform information. More...
 
options_description m_descr
 The internally used option description. More...
 
positional_options_description m_pdescr
 The internally used positional option desription. More...
 
variables_map m_variables
 The internally used variable map. More...
 

Detailed Description

Definition at line 17 of file src/tools/lvr2_viewer/app/Options.hpp.

Constructor & Destructor Documentation

◆ Options()

Options::Options ( int  argc,
char **  argv 
)

Ctor. Parses the command parameters given to the main function of the program.

Definition at line 14 of file src/tools/lvr2_viewer/app/Options.cpp.

◆ ~Options()

Options::~Options ( )
virtual

Definition at line 91 of file src/tools/lvr2_viewer/app/Options.cpp.

Member Function Documentation

◆ getCacheSize()

int Options::getCacheSize ( ) const

Definition at line 71 of file src/tools/lvr2_viewer/app/Options.cpp.

◆ getHighResDistance()

float Options::getHighResDistance ( ) const
Returns

Definition at line 81 of file src/tools/lvr2_viewer/app/Options.cpp.

◆ getInputFileName()

std::string Options::getInputFileName ( ) const

Returns the input file.

Returns the input file name

Definition at line 54 of file src/tools/lvr2_viewer/app/Options.cpp.

◆ getLayers()

std::vector< string > Options::getLayers ( ) const

Returns the layers used for LOD.

Returns

Definition at line 58 of file src/tools/lvr2_viewer/app/Options.cpp.

◆ isChunkedMesh()

bool Options::isChunkedMesh ( ) const

Definition at line 86 of file src/tools/lvr2_viewer/app/Options.cpp.

◆ printUsage()

bool Options::printUsage ( ) const

Prints a usage message to stdout.

Definition at line 30 of file src/tools/lvr2_viewer/app/Options.cpp.


The documentation for this class was generated from the following files:


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:12