Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lvr2::BaseOption Class Reference

#include <BaseOption.hpp>

Inheritance diagram for lvr2::BaseOption:
Inheritance graph
[legend]

Public Member Functions

 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 ()
 

Protected Member Functions

virtual void setup ()
 Setup internal data structures. More...
 
void setupInputTransformation ()
 Setup transformation info for ModelIO. More...
 

Protected Attributes

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 48 of file BaseOption.hpp.

Constructor & Destructor Documentation

◆ BaseOption()

lvr2::BaseOption::BaseOption ( int  argc,
char **  argv 
)

Definition at line 41 of file BaseOption.cpp.

◆ ~BaseOption()

lvr2::BaseOption::~BaseOption ( )
virtual

Definition at line 105 of file BaseOption.cpp.

Member Function Documentation

◆ coordinateTransform()

CoordinateTransform< float > lvr2::BaseOption::coordinateTransform ( ) const

Returns the coordinate system transformation stored in the option

Definition at line 55 of file BaseOption.cpp.

◆ printLogo()

void lvr2::BaseOption::printLogo ( ) const

Definition at line 110 of file BaseOption.cpp.

◆ printTransformation()

void lvr2::BaseOption::printTransformation ( std::ostream &  out) const

Prints transformation information to the given output stream.

Definition at line 60 of file BaseOption.cpp.

◆ setup()

void lvr2::BaseOption::setup ( )
protectedvirtual

Setup internal data structures.

Definition at line 84 of file BaseOption.cpp.

◆ setupInputTransformation()

void lvr2::BaseOption::setupInputTransformation ( )
protected

Setup transformation info for ModelIO.

Definition at line 79 of file BaseOption.cpp.

◆ sx()

float lvr2::BaseOption::sx ( ) const
inline

Returns the scaling factor for the x coordinates.

Definition at line 62 of file BaseOption.hpp.

◆ sy()

float lvr2::BaseOption::sy ( ) const
inline

Returns the scaling factor for the y coordinates.

Definition at line 67 of file BaseOption.hpp.

◆ sz()

float lvr2::BaseOption::sz ( ) const
inline

Returns the scaling factor for the z coordinates.

Definition at line 72 of file BaseOption.hpp.

◆ x()

int lvr2::BaseOption::x ( ) const
inline

Returns the position of the x coordinate in the data.

Definition at line 77 of file BaseOption.hpp.

◆ y()

int lvr2::BaseOption::y ( ) const
inline

Returns the position of the x coordinate in the data.

Definition at line 82 of file BaseOption.hpp.

◆ z()

int lvr2::BaseOption::z ( ) const
inline

Returns the position of the x coordinate in the data.

Definition at line 87 of file BaseOption.hpp.

Member Data Documentation

◆ m_argc

int lvr2::BaseOption::m_argc
protected

Argument count.

Definition at line 116 of file BaseOption.hpp.

◆ m_argv

char** lvr2::BaseOption::m_argv
protected

Argument values.

Definition at line 119 of file BaseOption.hpp.

◆ m_coordinateTransform

CoordinateTransform<float>* lvr2::BaseOption::m_coordinateTransform
protected

Coordinate transform information.

Definition at line 113 of file BaseOption.hpp.

◆ m_descr

options_description lvr2::BaseOption::m_descr
protected

The internally used option description.

Definition at line 107 of file BaseOption.hpp.

◆ m_pdescr

positional_options_description lvr2::BaseOption::m_pdescr
protected

The internally used positional option desription.

Definition at line 110 of file BaseOption.hpp.

◆ m_variables

variables_map lvr2::BaseOption::m_variables
protected

The internally used variable map.

Definition at line 104 of file BaseOption.hpp.


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