Class BaseOption

Class Documentation

class BaseOption

Public Functions

BaseOption(int argc, char **argv)
virtual ~BaseOption()
void printTransformation(std::ostream &out) const

Prints transformation information to the given output stream.

inline float sx() const

Returns the scaling factor for the x coordinates.

inline float sy() const

Returns the scaling factor for the y coordinates.

inline float sz() const

Returns the scaling factor for the z coordinates.

inline int x() const

Returns the position of the x coordinate in the data.

inline int y() const

Returns the position of the x coordinate in the data.

inline int z() const

Returns the position of the x coordinate in the data.

CoordinateTransform<float> coordinateTransform() const

Returns the coordinate system transformation stored in the option

void printLogo() const

Protected Functions

virtual void setup()

Setup internal data structures.

void setupInputTransformation()

Setup transformation info for ModelIO.

Protected Attributes

variables_map m_variables

The internally used variable map.

options_description m_descr

The internally used option description.

positional_options_description m_pdescr

The internally used positional option desription.

CoordinateTransform<float> *m_coordinateTransform

Coordinate transform information.

int m_argc

Argument count.

char **m_argv

Argument values.