Gaia
gaia2::Transformation Class Reference

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)
 
Transformationoperator= (const Transformation &rhs)
 
bool operator== (const Transformation &rhs) const
 
const Analyzeranalyzer () const
 
const Applierapplier () const
 
DataSetapplyToDataSet (const DataSet *dataset) const
 Apply the current transformation with its parameters to the DataSet.
 
DataSetretransformDataSet (const DataSet *dataset) const
 Redo the full analysis+apply to the given dataset. More...
 
PointapplyToPoint (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)
 

Detailed Description

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.

Member Function Documentation

DataSet * gaia2::Transformation::retransformDataSet ( const DataSet dataset) const

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.


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