General Purpose Geodetic Library
|
#include <SgGuiPlotter.h>
Public Types | |
enum | AxisType { AxisType_DATA = 0 , AxisType_MJD = 1 } |
enum | DataAttr { DA_NONUSABLE = 1<<0 , DA_REJECTED = 1<<1 , DA_BAR = 1<<2 , DA_SELECTED = 1<<3 } |
Public Member Functions | |
SgPlotCarrier (unsigned int, unsigned int, const QString &) | |
~SgPlotCarrier () | |
QList< SgPlotBranch * > * | listOfBranches () |
QVector< QString * > * | columnNames () |
unsigned int | numOfValuesColumns () const |
unsigned int | numOfSigmasColumns () const |
bool | isOK () const |
AxisType | getAxisType (int columnIdx) const |
int | getStdVarIdx (int columnIdx) const |
QString & | getName (int idx=-1) |
const QString & | getFile2SaveBaseName () const |
void | setAxisType (int columnIdx, AxisType axisType) |
void | setStdVarIdx (int columnIdx, int sigmaColumnIdx) |
void | setName (const QString &name, int idx=-1) |
void | setFile2SaveBaseName (const QString &name) |
QString | className () const |
int | numOfColumns () const |
void | createBranch (unsigned int numberOfRows, const QString &branchName, bool hasExtKeys=false) |
bool | selfCheck () |
void | setNameOfColumn (unsigned int, const QString &) |
Private Attributes | |
QMap< int, QString > | name_ |
QList< SgPlotBranch * > | listOfBranches_ |
bool | isOK_ |
QString | file2SaveBaseName_ |
unsigned int | numOfValuesColumns_ |
unsigned int | numOfSigmasColumns_ |
QVector< QString * > | columnNames_ |
int * | dataTypes_ |
int * | dataStdVarIdx_ |
An object that pass information about data to plot and its format ====================================================================================================
Definition at line 130 of file SgGuiPlotter.h.
Enumerator | |
---|---|
AxisType_DATA | |
AxisType_MJD |
Definition at line 133 of file SgGuiPlotter.h.
Enumerator | |
---|---|
DA_NONUSABLE | |
DA_REJECTED | |
DA_BAR | |
DA_SELECTED |
Definition at line 139 of file SgGuiPlotter.h.
SgPlotCarrier::SgPlotCarrier | ( | unsigned int | numOfValuesColumns, |
unsigned int | numOfSigmasColumns, | ||
const QString & | name | ||
) |
A constructor.
Definition at line 215 of file SgGuiPlotter.cpp.
References AxisType_DATA, dataStdVarIdx_, dataTypes_, file2SaveBaseName_, isOK_, name_, numOfColumns(), numOfSigmasColumns(), numOfSigmasColumns_, numOfValuesColumns(), and numOfValuesColumns_.
SgPlotCarrier::~SgPlotCarrier | ( | ) |
A destructor. Frees allocated memory.
Definition at line 241 of file SgGuiPlotter.cpp.
References columnNames_, dataStdVarIdx_, dataTypes_, listOfBranches_, numOfSigmasColumns_, and numOfValuesColumns_.
|
inline |
Definition at line 182 of file SgGuiPlotter.h.
Referenced by selfCheck().
|
inline |
Definition at line 164 of file SgGuiPlotter.h.
References columnNames_.
Referenced by SgPlot::control(), SgPlot::fillAxisNames(), SgPlotArea::setXColumn(), and SgPlotArea::setYColumn().
void SgPlotCarrier::createBranch | ( | unsigned int | numberOfRows, |
const QString & | branchName, | ||
bool | hasExtKeys = false |
||
) |
Definition at line 262 of file SgGuiPlotter.cpp.
References listOfBranches_, numOfSigmasColumns_, and numOfValuesColumns_.
Referenced by NsSessionEditDialog::tab4BandPlots(), NsSessionEditDialog::tab4SessionPlot(), NsSessionEditDialog::tab4StationsPlot(), NsTestDialog::testPlot(), and NsTestFour1Dialog::testPlot().
|
inline |
Definition at line 225 of file SgGuiPlotter.h.
References AxisType_DATA, dataTypes_, and numOfColumns().
Referenced by SgPlotArea::calcLimits(), and SgPlotArea::setXColumn().
|
inline |
Definition at line 173 of file SgGuiPlotter.h.
References file2SaveBaseName_.
Referenced by SgPlotArea::output4Files(), and SgPlot::save2Image().
|
inline |
Definition at line 171 of file SgGuiPlotter.h.
References name_.
Referenced by SgPlot::SgPlot(), SgPlotArea::defineAreas(), SgPlotArea::drawFrames(), and SgPlotArea::output4Files().
|
inline |
Definition at line 234 of file SgGuiPlotter.h.
References dataStdVarIdx_, and numOfColumns().
Referenced by SgPlotArea::calcLimits(), SgPlotArea::drawData(), and SgPlotArea::output4Files().
|
inline |
Definition at line 167 of file SgGuiPlotter.h.
References isOK_.
Referenced by SgPlotArea::calcLimits(), SgPlotArea::drawData(), SgPlotArea::queryPoint(), SgPlotArea::setXColumn(), and SgPlotArea::setYColumn().
|
inline |
Definition at line 163 of file SgGuiPlotter.h.
References listOfBranches_.
Referenced by SgPlot::SgPlot(), SgPlot::branchChanged(), NsSessionEditDialog::calcIono(), SgPlotArea::calcLimits(), NsSessionEditDialog::changeNumOfAmbigSpacing4MarkedPoints(), NsSessionEditDialog::changeNumOfSubAmbig4MarkedPoints(), SgPlot::control(), SgPlotArea::drawData(), SgPlotArea::drawFrames(), NsSessionEditDialog::excludeMarkedPoints(), SgPlot::extKeyChanged(), SgPlot::fillBranchesNames(), NsSessionEditDialog::findClockBreakEvent(), NsSessionEditDialog::generateRequest4Refringing(), NsSessionEditDialog::includeMarkedPoints(), SgPlotArea::initBranchPens(), SgPlotArea::output4Files(), SgPlot::processFilterAuxMinus(), SgPlot::processFilterAuxPlus(), SgPlot::processFilterExtMinus(), SgPlot::processFilterExtPlus(), SgPlot::processFilterMinus(), SgPlot::processFilterPlus(), SgPlotArea::queryPoint(), SgPlotArea::setBranchColors(), NsSessionEditDialog::tab4BandPlots(), NsSessionEditDialog::tab4SessionPlot(), NsSessionEditDialog::tab4StationsPlot(), NsTestDialog::testPlot(), NsTestFour1Dialog::testPlot(), NsSessionEditDialog::updateResiduals(), NsSessionEditDialog::updateSessionWideSolutions(), and NsSessionEditDialog::zeroIono().
|
inline |
Definition at line 242 of file SgGuiPlotter.h.
References numOfSigmasColumns_, and numOfValuesColumns_.
Referenced by SgPlotCarrier(), SgPlot::control(), SgPlot::fillAxisNames(), getAxisType(), getStdVarIdx(), setAxisType(), setStdVarIdx(), SgPlotArea::setXColumn(), and SgPlotArea::setYColumn().
|
inline |
Definition at line 166 of file SgGuiPlotter.h.
References numOfSigmasColumns_.
Referenced by SgPlotCarrier().
|
inline |
Definition at line 165 of file SgGuiPlotter.h.
References numOfValuesColumns_.
Referenced by SgPlotCarrier().
bool SgPlotCarrier::selfCheck | ( | ) |
Definition at line 272 of file SgGuiPlotter.cpp.
References className(), columnNames_, SgLogger::GUI, isOK_, listOfBranches_, logger, numOfSigmasColumns_, numOfValuesColumns_, SgLogger::write(), and SgLogger::WRN.
Referenced by SgPlot::SgPlot().
|
inline |
Definition at line 207 of file SgGuiPlotter.h.
References dataTypes_, and numOfColumns().
Referenced by NsSessionEditDialog::tab4BandPlots(), NsSessionEditDialog::tab4SessionPlot(), NsSessionEditDialog::tab4StationsPlot(), and NsTestDialog::testPlot().
|
inline |
Definition at line 178 of file SgGuiPlotter.h.
References file2SaveBaseName_.
Referenced by NsSessionEditDialog::tab4BandPlots(), NsSessionEditDialog::tab4SessionPlot(), and NsSessionEditDialog::tab4StationsPlot().
|
inline |
Definition at line 177 of file SgGuiPlotter.h.
References name_.
Referenced by NsSessionEditDialog::tab4BandPlots().
void SgPlotCarrier::setNameOfColumn | ( | unsigned int | idx, |
const QString & | name | ||
) |
Definition at line 302 of file SgGuiPlotter.cpp.
References columnNames_, numOfSigmasColumns_, and numOfValuesColumns_.
Referenced by NsSessionEditDialog::tab4BandPlots(), NsSessionEditDialog::tab4SessionPlot(), NsSessionEditDialog::tab4StationsPlot(), NsTestDialog::testPlot(), and NsTestFour1Dialog::testPlot().
|
inline |
Definition at line 216 of file SgGuiPlotter.h.
References dataStdVarIdx_, and numOfColumns().
Referenced by NsSessionEditDialog::tab4BandPlots(), NsSessionEditDialog::tab4SessionPlot(), NsSessionEditDialog::tab4StationsPlot(), and NsTestDialog::testPlot().
|
private |
Definition at line 198 of file SgGuiPlotter.h.
Referenced by ~SgPlotCarrier(), columnNames(), selfCheck(), and setNameOfColumn().
|
private |
Definition at line 200 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), ~SgPlotCarrier(), getStdVarIdx(), and setStdVarIdx().
|
private |
Definition at line 199 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), ~SgPlotCarrier(), getAxisType(), and setAxisType().
|
private |
Definition at line 193 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), getFile2SaveBaseName(), and setFile2SaveBaseName().
|
private |
Definition at line 192 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), isOK(), and selfCheck().
|
private |
Definition at line 191 of file SgGuiPlotter.h.
Referenced by ~SgPlotCarrier(), createBranch(), listOfBranches(), and selfCheck().
|
private |
Definition at line 190 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), getName(), and setName().
|
private |
Definition at line 197 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), ~SgPlotCarrier(), createBranch(), numOfColumns(), numOfSigmasColumns(), selfCheck(), and setNameOfColumn().
|
private |
Definition at line 196 of file SgGuiPlotter.h.
Referenced by SgPlotCarrier(), ~SgPlotCarrier(), createBranch(), numOfColumns(), numOfValuesColumns(), selfCheck(), and setNameOfColumn().