Class IOVectorFactory#
Defined in File IOVector.h
Class Documentation#
-
class IOVectorFactory#
A class for constructing IOVectors. It follows the factory pattern.
- Author
stratmann
- Date
07.03.2018
Public Functions
-
IOVectorFactory(std::size_t num_data_rows, const OutputGrid &grid, const std::vector<InputAxis> &axis)#
Creates a new IOVector factory which needs the number of rows in the data set and the OutputGrid and the InputAxis’ with wich the IOVector will be drawn.
- Parameters:
num_data_rows – the number of rows of the data set
grid – the OutputGrid
axis – the InputAxis’
-
IOVector create(const DefDataRow &row) const#
Creates a new IOVector from a given DefDataRow. If an input value is too close to zero (as defined by moovie.epsilon_places), an invalid coordinate is added that needs to be ignored by the Drawer.
- Parameters:
row – the DefDataRow
- Returns:
the so created IOVector