Gaia
gaia2::Merge Class Reference

Merge applier class. More...

#include <merge.h>

Inheritance diagram for gaia2::Merge:
gaia2::Applier

Public Member Functions

 Merge (const Transformation &transfo)
 
virtual PointmapPoint (const Point *p) const
 Ownership of resulting point is handed to caller of this function.
 
DataSetmapDataSet (const DataSet *dataset) const
 Optimized version so that we don't have to recompute the index mappings for each point. More...
 
- Public Member Functions inherited from gaia2::Applier
 Applier (const Transformation &transfo)
 
void checkLayout (const PointLayout &layout) const
 Check that the given layout is the same as the one that was used during the analysis part of this transformation. More...
 
void checkLayout (const DataSet *dataset) const
 Check that the given dataset has the same layout as the one that was used during the analysis part of this transformation. More...
 

Protected Attributes

TransfoChain _history1
 
TransfoChain _history2
 
- Protected Attributes inherited from gaia2::Applier
Transformation _transfo
 

Additional Inherited Members

- Protected Member Functions inherited from gaia2::Applier
void transferHistory (const DataSet *original, DataSet *destination) const
 This method tranfers the transformation history from the original dataset to the one being created, and adds itself at the end of the history.
 
void addPointsNoLayoutCheck (DataSet *dataset, const QVector< Point * > &points) const
 Adds the given points to a DataSet without checking for the layout to be correct. More...
 

Detailed Description

Merge applier class.

Merges together 2 points which have had a different history of transformations, but which both stem from the same original point.

Member Function Documentation

DataSet * Merge::mapDataSet ( const DataSet dataset) const
virtual

Optimized version so that we don't have to recompute the index mappings for each point.

Reimplemented from gaia2::Applier.

References gaia2::mergeDataSets().


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