Gaia
|
Class containing all info pertaining to a specific transformation, ie: the name of the analyzer class, the input parameters, the results of this analysis (= the applier parameters), and the name of the applier class. More...
#include <transformation.h>
Public Member Functions | |
Transformation (const PointLayout &l) | |
Transformation (const Transformation &rhs) | |
Transformation & | operator= (const Transformation &rhs) |
bool | operator== (const Transformation &rhs) const |
const Analyzer * | analyzer () const |
const Applier * | applier () const |
DataSet * | applyToDataSet (const DataSet *dataset) const |
Apply the current transformation with its parameters to the DataSet. | |
DataSet * | retransformDataSet (const DataSet *dataset) const |
Redo the full analysis+apply to the given dataset. More... | |
Point * | applyToPoint (const Point *point) const |
void | load (const QString &filename) |
void | save (const QString &filename) |
void | updateOldTransformation (int version) |
Updates (if necessary) the parameters for this transformation from the specified original version to the current one. | |
Public Attributes | |
QString | name |
QString | analyzerName |
QString | applierName |
ParameterMap | analyzerParams |
ParameterMap | params |
ParameterMap | info |
PointLayout | layout |
Protected Attributes | |
Analyzer * | _analyzer |
Applier * | _applier |
Friends | |
QDataStream & | operator<< (QDataStream &out, const Transformation &transfo) |
QDataStream & | operator>> (QDataStream &in, Transformation &transfo) |
Class containing all info pertaining to a specific transformation, ie: the name of the analyzer class, the input parameters, the results of this analysis (= the applier parameters), and the name of the applier class.
This class may also contain pre-instantiated analyzer and applier objects.
Redo the full analysis+apply to the given dataset.
The resulting transformation that is applied will have the same analyzer parameters, but different applier ones.