#include <Correlation.h>

Public Member Functions | |
| Correlation (ApplicationWindow *parent, Table *t, const QString &colName1, const QString &colName2, int startRow=1, int endRow=-1) | |
| bool | setDataFromTable (Table *t, const QString &colName1, const QString &colName2, int startRow=1, int endRow=-1) |
Protected Member Functions | |
| void | addResultCurve () |
| Handles the graphical output. | |
Private Member Functions | |
| virtual void | output () |
| Performs the data analysis and takes care of the output. | |
| Correlation::Correlation | ( | ApplicationWindow * | parent, | |
| Table * | t, | |||
| const QString & | colName1, | |||
| const QString & | colName2, | |||
| int | startRow = 1, |
|||
| int | endRow = -1 | |||
| ) |
References setDataFromTable().
| void Correlation::addResultCurve | ( | ) | [protected] |
Handles the graphical output.
References MultiLayer::activeLayer(), Table::addCol(), Table::colName(), Table::colNames(), ColorBox::color(), Filter::createOutputGraph(), Filter::d_curveColorIndex, ApplicationWindow::d_decimal_digits, Filter::d_graphics_display, Filter::d_n, Filter::d_output_graph, Filter::d_table, Filter::d_x, Graph::insertPlotItem(), Graph::Line, ApplicationWindow::locale(), Table::numCols(), Table::numRows(), Table::setColName(), Table::setColPlotDesignation(), Table::setHeaderColType(), Table::setNumRows(), Table::setText(), Graph::updatePlot(), Table::X, Filter::x(), and Filter::y().
Referenced by output().
| void Correlation::output | ( | ) | [private, virtual] |
Performs the data analysis and takes care of the output.
Reimplemented from Filter.
References addResultCurve(), Filter::d_n, Filter::d_result_table, Filter::d_table, Filter::d_x, and Filter::d_y.
| bool Correlation::setDataFromTable | ( | Table * | t, | |
| const QString & | colName1, | |||
| const QString & | colName2, | |||
| int | startRow = 1, |
|||
| int | endRow = -1 | |||
| ) | [virtual] |
Reimplemented from Filter.
References Table::cell(), Table::colIndex(), Filter::d_init_err, Filter::d_n, Filter::d_table, Filter::d_x, Filter::d_y, and Table::numRows().
Referenced by Correlation().
1.5.6