#include <ScreenPickerTool.h>
Public Member Functions | |
virtual void | append (const QwtDoublePoint &pos) |
ImageProfilesTool * | clone (Graph *g) |
QPointer< Table > | horizontalTable () |
ImageProfilesTool (ApplicationWindow *app, Graph *graph, Matrix *m, Table *horTable, Table *verTable, const QObject *status_target=NULL, const char *status_slot="") | |
QPointer< Matrix > | matrix () |
virtual int | rtti () const |
QPointer< Table > | verticalTable () |
virtual | ~ImageProfilesTool () |
Protected Attributes | |
ApplicationWindow * | d_app |
QPointer< Table > | d_hor_table |
QPointer< Matrix > | d_matrix |
QPointer< Table > | d_ver_table |
DoubleSpinBox * | horSpinBox |
DoubleSpinBox * | vertSpinBox |
QLabel * | zLabel |
Private Slots | |
void | modifiedMatrix (Matrix *) |
void | updateCursorPosition () |
Plot tool for image analysis.
ImageProfilesTool::ImageProfilesTool | ( | ApplicationWindow * | app, | |
Graph * | graph, | |||
Matrix * | m, | |||
Table * | horTable, | |||
Table * | verTable, | |||
const QObject * | status_target = NULL , |
|||
const char * | status_slot = "" | |||
) |
References append(), PlotToolInterface::d_graph, d_hor_table, d_matrix, ScreenPickerTool::d_selection_marker, d_ver_table, horSpinBox, modifiedMatrix(), Graph::multiLayer(), DoubleSpinBox::setDecimals(), DoubleSpinBox::setSingleStep(), MultiLayer::toolBox(), updateCursorPosition(), vertSpinBox, MatrixModel::x(), Matrix::xEnd(), Matrix::xStart(), MatrixModel::y(), Matrix::yEnd(), Matrix::yStart(), and zLabel.
Referenced by clone().
ImageProfilesTool::~ImageProfilesTool | ( | ) | [virtual] |
References d_hor_table, and d_ver_table.
void ImageProfilesTool::append | ( | const QwtDoublePoint & | pos | ) | [virtual] |
Reimplemented from ScreenPickerTool.
References Graph::curve(), d_app, ApplicationWindow::d_decimal_digits, PlotToolInterface::d_graph, d_hor_table, d_matrix, d_ver_table, Graph::enableAutoscaling(), horSpinBox, MultiLayer::layer(), Graph::multiLayer(), DoubleSpinBox::setValue(), ScreenPickerTool::statusText(), vertSpinBox, and zLabel.
Referenced by clone(), ImageProfilesTool(), ImportOPJ::importGraphs(), modifiedMatrix(), and updateCursorPosition().
ImageProfilesTool * ImageProfilesTool::clone | ( | Graph * | g | ) |
References append(), d_app, d_hor_table, d_matrix, PlotToolInterface::d_status_slot, PlotToolInterface::d_status_target, d_ver_table, ImageProfilesTool(), ScreenPickerTool::xValue(), and ScreenPickerTool::yValue().
Referenced by Graph::copy().
QPointer<Table> ImageProfilesTool::horizontalTable | ( | ) | [inline] |
References d_hor_table.
Referenced by Graph::saveToString().
QPointer<Matrix> ImageProfilesTool::matrix | ( | ) | [inline] |
References d_matrix.
Referenced by Graph::saveToString().
void ImageProfilesTool::modifiedMatrix | ( | Matrix * | m | ) | [private, slot] |
References append(), PlotToolInterface::d_graph, d_hor_table, ScreenPickerTool::d_selection_marker, d_ver_table, MultiLayer::layer(), Graph::Linear, Graph::multiLayer(), Matrix::numCols(), Matrix::numRows(), Matrix::range(), Graph::setScale(), Matrix::xEnd(), Matrix::xStart(), Matrix::yEnd(), and Matrix::yStart().
Referenced by ImageProfilesTool().
virtual int ImageProfilesTool::rtti | ( | ) | const [inline, virtual] |
Reimplemented from PlotToolInterface.
void ImageProfilesTool::updateCursorPosition | ( | ) | [private, slot] |
References append(), PlotToolInterface::d_graph, horSpinBox, DoubleSpinBox::value(), and vertSpinBox.
Referenced by ImageProfilesTool().
QPointer<Table> ImageProfilesTool::verticalTable | ( | ) | [inline] |
References d_ver_table.
Referenced by Graph::saveToString().
ApplicationWindow* ImageProfilesTool::d_app [protected] |
QPointer<Table> ImageProfilesTool::d_hor_table [protected] |
Referenced by append(), clone(), horizontalTable(), ImageProfilesTool(), modifiedMatrix(), and ~ImageProfilesTool().
QPointer<Matrix> ImageProfilesTool::d_matrix [protected] |
Referenced by append(), clone(), ImageProfilesTool(), and matrix().
QPointer<Table> ImageProfilesTool::d_ver_table [protected] |
Referenced by append(), clone(), ImageProfilesTool(), modifiedMatrix(), verticalTable(), and ~ImageProfilesTool().
DoubleSpinBox* ImageProfilesTool::horSpinBox [protected] |
Referenced by append(), ImageProfilesTool(), and updateCursorPosition().
DoubleSpinBox * ImageProfilesTool::vertSpinBox [protected] |
Referenced by append(), ImageProfilesTool(), and updateCursorPosition().
QLabel* ImageProfilesTool::zLabel [protected] |
Referenced by append(), and ImageProfilesTool().