3D graph widget. More...
#include <Graph3D.h>
Public Types | |
enum | PlotType { NoTable = -1, Scatter = 0, Trajectory = 1, Bars = 2, Ribbon = 3 } |
enum | PointStyle { None = 0, Dots = 1, VerticalBars = 2, HairCross = 3, Cones = 4 } |
Public Slots | |
void | addData (Table *table, int xCol, int yCol, int zCol, int type=0) |
void | addFunction (const QString &s, double xl, double xr, double yl, double yr, double zl, double zr, int columns=40, int rows=30) |
void | addMatrixData (Matrix *m, double xl, double xr, double yl, double yr, double zl, double zr) |
void | addMatrixData (Matrix *m) |
void | addParametricSurface (const QString &xFormula, const QString &yFormula, const QString &zFormula, double ul, double ur, double vl, double vr, int columns, int rows, bool uPeriodic, bool vPeriodic) |
void | addRibbon (Table *table, const QString &xColName, const QString &yColName, double xl, double xr, double yl, double yr, double zl, double zr) |
void | addRibbon (Table *table, const QString &xColName, const QString &yColName) |
void | animate (bool on=true) |
bool | antialiasing () |
bool | autoscale () |
void | changeDataColumn (Table *table, const QString &colName, int type=0) |
void | clearData () |
Qwt3D::CoordinateSystem * | coordinateSystem () |
Qwt3D::COORDSTYLE | coordStyle () |
void | copy (Graph3D *g) |
void | copyImage () |
void | customPlotStyle (int style) |
void | exportImage (const QString &fileName, int quality=100, bool transparent=false, int dpi=0, const QSizeF &customSize=QSizeF(), int unit=FrameWidget::Pixel, double fontsFactor=1.0) |
void | exportImage (QTextDocument *document, int quality, bool transparent, int dpi, const QSizeF &customSize, int unit, double fontsFactor) |
void | exportPDF (const QString &fileName) |
void | exportToFile (const QString &fileName) |
void | exportVector (const QString &fileName, int textExportMode=0, int sortMode=1, const QSizeF &customSize=QSizeF(), int unit=FrameWidget::Pixel, double fontsFactor=1.0) |
void | findBestLayout () |
Qwt3D::FLOORSTYLE | floorStyle () |
bool | hasData () |
void | initCoord () |
void | initPlot () |
void | insertNewData (Table *table, const QString &colName) |
bool | isAnimated () |
void | loadData (Table *table, int xCol, int yCol, int zCol, double xl=0.0, double xr=0.0, double yl=0.0, double yr=0.0, double zl=0.0, double zr=0.0) |
Matrix * | matrix () |
Qwt3D::PLOTSTYLE | plotStyle () |
void | print (QPrinter *printer) |
void | print () |
void | resetNonEmptyStyle () |
void | rotate () |
Used for the animation: rotates the scene with 1/360 degrees. | |
void | rotationChanged (double, double, double) |
void | save (const QString &fn, const QString &geometry, bool=false) |
void | scaleChanged (double, double, double) |
void | setAntialiasing (bool smooth=true) |
void | setAutoscale (bool on=true) |
Enables/Disables autoscaling using findBestLayout(). | |
void | setOptions (const QStringList &lst) |
void | setOptions (bool legend, int r, int dist) |
void | setPlotAssociation (const QString &s) |
void | setRotation (double xVal, double yVal, double zVal) |
void | setScale (int axis, double start, double end, int majorTicks, int minorTicks, Qwt3D::SCALETYPE type) |
void | setScale (double xVal, double yVal, double zVal) |
void | setShift (double xVal, double yVal, double zVal) |
void | setStyle (const QStringList &st) |
void | setZoom (double val) |
void | shiftChanged (double, double, double) |
void | showWorksheet () |
Table * | table () |
PlotType | tablePlotType () |
void | update () |
void | updateData (Table *table) |
void | updateDataXY (Table *table, int xCol, int yCol) |
void | updateMatrixData (Matrix *m) |
double | xRotation () |
double | xScale () |
double | xShift () |
double | yRotation () |
double | yScale () |
double | yShift () |
double | zoom () |
void | zoomChanged (double) |
double | zRotation () |
double | zScale () |
double | zShift () |
Colors | |
QColor | axesColor () |
QColor | bgColor () |
void | changeTransparency (double t) |
QwtLinearColorMap | colorMap () |
QString | colorMapFile () |
QwtLinearColorMap * | colorMapPointer () |
QColor | gridColor () |
QColor | labelColor () |
QColor | meshColor () |
QColor | numColor () |
static bool | openColorMapFile (ColorVector &cv, QString fname) |
void | setAxesColor (const QColor &) |
void | setBackgroundColor (const QColor &) |
void | setDataColorMap (const ColorVector &colors, const QwtLinearColorMap &colorMap) |
void | setDataColorMap (const ColorVector &colors) |
void | setDataColorMap (const QString &fileName) |
void | setDataColorMap (const QwtLinearColorMap &colorMap) |
void | setDataColors (const QColor &cMin, const QColor &cMax) |
void | setGridColor (const QColor &) |
void | setLabelsColor (const QColor &) |
void | setMeshColor (const QColor &) |
void | setNumbersColor (const QColor &) |
void | setTransparency (double t) |
double | transparency () |
Axes | |
QStringList | axesLabels () |
QStringList | axisTickLengths () |
int | axisType (int axis) |
bool | isOrthogonal () |
int | labelsDistance () |
QFont | numbersFont () |
void | resetAxesLabels () |
QStringList | scaleTicks () |
void | setAxesLabels (const QStringList &lst) |
void | setAxisTickLength (int axis, double majorLength, double minorLength) |
void | setAxisType (int axis, int type) |
void | setBoxed () |
void | setFramed () |
void | setLabelsDistance (int val) |
void | setNoAxes () |
void | setNumbersFont (const QFont &font) |
void | setOrthogonal (bool on=true) |
void | setScales (double xl, double xr, double yl, double yr, double zl, double zr) |
void | setTickLengths (const QStringList &lst) |
void | setTicks (const QStringList &options) |
void | setXAxisLabel (const QString &) |
void | setXAxisLabelFont (const QStringList &lst) |
void | setXAxisLabelFont (const QFont &fnt) |
void | setXAxisTickLength (double majorLength, double minorLength) |
void | setYAxisLabel (const QString &) |
void | setYAxisLabelFont (const QStringList &lst) |
void | setYAxisLabelFont (const QFont &fnt) |
void | setYAxisTickLength (double majorLength, double minorLength) |
void | setZAxisLabel (const QString &) |
void | setZAxisLabelFont (const QStringList &lst) |
void | setZAxisLabelFont (const QFont &fnt) |
void | setZAxisTickLength (double majorLength, double minorLength) |
void | updateScales (double xl, double xr, double yl, double yr, double zl, double zr, int xcol, int ycol) |
void | updateScalesFromMatrix (double xl, double xr, double yl, double yr, double zl, double zr) |
QFont | xAxisLabelFont () |
double | xStart () |
double | xStop () |
QFont | yAxisLabelFont () |
double | yStart () |
double | yStop () |
QFont | zAxisLabelFont () |
double | zStart () |
double | zStop () |
Bars | |
bool | barLines () |
double | barsRadius () |
bool | filledBars () |
void | setBarLines (bool lines=true) |
void | setBarRadius (double rad) |
void | setFilledBars (bool filled=true) |
Scatter Plots | |
bool | boxedCrossHair () |
int | coneQuality () |
double | coneRadius () |
double | crossHairLinewidth () |
double | crossHairRadius () |
double | pointsSize () |
PointStyle | pointType () |
void | setConeOptions (double rad, int quality) |
void | setConeStyle () |
void | setCrossOptions (double rad, double linewidth, bool smooth, bool boxed) |
void | setCrossStyle () |
void | setDotOptions (double size, bool smooth) |
bool | smoothCrossHair () |
bool | smoothPoints () |
Event Handlers | |
void | dragEnterEvent (QDragEnterEvent *) |
void | dropEvent (QDropEvent *) |
bool | eventFilter (QObject *object, QEvent *e) |
Filters other object's events (customizes title bar's context menu). | |
void | resizeEvent (QResizeEvent *) |
void | scaleFonts (double factor) |
void | setIgnoreFonts (bool ok) |
User Functions | |
QString | formula () |
UserParametricSurface * | parametricSurface () |
UserFunction * | userFunction () |
Grid | |
int | grids () |
void | setBackGrid (bool b=true) |
void | setCeilGrid (bool b=true) |
void | setFloorGrid (bool b=true) |
void | setFrontGrid (bool b=true) |
void | setGrid (int grids) |
void | setGrid (Qwt3D::SIDE s, bool b) |
void | setLeftGrid (bool b=true) |
void | setRightGrid (bool b=true) |
Legend | |
bool | isLegendOn () |
void | showColorLegend (bool show=true) |
Mesh | |
double | meshLineWidth () |
void | setBarStyle () |
void | setDotStyle () |
void | setEmptyFloor () |
void | setFilledMeshStyle () |
void | setFloorData () |
void | setFloorIsolines () |
void | setHiddenLineStyle () |
void | setMeshLineWidth (double lw) |
void | setPolygonStyle () |
void | setWireframeStyle () |
Title | |
QString | plotTitle () |
void | setTitle (const QString &s, const QColor &color=QColor(Qt::black), const QFont &font=QFont()) |
void | setTitle (const QStringList &lst) |
void | setTitleFont (const QFont &font) |
QColor | titleColor () |
QFont | titleFont () |
Resolution | |
int | resolution () |
void | setResolution (int r) |
Signals | |
void | modified () |
void | showOptionsDialog () |
Public Member Functions | |
Graph3D (const QString &label, ApplicationWindow *parent, const char *name=0, Qt::WFlags f=0) | |
Qwt3D::SurfacePlot * | surface () |
~Graph3D () | |
Static Public Member Functions | |
static Graph3D * | restore (ApplicationWindow *app, const QStringList &lst, int fileVersion) |
Private Member Functions | |
void | resetAxesType () |
Private Attributes | |
int | animation_redraw_wait |
Wait this many msecs before redraw 3D plot (used for animations). | |
QColor | axesCol |
QColor | bgCol |
Qwt3D::StandardColor * | col_ |
int | conesQuality |
double | conesRad |
bool | crossHairBoxed |
double | crossHairLineWidth |
double | crossHairRad |
bool | crossHairSmooth |
double | d_alpha |
Transparency. | |
bool | d_autoscale |
QwtLinearColorMap | d_color_map |
QString | d_color_map_file |
File name of the color map used for the data (if any). | |
UserFunction * | d_func |
Matrix * | d_matrix |
double | d_point_size |
bool | d_smooth_points |
Draw 3D points with smoothed angles. | |
UserParametricSurface * | d_surface |
Table * | d_table |
PlotType | d_table_plot_type |
QTimer * | d_timer |
QColor | gridCol |
bool | ignoreFonts |
QStringList | labels |
QColor | labelsCol |
int | labelsDist |
int | legendMajorTicks |
bool | legendOn |
QColor | meshCol |
QColor | numCol |
QString | plotAssociation |
PointStyle | pointStyle |
QVector< int > | scaleType |
Qwt3D::SurfacePlot * | sp |
Qwt3D::PLOTSTYLE | style_ |
QString | title |
QColor | titleCol |
QFont | titleFnt |
Bar options | |
bool | d_bar_lines |
double | d_bars_rad |
bool | d_filled_bars |
3D graph widget.
This provides 3D plotting using Qwt3D.
If MultiLayer is extended to accept any QWidget, Graph3D wouldn't have to inherit from MdiSubWindow any more. It could also make sense to unify the interface with other plot types; see documentation of Graph. Big problem here: export to vector formats. Qwt3D's export filters write directly to a file, so they can't be combined with output generated via QPrinter.
enum Graph3D::PlotType |
enum Graph3D::PointStyle |
Graph3D::Graph3D | ( | const QString & | label, | |
ApplicationWindow * | parent, | |||
const char * | name = 0 , |
|||
Qt::WFlags | f = 0 | |||
) |
References initPlot().
void Graph3D::addData | ( | Table * | table, | |
int | xCol, | |||
int | yCol, | |||
int | zCol, | |||
int | type = 0 | |||
) | [slot] |
References Bars, d_table_plot_type, findBestLayout(), loadData(), Scatter, setBarStyle(), setDotStyle(), setWireframeStyle(), and Trajectory.
Referenced by changeDataColumn(), dropEvent(), ImportOPJ::importGraph3D(), insertNewData(), PlotWizard::plot3D(), and ApplicationWindow::plotXYZ().
void Graph3D::addFunction | ( | const QString & | s, | |
double | xl, | |||
double | xr, | |||
double | yl, | |||
double | yr, | |||
double | zl, | |||
double | zr, | |||
int | columns = 40 , |
|||
int | rows = 30 | |||
) | [slot] |
References d_func, d_surface, findBestLayout(), legendMajorTicks, None, pointStyle, UserFunction::setMesh(), sp, style_, and update().
Referenced by SurfaceDialog::acceptFunction(), copy(), ApplicationWindow::plotSurface(), and restore().
void Graph3D::addMatrixData | ( | Matrix * | m, | |
double | xl, | |||
double | xr, | |||
double | yl, | |||
double | yr, | |||
double | zl, | |||
double | zr | |||
) | [slot] |
References d_matrix, d_table, plotAssociation, and updateScalesFromMatrix().
void Graph3D::addMatrixData | ( | Matrix * | m | ) | [slot] |
References Matrix::allocateMatrixData(), Matrix::cell(), d_autoscale, d_matrix, d_table, findBestLayout(), Matrix::freeMatrixData(), legendMajorTicks, Matrix::numCols(), Matrix::numRows(), plotAssociation, sp, update(), Matrix::xEnd(), Matrix::xStart(), Matrix::yEnd(), and Matrix::yStart().
Referenced by ApplicationWindow::change3DMatrix(), copy(), dropEvent(), ImportOPJ::importGraph3D(), ApplicationWindow::insert3DMatrixPlot(), ApplicationWindow::plot3DMatrix(), and restore().
void Graph3D::addParametricSurface | ( | const QString & | xFormula, | |
const QString & | yFormula, | |||
const QString & | zFormula, | |||
double | ul, | |||
double | ur, | |||
double | vl, | |||
double | vr, | |||
int | columns, | |||
int | rows, | |||
bool | uPeriodic, | |||
bool | vPeriodic | |||
) | [slot] |
References d_func, d_surface, findBestLayout(), legendMajorTicks, None, pointStyle, UserParametricSurface::setDomain(), UserParametricSurface::setMesh(), UserParametricSurface::setPeriodic(), sp, style_, and update().
Referenced by SurfaceDialog::acceptParametricSurface(), copy(), ApplicationWindow::plotParametricSurface(), and restore().
void Graph3D::addRibbon | ( | Table * | table, | |
const QString & | xColName, | |||
const QString & | yColName, | |||
double | xl, | |||
double | xr, | |||
double | yl, | |||
double | yr, | |||
double | zl, | |||
double | zr | |||
) | [slot] |
void Graph3D::addRibbon | ( | Table * | table, | |
const QString & | xColName, | |||
const QString & | yColName | |||
) | [slot] |
References Matrix::allocateMatrixData(), Table::cell(), Table::colIndex(), d_autoscale, d_table, d_table_plot_type, findBestLayout(), Matrix::freeMatrixData(), Table::numRows(), plotAssociation, Ribbon, sp, and Table::text().
Referenced by ApplicationWindow::addRibbon(), changeDataColumn(), copy(), PlotWizard::plot3DRibbon(), ApplicationWindow::plotXYZ(), and restore().
void Graph3D::animate | ( | bool | on = true |
) | [slot] |
Turns 3D animation on or off
References animation_redraw_wait, and d_timer.
Referenced by copy(), and ApplicationWindow::toggle3DAnimation().
bool Graph3D::autoscale | ( | ) | [inline, slot] |
References d_autoscale.
QColor Graph3D::axesColor | ( | ) | [inline, slot] |
References axesCol.
Referenced by copy(), and Plot3DDialog::setPlot().
QStringList Graph3D::axesLabels | ( | ) | [inline, slot] |
References labels.
Referenced by copy(), and Plot3DDialog::setPlot().
QStringList Graph3D::axisTickLengths | ( | ) | [slot] |
References sp.
Referenced by copy(), save(), and Plot3DDialog::setPlot().
int Graph3D::axisType | ( | int | axis | ) | [inline, slot] |
References scaleType.
Referenced by copy(), and Plot3DDialog::viewScaleLimits().
bool Graph3D::barLines | ( | ) | [inline, slot] |
References d_bar_lines.
Referenced by copy(), and Plot3DDialog::showBarsTab().
double Graph3D::barsRadius | ( | ) | [slot] |
References d_bars_rad, and sp.
Referenced by copy(), and Plot3DDialog::showBarsTab().
QColor Graph3D::bgColor | ( | ) | [inline, slot] |
References bgCol.
Referenced by copy(), and Plot3DDialog::setPlot().
bool Graph3D::boxedCrossHair | ( | ) | [inline, slot] |
References crossHairBoxed.
Referenced by copy(), and Plot3DDialog::setPlot().
void Graph3D::changeDataColumn | ( | Table * | table, | |
const QString & | colName, | |||
int | type = 0 | |||
) | [slot] |
References addData(), addRibbon(), Table::colIndex(), Table::colName(), Table::colX(), Table::colY(), d_autoscale, resetAxesLabels(), resetNonEmptyStyle(), Ribbon, setFilledMeshStyle(), xStart(), xStop(), yStart(), yStop(), zStart(), and zStop().
Referenced by ApplicationWindow::change3DData().
void Graph3D::changeTransparency | ( | double | t | ) | [slot] |
References d_alpha, legendOn, modified(), and sp.
Referenced by Plot3DDialog::changeTransparency(), and Plot3DDialog::updatePlot().
void Graph3D::clearData | ( | ) | [slot] |
References d_func, d_matrix, d_table, d_table_plot_type, NoTable, plotAssociation, and sp.
QwtLinearColorMap Graph3D::colorMap | ( | ) | [inline, slot] |
References d_color_map.
Referenced by copy(), restore(), and Plot3DDialog::setPlot().
QString Graph3D::colorMapFile | ( | ) | [inline, slot] |
References d_color_map_file.
Referenced by copy(), and Plot3DDialog::setPlot().
QwtLinearColorMap* Graph3D::colorMapPointer | ( | ) | [inline, slot] |
References d_color_map.
int Graph3D::coneQuality | ( | ) | [inline, slot] |
References conesQuality.
Referenced by copy(), and Plot3DDialog::setPlot().
double Graph3D::coneRadius | ( | ) | [inline, slot] |
References conesRad.
Referenced by copy(), and Plot3DDialog::setPlot().
Qwt3D::CoordinateSystem* Graph3D::coordinateSystem | ( | ) | [inline, slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), restore(), and Plot3DDialog::updatePlot().
Qwt3D::COORDSTYLE Graph3D::coordStyle | ( | ) | [slot] |
References sp.
Referenced by copy(), ApplicationWindow::custom3DActions(), and Plot3DDialog::setPlot().
void Graph3D::copy | ( | Graph3D * | g | ) | [slot] |
References addFunction(), addMatrixData(), addParametricSurface(), addRibbon(), animate(), antialiasing(), axesColor(), axesLabels(), axisTickLengths(), axisType(), barLines(), barsRadius(), bgColor(), boxedCrossHair(), Table::colIndex(), colorMap(), colorMapFile(), UserParametricSurface::columns(), UserFunction::columns(), coneQuality(), coneRadius(), Cones, conesQuality, conesRad, coordStyle(), crossHairBoxed, crossHairLineWidth, crossHairLinewidth(), crossHairRad, crossHairRadius(), crossHairSmooth, customPlotStyle(), d_bar_lines, d_bars_rad, d_filled_bars, d_point_size, d_smooth_points, Dots, filledBars(), floorStyle(), formula(), UserFunction::function(), grids(), HairCross, isAnimated(), isLegendOn(), isOrthogonal(), labelColor(), labelsDistance(), loadData(), matrix(), meshColor(), meshLineWidth(), None, numbersFont(), numColor(), parametricSurface(), plotStyle(), plotTitle(), pointsSize(), pointStyle, pointType(), resetAxesType(), resolution(), UserParametricSurface::rows(), UserFunction::rows(), scaleTicks(), scaleType, setAxesColor(), setAxesLabels(), setBackgroundColor(), setBarRadius(), setConeOptions(), setCrossOptions(), setDataColorMap(), setGrid(), setLabelsColor(), setMeshColor(), setMeshLineWidth(), setNumbersColor(), setNumbersFont(), setOptions(), setOrthogonal(), setRotation(), setScale(), setShift(), setTickLengths(), setTicks(), setTitle(), setTransparency(), setXAxisLabelFont(), setYAxisLabelFont(), setZAxisLabelFont(), setZoom(), smoothCrossHair(), smoothPoints(), sp, style_, surface(), table(), titleColor(), titleFont(), transparency(), UserParametricSurface::uEnd(), UserParametricSurface::uPeriodic(), userFunction(), UserParametricSurface::uStart(), UserParametricSurface::vEnd(), VerticalBars, UserParametricSurface::vPeriodic(), UserParametricSurface::vStart(), xAxisLabelFont(), UserParametricSurface::xFormula(), xRotation(), xScale(), xShift(), xStart(), xStop(), yAxisLabelFont(), UserParametricSurface::yFormula(), yRotation(), yScale(), yShift(), yStart(), yStop(), zAxisLabelFont(), UserParametricSurface::zFormula(), zoom(), zRotation(), zScale(), zShift(), zStart(), and zStop().
void Graph3D::copyImage | ( | ) | [slot] |
References sp.
double Graph3D::crossHairLinewidth | ( | ) | [inline, slot] |
References crossHairLineWidth.
Referenced by copy(), and Plot3DDialog::setPlot().
double Graph3D::crossHairRadius | ( | ) | [inline, slot] |
References crossHairRad.
Referenced by copy(), and Plot3DDialog::setPlot().
void Graph3D::customPlotStyle | ( | int | style | ) | [slot] |
References d_bars_rad, d_point_size, d_smooth_points, Dots, legendOn, None, pointStyle, sp, style_, and VerticalBars.
Referenced by copy(), ImportOPJ::importGraph3D(), and ApplicationWindow::plot3DMatrix().
void Graph3D::dragEnterEvent | ( | QDragEnterEvent * | e | ) | [slot] |
void Graph3D::dropEvent | ( | QDropEvent * | event | ) | [slot] |
References addData(), addMatrixData(), Table::colIndex(), Table::colPlotDesignation(), Table::colX(), Table::colY(), Trajectory, and Table::Z.
bool Graph3D::eventFilter | ( | QObject * | object, | |
QEvent * | e | |||
) | [slot] |
Filters other object's events (customizes title bar's context menu).
Reimplemented from MdiSubWindow.
References showOptionsDialog(), sp, and TRUE.
void Graph3D::exportImage | ( | const QString & | fileName, | |
int | quality = 100 , |
|||
bool | transparent = false , |
|||
int | dpi = 0 , |
|||
const QSizeF & | customSize = QSizeF() , |
|||
int | unit = FrameWidget::Pixel , |
|||
double | fontsFactor = 1.0 | |||
) | [slot] |
void Graph3D::exportImage | ( | QTextDocument * | document, | |
int | quality, | |||
bool | transparent, | |||
int | dpi, | |||
const QSizeF & | customSize, | |||
int | unit, | |||
double | fontsFactor | |||
) | [slot] |
References Graph::customPrintSize(), scaleFonts(), and sp.
Referenced by ApplicationWindow::exportAllGraphs(), and exportToFile().
void Graph3D::exportPDF | ( | const QString & | fileName | ) | [virtual, slot] |
Reimplemented from MdiSubWindow.
References exportVector().
void Graph3D::exportToFile | ( | const QString & | fileName | ) | [slot] |
References exportImage(), and exportVector().
void Graph3D::exportVector | ( | const QString & | fileName, | |
int | textExportMode = 0 , |
|||
int | sortMode = 1 , |
|||
const QSizeF & | customSize = QSizeF() , |
|||
int | unit = FrameWidget::Pixel , |
|||
double | fontsFactor = 1.0 | |||
) | [slot] |
References Graph::customPrintSize(), save(), scaleFonts(), and sp.
Referenced by ApplicationWindow::exportAllGraphs(), exportPDF(), and exportToFile().
bool Graph3D::filledBars | ( | ) | [inline, slot] |
References d_filled_bars.
Referenced by copy(), and Plot3DDialog::showBarsTab().
void Graph3D::findBestLayout | ( | ) | [slot] |
References setAxisTickLength(), sp, xScale(), yScale(), and zScale().
Referenced by addData(), addFunction(), addMatrixData(), addParametricSurface(), addRibbon(), ApplicationWindow::fitFrameToLayer(), setScales(), updateData(), and updateMatrixData().
Qwt3D::FLOORSTYLE Graph3D::floorStyle | ( | ) | [slot] |
References sp.
Referenced by copy(), and ApplicationWindow::custom3DActions().
QString Graph3D::formula | ( | ) | [slot] |
References d_func, UserFunction::function(), and plotAssociation.
Referenced by copy(), restore(), ApplicationWindow::showWindowPopupMenu(), and ApplicationWindow::updateCurves().
QColor Graph3D::gridColor | ( | ) | [inline, slot] |
References gridCol.
int Graph3D::grids | ( | ) | [slot] |
References sp.
Referenced by copy(), ApplicationWindow::custom3DActions(), and Plot3DDialog::setPlot().
bool Graph3D::hasData | ( | ) | [inline, slot] |
References sp.
Referenced by ApplicationWindow::clone(), ApplicationWindow::editSurfacePlot(), ApplicationWindow::showPlot3dDialog(), and ApplicationWindow::showWindowContextMenu().
void Graph3D::initCoord | ( | ) | [slot] |
Referenced by initPlot().
void Graph3D::initPlot | ( | ) | [slot] |
References animation_redraw_wait, MdiSubWindow::applicationWindow(), col_, conesQuality, conesRad, crossHairBoxed, crossHairLineWidth, crossHairRad, crossHairSmooth, ApplicationWindow::d_3D_autoscale, ApplicationWindow::d_3D_axes_color, ApplicationWindow::d_3D_axes_font, ApplicationWindow::d_3D_background_color, ApplicationWindow::d_3D_color_map, ApplicationWindow::d_3D_grid_color, ApplicationWindow::d_3D_labels_color, ApplicationWindow::d_3D_legend, ApplicationWindow::d_3D_major_grids, ApplicationWindow::d_3D_major_style, ApplicationWindow::d_3D_major_width, ApplicationWindow::d_3D_mesh_color, ApplicationWindow::d_3D_minor_grid_color, ApplicationWindow::d_3D_minor_grids, ApplicationWindow::d_3D_minor_style, ApplicationWindow::d_3D_minor_width, ApplicationWindow::d_3D_numbers_color, ApplicationWindow::d_3D_numbers_font, ApplicationWindow::d_3D_orthogonal, ApplicationWindow::d_3D_projection, ApplicationWindow::d_3D_resolution, ApplicationWindow::d_3D_smooth_mesh, ApplicationWindow::d_3D_title_font, d_alpha, d_autoscale, d_bar_lines, d_bars_rad, d_color_map, d_color_map_file, d_filled_bars, d_func, d_matrix, d_point_size, d_smooth_points, d_surface, d_table, d_table_plot_type, d_timer, ignoreFonts, initCoord(), labelsDist, legendMajorTicks, legendOn, None, NoTable, plotAssociation, pointStyle, rotate(), rotationChanged(), scaleChanged(), scaleType, setAxesColor(), setBackgroundColor(), setLabelsColor(), setMeshColor(), setNumbersColor(), setNumbersFont(), setXAxisLabelFont(), setYAxisLabelFont(), setZAxisLabelFont(), shiftChanged(), sp, style_, title, titleCol, titleFnt, and zoomChanged().
Referenced by Graph3D().
void Graph3D::insertNewData | ( | Table * | table, | |
const QString & | colName | |||
) | [slot] |
References addData(), Table::colIndex(), Table::colX(), Table::colY(), Trajectory, and update().
Referenced by ApplicationWindow::insertNew3DData().
bool Graph3D::isAnimated | ( | ) | [inline, slot] |
References d_timer.
Referenced by copy(), and ApplicationWindow::custom3DActions().
bool Graph3D::isLegendOn | ( | ) | [inline, slot] |
References legendOn.
Referenced by copy(), and Plot3DDialog::setPlot().
bool Graph3D::isOrthogonal | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), ApplicationWindow::custom3DActions(), and Plot3DDialog::setPlot().
QColor Graph3D::labelColor | ( | ) | [inline, slot] |
References labelsCol.
Referenced by copy(), and Plot3DDialog::setPlot().
int Graph3D::labelsDistance | ( | ) | [inline, slot] |
References labelsDist.
Referenced by copy(), and Plot3DDialog::setPlot().
void Graph3D::loadData | ( | Table * | table, | |
int | xCol, | |||
int | yCol, | |||
int | zCol, | |||
double | xl = 0.0 , |
|||
double | xr = 0.0 , |
|||
double | yl = 0.0 , |
|||
double | yr = 0.0 , |
|||
double | zl = 0.0 , |
|||
double | zr = 0.0 | |||
) | [slot] |
References Table::cell(), Table::colName(), d_matrix, d_table, legendMajorTicks, Table::numRows(), plotAssociation, sp, and Table::text().
Referenced by addData(), copy(), restore(), setScales(), and updateData().
Matrix* Graph3D::matrix | ( | ) | [inline, slot] |
References d_matrix.
Referenced by ApplicationWindow::change3DMatrix(), copy(), Plot3DDialog::setPlot(), ApplicationWindow::showWindowContextMenu(), and ApplicationWindow::showWindowPopupMenu().
QColor Graph3D::meshColor | ( | ) | [inline, slot] |
References meshCol.
Referenced by copy(), and Plot3DDialog::setPlot().
double Graph3D::meshLineWidth | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), and Plot3DDialog::setPlot().
void Graph3D::modified | ( | ) | [signal] |
QFont Graph3D::numbersFont | ( | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), and Plot3DDialog::setPlot().
QColor Graph3D::numColor | ( | ) | [inline, slot] |
References numCol.
Referenced by copy(), and Plot3DDialog::setPlot().
bool Graph3D::openColorMapFile | ( | ColorVector & | cv, | |
QString | fname | |||
) | [static, slot] |
Referenced by Plot3DDialog::setColorMapPreview(), setDataColorMap(), and ColorMapPreviewDialog::updatePreview().
UserParametricSurface* Graph3D::parametricSurface | ( | ) | [inline, slot] |
References d_surface.
Referenced by copy(), ApplicationWindow::editSurfacePlot(), SurfaceDialog::setParametricSurface(), Plot3DDialog::setPlot(), and ApplicationWindow::showWindowContextMenu().
Qwt3D::PLOTSTYLE Graph3D::plotStyle | ( | ) | [slot] |
References sp.
Referenced by copy(), ApplicationWindow::custom3DActions(), and Plot3DDialog::setPlot().
QString Graph3D::plotTitle | ( | ) | [inline, slot] |
References title.
Referenced by copy(), and Plot3DDialog::setPlot().
double Graph3D::pointsSize | ( | ) | [inline, slot] |
References d_point_size.
Referenced by copy(), and Plot3DDialog::setPlot().
PointStyle Graph3D::pointType | ( | ) | [inline, slot] |
References pointStyle.
Referenced by copy(), ApplicationWindow::custom3DActions(), and Plot3DDialog::setPlot().
void Graph3D::print | ( | QPrinter * | printer | ) | [virtual, slot] |
Reimplemented from MdiSubWindow.
References sp.
void Graph3D::print | ( | ) | [virtual, slot] |
Reimplemented from MdiSubWindow.
void Graph3D::resetAxesLabels | ( | ) | [slot] |
Referenced by changeDataColumn(), setScales(), and update().
void Graph3D::resetAxesType | ( | ) | [private] |
Referenced by copy(), restore(), and setScale().
void Graph3D::resetNonEmptyStyle | ( | ) | [slot] |
References Cones, conesQuality, conesRad, crossHairBoxed, crossHairLineWidth, crossHairRad, crossHairSmooth, d_bars_rad, d_point_size, d_smooth_points, Dots, HairCross, None, pointStyle, sp, style_, and VerticalBars.
Referenced by changeDataColumn(), updateData(), and updateDataXY().
void Graph3D::resizeEvent | ( | QResizeEvent * | e | ) | [slot] |
Reimplemented from MdiSubWindow.
References ignoreFonts, modified(), MdiSubWindow::resizedWindow(), and scaleFonts().
int Graph3D::resolution | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), and Plot3DDialog::setPlot().
Graph3D * Graph3D::restore | ( | ApplicationWindow * | app, | |
const QStringList & | lst, | |||
int | fileVersion | |||
) | [static] |
References addFunction(), addMatrixData(), addParametricSurface(), addRibbon(), Table::colIndex(), colorMap(), coordinateSystem(), formula(), loadData(), ApplicationWindow::matrix(), ApplicationWindow::newPlot3D(), resetAxesType(), ApplicationWindow::restoreWindowGeometry(), setAxesColor(), setAxesLabels(), setAxisType(), setBackgroundColor(), MdiSubWindow::setBirthDate(), MdiSubWindow::setCaptionPolicy(), setDataColorMap(), setDataColors(), setGrid(), setGridColor(), setIgnoreFonts(), setLabelsColor(), ApplicationWindow::setListViewDate(), setMeshColor(), setMeshLineWidth(), setNumbersColor(), setNumbersFont(), setOptions(), setOrthogonal(), setRotation(), setScale(), setShift(), setStyle(), setTickLengths(), setTicks(), setTitle(), setTransparency(), MdiSubWindow::setWindowLabel(), setXAxisLabelFont(), setYAxisLabelFont(), setZAxisLabelFont(), setZoom(), ApplicationWindow::table(), and update().
Referenced by ApplicationWindow::appendProject(), ApplicationWindow::openProject(), and ApplicationWindow::openTemplate().
void Graph3D::rotate | ( | ) | [slot] |
Used for the animation: rotates the scene with 1/360 degrees.
References sp.
Referenced by initPlot().
void Graph3D::rotationChanged | ( | double | , | |
double | , | |||
double | ||||
) | [slot] |
References modified().
Referenced by initPlot().
void Graph3D::save | ( | const QString & | fn, | |
const QString & | geometry, | |||
bool | = false | |||
) | [virtual, slot] |
Reimplemented from MdiSubWindow.
References axesCol, axisTickLengths(), bgCol, MdiSubWindow::birthDate(), MdiSubWindow::captionPolicy(), UserParametricSurface::columns(), UserFunction::columns(), Cones, conesQuality, conesRad, crossHairBoxed, crossHairLineWidth, crossHairRad, crossHairSmooth, d_alpha, d_bar_lines, d_bars_rad, d_color_map, d_color_map_file, d_filled_bars, d_func, d_point_size, d_smooth_points, d_surface, Dots, UserFunction::function(), gridCol, HairCross, labels, labelsCol, labelsDist, legendOn, meshCol, MdiSubWindow::name(), numCol, plotAssociation, pointStyle, UserParametricSurface::rows(), UserFunction::rows(), ColorMapEditor::saveToXmlString(), scaleTicks(), scaleType, sp, title, titleCol, titleFnt, UserParametricSurface::uEnd(), UserParametricSurface::uPeriodic(), UserParametricSurface::uStart(), UserParametricSurface::vEnd(), VerticalBars, UserParametricSurface::vPeriodic(), UserParametricSurface::vStart(), MdiSubWindow::windowLabel(), UserParametricSurface::xFormula(), UserParametricSurface::yFormula(), and UserParametricSurface::zFormula().
Referenced by exportVector().
void Graph3D::scaleChanged | ( | double | , | |
double | , | |||
double | ||||
) | [slot] |
References modified().
Referenced by initPlot().
void Graph3D::scaleFonts | ( | double | factor | ) | [slot] |
References setXAxisLabelFont(), setYAxisLabelFont(), setZAxisLabelFont(), sp, titleFnt, xAxisLabelFont(), yAxisLabelFont(), and zAxisLabelFont().
Referenced by exportImage(), exportVector(), and resizeEvent().
void Graph3D::setAntialiasing | ( | bool | smooth = true |
) | [slot] |
References Bars, d_table_plot_type, pointStyle, setBarStyle(), sp, and VerticalBars.
Referenced by ApplicationWindow::setPlot3DOptions().
void Graph3D::setAutoscale | ( | bool | on = true |
) | [inline, slot] |
Enables/Disables autoscaling using findBestLayout().
References d_autoscale.
Referenced by ApplicationWindow::setPlot3DOptions().
void Graph3D::setAxesColor | ( | const QColor & | axesColor | ) | [slot] |
Referenced by copy(), initPlot(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setAxesLabels | ( | const QStringList & | lst | ) | [slot] |
void Graph3D::setAxisTickLength | ( | int | axis, | |
double | majorLength, | |||
double | minorLength | |||
) | [slot] |
References sp.
Referenced by findBestLayout().
void Graph3D::setAxisType | ( | int | axis, | |
int | type | |||
) | [slot] |
void Graph3D::setBackGrid | ( | bool | b = true |
) | [slot] |
References setGrid().
Referenced by ApplicationWindow::setBackGrid3DPlot().
void Graph3D::setBackgroundColor | ( | const QColor & | bgColor | ) | [slot] |
Referenced by copy(), ImportOPJ::importGraph3D(), initPlot(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setBarLines | ( | bool | lines = true |
) | [slot] |
References d_bar_lines.
Referenced by Plot3DDialog::updatePlot().
void Graph3D::setBarRadius | ( | double | rad | ) | [slot] |
References d_bars_rad.
Referenced by copy(), and Plot3DDialog::updatePlot().
void Graph3D::setBarStyle | ( | ) | [slot] |
References MdiSubWindow::applicationWindow(), Bars, d_bar_lines, d_bars_rad, d_filled_bars, d_table_plot_type, pointStyle, sp, style_, and VerticalBars.
Referenced by addData(), setAntialiasing(), ApplicationWindow::setBars3DPlot(), setStyle(), and Plot3DDialog::updatePlot().
void Graph3D::setBoxed | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::setBoxed3DPlot().
void Graph3D::setCeilGrid | ( | bool | b = true |
) | [slot] |
References setGrid().
Referenced by ApplicationWindow::setCeilGrid3DPlot().
void Graph3D::setConeOptions | ( | double | rad, | |
int | quality | |||
) | [slot] |
References conesQuality, and conesRad.
Referenced by copy(), and Plot3DDialog::updatePlot().
void Graph3D::setConeStyle | ( | ) | [slot] |
References Cones, conesQuality, conesRad, pointStyle, sp, and style_.
Referenced by ApplicationWindow::setCones3DPlot(), setStyle(), and Plot3DDialog::updatePlot().
void Graph3D::setCrossOptions | ( | double | rad, | |
double | linewidth, | |||
bool | smooth, | |||
bool | boxed | |||
) | [slot] |
References crossHairBoxed, crossHairLineWidth, crossHairRad, and crossHairSmooth.
Referenced by copy(), and Plot3DDialog::updatePlot().
void Graph3D::setCrossStyle | ( | ) | [slot] |
References crossHairBoxed, crossHairLineWidth, crossHairRad, crossHairSmooth, HairCross, pointStyle, sp, and style_.
Referenced by ApplicationWindow::setCrosses3DPlot(), setStyle(), and Plot3DDialog::updatePlot().
void Graph3D::setDataColorMap | ( | const ColorVector & | colors, | |
const QwtLinearColorMap & | colorMap | |||
) | [slot] |
References d_color_map, d_color_map_file, and setDataColorMap().
void Graph3D::setDataColorMap | ( | const ColorVector & | colors | ) | [slot] |
void Graph3D::setDataColorMap | ( | const QString & | fileName | ) | [slot] |
References d_color_map_file, openColorMapFile(), and setDataColorMap().
void Graph3D::setDataColorMap | ( | const QwtLinearColorMap & | colorMap | ) | [slot] |
References col_, d_alpha, d_color_map, d_color_map_file, legendOn, and sp.
Referenced by ApplicationWindow::addRibbon(), copy(), ImportOPJ::importGraph3D(), Plot3DDialog::pickDataColorMap(), ApplicationWindow::plot3DMatrix(), PlotWizard::plot3DRibbon(), ApplicationWindow::plotParametricSurface(), ApplicationWindow::plotSurface(), ApplicationWindow::plotXYZ(), restore(), setDataColorMap(), setDataColors(), and Plot3DDialog::updatePlot().
void Graph3D::setDataColors | ( | const QColor & | cMin, | |
const QColor & | cMax | |||
) | [inline, slot] |
References setDataColorMap().
Referenced by ImportOPJ::importGraph3D(), and restore().
void Graph3D::setDotOptions | ( | double | size, | |
bool | smooth | |||
) | [slot] |
References d_point_size, and d_smooth_points.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setDotStyle | ( | ) | [slot] |
References d_point_size, d_smooth_points, Dots, pointStyle, sp, and style_.
Referenced by addData(), ApplicationWindow::setPoints3DPlot(), setStyle(), and Plot3DDialog::updatePlot().
void Graph3D::setEmptyFloor | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::setEmptyFloor3DPlot().
void Graph3D::setFilledBars | ( | bool | filled = true |
) | [slot] |
References d_filled_bars.
Referenced by Plot3DDialog::updatePlot().
void Graph3D::setFilledMeshStyle | ( | ) | [slot] |
References None, pointStyle, sp, and style_.
Referenced by changeDataColumn(), ApplicationWindow::setFilledMesh3DPlot(), and setStyle().
void Graph3D::setFloorData | ( | ) | [slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), and ApplicationWindow::setFloorData3DPlot().
void Graph3D::setFloorGrid | ( | bool | b = true |
) | [slot] |
References setGrid().
Referenced by ApplicationWindow::setFloorGrid3DPlot().
void Graph3D::setFloorIsolines | ( | ) | [slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), and ApplicationWindow::setFloorIso3DPlot().
void Graph3D::setFramed | ( | ) | [slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), and ApplicationWindow::setFramed3DPlot().
void Graph3D::setFrontGrid | ( | bool | b = true |
) | [slot] |
References setGrid().
Referenced by ApplicationWindow::setFrontGrid3DPlot().
void Graph3D::setGrid | ( | int | grids | ) | [slot] |
References sp.
void Graph3D::setGrid | ( | Qwt3D::SIDE | s, | |
bool | b | |||
) | [slot] |
References modified(), and sp.
Referenced by copy(), restore(), setBackGrid(), setCeilGrid(), setFloorGrid(), setFrontGrid(), setLeftGrid(), and setRightGrid().
void Graph3D::setGridColor | ( | const QColor & | gridColor | ) | [slot] |
void Graph3D::setHiddenLineStyle | ( | ) | [slot] |
References legendOn, None, pointStyle, sp, and style_.
Referenced by ApplicationWindow::setHiddenLineGrid3DPlot(), and setStyle().
void Graph3D::setIgnoreFonts | ( | bool | ok | ) | [inline, slot] |
References ignoreFonts.
Referenced by restore().
void Graph3D::setLabelsColor | ( | const QColor & | labelColor | ) | [slot] |
Referenced by copy(), initPlot(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setLabelsDistance | ( | int | val | ) | [slot] |
References labelsDist, modified(), and sp.
Referenced by setOptions(), and Plot3DDialog::updatePlot().
void Graph3D::setLeftGrid | ( | bool | b = true |
) | [slot] |
References setGrid().
Referenced by ApplicationWindow::setLeftGrid3DPlot().
void Graph3D::setMeshColor | ( | const QColor & | meshColor | ) | [slot] |
Referenced by copy(), ImportOPJ::importGraph3D(), initPlot(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setMeshLineWidth | ( | double | lw | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setNoAxes | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::removeAxes3DPlot().
void Graph3D::setNumbersColor | ( | const QColor & | numColor | ) | [slot] |
Referenced by copy(), initPlot(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setNumbersFont | ( | const QFont & | font | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), initPlot(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setOptions | ( | const QStringList & | lst | ) | [slot] |
References legendOn, setLabelsDistance(), and sp.
void Graph3D::setOptions | ( | bool | legend, | |
int | r, | |||
int | dist | |||
) | [slot] |
References legendOn, setLabelsDistance(), and sp.
void Graph3D::setOrthogonal | ( | bool | on = true |
) | [inline, slot] |
References sp.
Referenced by copy(), restore(), ApplicationWindow::setPlot3DOptions(), and ApplicationWindow::togglePerspective().
void Graph3D::setPlotAssociation | ( | const QString & | s | ) | [inline, slot] |
References plotAssociation.
void Graph3D::setPolygonStyle | ( | ) | [slot] |
References None, pointStyle, sp, and style_.
Referenced by ApplicationWindow::removeGrid3DPlot(), and setStyle().
void Graph3D::setResolution | ( | int | r | ) | [slot] |
References modified(), and sp.
Referenced by Plot3DDialog::updatePlot().
void Graph3D::setRightGrid | ( | bool | b = true |
) | [slot] |
References setGrid().
Referenced by ApplicationWindow::setRightGrid3DPlot().
void Graph3D::setRotation | ( | double | xVal, | |
double | yVal, | |||
double | zVal | |||
) | [slot] |
References sp.
Referenced by copy(), ApplicationWindow::resetRotation(), and restore().
void Graph3D::setScale | ( | int | axis, | |
double | start, | |||
double | end, | |||
int | majorTicks, | |||
int | minorTicks, | |||
Qwt3D::SCALETYPE | type | |||
) | [slot] |
References d_func, d_surface, modified(), resetAxesType(), scaleType, setScales(), sp, and update().
void Graph3D::setScale | ( | double | xVal, | |
double | yVal, | |||
double | zVal | |||
) | [slot] |
References sp.
Referenced by Plot3DDialog::changeZoom(), copy(), ImportOPJ::importGraph3D(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::setScales | ( | double | xl, | |
double | xr, | |||
double | yl, | |||
double | yr, | |||
double | zl, | |||
double | zr | |||
) | [slot] |
References Table::colIndex(), d_func, d_matrix, d_table, findBestLayout(), loadData(), MdiSubWindow::name(), plotAssociation, resetAxesLabels(), sp, updateScales(), and updateScalesFromMatrix().
Referenced by setScale().
void Graph3D::setShift | ( | double | xVal, | |
double | yVal, | |||
double | zVal | |||
) | [slot] |
void Graph3D::setStyle | ( | const QStringList & | st | ) | [slot] |
References conesQuality, conesRad, crossHairBoxed, crossHairLineWidth, crossHairRad, crossHairSmooth, d_bar_lines, d_bars_rad, d_filled_bars, d_point_size, d_smooth_points, setBarStyle(), setConeStyle(), setCrossStyle(), setDotStyle(), setFilledMeshStyle(), setHiddenLineStyle(), setPolygonStyle(), setWireframeStyle(), and sp.
Referenced by restore().
void Graph3D::setTickLengths | ( | const QStringList & | lst | ) | [slot] |
void Graph3D::setTicks | ( | const QStringList & | options | ) | [slot] |
void Graph3D::setTitle | ( | const QString & | s, | |
const QColor & | color = QColor(Qt::black) , |
|||
const QFont & | font = QFont() | |||
) | [slot] |
void Graph3D::setTitle | ( | const QStringList & | lst | ) | [slot] |
void Graph3D::setTransparency | ( | double | t | ) | [slot] |
void Graph3D::setWireframeStyle | ( | ) | [slot] |
References legendOn, None, pointStyle, sp, and style_.
Referenced by addData(), ApplicationWindow::setLineGrid3DPlot(), and setStyle().
void Graph3D::setXAxisLabel | ( | const QString & | label | ) | [slot] |
References labels, modified(), and sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setXAxisLabelFont | ( | const QStringList & | lst | ) | [slot] |
References sp.
void Graph3D::setXAxisLabelFont | ( | const QFont & | fnt | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), initPlot(), restore(), scaleFonts(), and Plot3DDialog::updatePlot().
void Graph3D::setXAxisTickLength | ( | double | majorLength, | |
double | minorLength | |||
) | [slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setYAxisLabel | ( | const QString & | label | ) | [slot] |
References labels, modified(), and sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setYAxisLabelFont | ( | const QStringList & | lst | ) | [slot] |
References sp.
void Graph3D::setYAxisLabelFont | ( | const QFont & | fnt | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), initPlot(), restore(), scaleFonts(), and Plot3DDialog::updatePlot().
void Graph3D::setYAxisTickLength | ( | double | majorLength, | |
double | minorLength | |||
) | [slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setZAxisLabel | ( | const QString & | label | ) | [slot] |
References labels, modified(), and sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setZAxisLabelFont | ( | const QStringList & | lst | ) | [slot] |
References sp.
void Graph3D::setZAxisLabelFont | ( | const QFont & | fnt | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), initPlot(), restore(), scaleFonts(), and Plot3DDialog::updatePlot().
void Graph3D::setZAxisTickLength | ( | double | majorLength, | |
double | minorLength | |||
) | [slot] |
References sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::setZoom | ( | double | val | ) | [slot] |
References sp.
Referenced by Plot3DDialog::changeZoom(), copy(), restore(), and Plot3DDialog::updatePlot().
void Graph3D::shiftChanged | ( | double | , | |
double | , | |||
double | ||||
) | [slot] |
References modified().
Referenced by initPlot().
void Graph3D::showColorLegend | ( | bool | show = true |
) | [slot] |
References legendOn, modified(), and sp.
Referenced by ImportOPJ::importGraph3D(), and Plot3DDialog::updatePlot().
void Graph3D::showOptionsDialog | ( | ) | [signal] |
Referenced by eventFilter().
void Graph3D::showWorksheet | ( | ) | [slot] |
References d_matrix, and d_table.
Referenced by Plot3DDialog::worksheet().
bool Graph3D::smoothCrossHair | ( | ) | [inline, slot] |
References crossHairSmooth.
Referenced by copy(), and Plot3DDialog::setPlot().
bool Graph3D::smoothPoints | ( | ) | [inline, slot] |
References d_smooth_points.
Referenced by copy(), and Plot3DDialog::setPlot().
Qwt3D::SurfacePlot* Graph3D::surface | ( | ) | [inline] |
References sp.
Referenced by copy(), ApplicationWindow::initPlot3D(), Plot3DDialog::setPlot(), and Plot3DDialog::viewScaleLimits().
Table* Graph3D::table | ( | ) | [inline, slot] |
References d_table.
Referenced by copy(), Plot3DDialog::setPlot(), and ApplicationWindow::showWindowContextMenu().
PlotType Graph3D::tablePlotType | ( | ) | [inline, slot] |
References d_table_plot_type.
Referenced by ApplicationWindow::change3DData().
QColor Graph3D::titleColor | ( | ) | [inline, slot] |
References titleCol.
Referenced by copy(), and Plot3DDialog::setPlot().
QFont Graph3D::titleFont | ( | ) | [inline, slot] |
References titleFnt.
Referenced by copy(), and Plot3DDialog::setPlot().
double Graph3D::transparency | ( | ) | [inline, slot] |
References d_alpha.
Referenced by copy(), and Plot3DDialog::setPlot().
void Graph3D::update | ( | ) | [slot] |
References resetAxesLabels(), and sp.
Referenced by addFunction(), addMatrixData(), addParametricSurface(), ApplicationWindow::addRibbon(), Plot3DDialog::changeTransparency(), Plot3DDialog::changeZoom(), insertNewData(), ApplicationWindow::plot3DMatrix(), PlotWizard::plot3DRibbon(), ApplicationWindow::plotParametricSurface(), ApplicationWindow::plotSurface(), ApplicationWindow::plotXYZ(), restore(), setScale(), updateData(), updateDataXY(), updateMatrixData(), Plot3DDialog::updatePlot(), and updateScalesFromMatrix().
void Graph3D::updateData | ( | Table * | table | ) | [slot] |
References Table::colIndex(), d_autoscale, d_func, findBestLayout(), loadData(), MdiSubWindow::name(), plotAssociation, resetNonEmptyStyle(), update(), and updateDataXY().
Referenced by ApplicationWindow::updateCurves().
void Graph3D::updateDataXY | ( | Table * | table, | |
int | xCol, | |||
int | yCol | |||
) | [slot] |
References Matrix::allocateMatrixData(), Table::cell(), Matrix::freeMatrixData(), legendMajorTicks, Table::numRows(), resetNonEmptyStyle(), sp, Table::text(), and update().
Referenced by updateData().
void Graph3D::updateMatrixData | ( | Matrix * | m | ) | [slot] |
void Graph3D::updateScales | ( | double | xl, | |
double | xr, | |||
double | yl, | |||
double | yr, | |||
double | zl, | |||
double | zr, | |||
int | xcol, | |||
int | ycol | |||
) | [slot] |
References Matrix::allocateMatrixData(), Table::cell(), d_table, Matrix::freeMatrixData(), Table::numRows(), sp, and Table::text().
Referenced by setScales().
void Graph3D::updateScalesFromMatrix | ( | double | xl, | |
double | xr, | |||
double | yl, | |||
double | yr, | |||
double | zl, | |||
double | zr | |||
) | [slot] |
References Matrix::allocateMatrixData(), Matrix::cell(), d_matrix, Matrix::dx(), Matrix::dy(), Matrix::freeMatrixData(), legendMajorTicks, sp, update(), Matrix::xEnd(), Matrix::xStart(), xStart(), Matrix::yEnd(), Matrix::yStart(), and yStart().
Referenced by addMatrixData(), and setScales().
UserFunction* Graph3D::userFunction | ( | ) | [inline, slot] |
References d_func.
Referenced by copy(), ApplicationWindow::editSurfacePlot(), SurfaceDialog::setFunction(), Plot3DDialog::setPlot(), and ApplicationWindow::showWindowContextMenu().
QFont Graph3D::xAxisLabelFont | ( | ) | [slot] |
References sp.
Referenced by copy(), ImportOPJ::importGraph3D(), scaleFonts(), and Plot3DDialog::setPlot().
double Graph3D::xScale | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), findBestLayout(), and Plot3DDialog::setPlot().
double Graph3D::xStart | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::change3DMatrix(), changeDataColumn(), copy(), SurfaceDialog::setFunction(), and updateScalesFromMatrix().
double Graph3D::xStop | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::change3DMatrix(), changeDataColumn(), copy(), and SurfaceDialog::setFunction().
QFont Graph3D::yAxisLabelFont | ( | ) | [slot] |
References sp.
Referenced by copy(), scaleFonts(), and Plot3DDialog::setPlot().
double Graph3D::yScale | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), findBestLayout(), and Plot3DDialog::setPlot().
double Graph3D::yStart | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::change3DMatrix(), changeDataColumn(), copy(), SurfaceDialog::setFunction(), and updateScalesFromMatrix().
double Graph3D::yStop | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::change3DMatrix(), changeDataColumn(), copy(), and SurfaceDialog::setFunction().
QFont Graph3D::zAxisLabelFont | ( | ) | [slot] |
References sp.
Referenced by copy(), scaleFonts(), and Plot3DDialog::setPlot().
double Graph3D::zoom | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), and Plot3DDialog::setPlot().
void Graph3D::zoomChanged | ( | double | ) | [slot] |
References modified().
Referenced by initPlot().
double Graph3D::zScale | ( | ) | [inline, slot] |
References sp.
Referenced by copy(), findBestLayout(), and Plot3DDialog::setPlot().
double Graph3D::zStart | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::change3DMatrix(), changeDataColumn(), copy(), SurfaceDialog::setFunction(), and Plot3DDialog::setPlot().
double Graph3D::zStop | ( | ) | [slot] |
References sp.
Referenced by ApplicationWindow::change3DMatrix(), changeDataColumn(), copy(), SurfaceDialog::setFunction(), and Plot3DDialog::setPlot().
int Graph3D::animation_redraw_wait [private] |
Wait this many msecs before redraw 3D plot (used for animations).
Referenced by animate(), and initPlot().
QColor Graph3D::axesCol [private] |
Referenced by axesColor(), save(), and setAxesColor().
QColor Graph3D::bgCol [private] |
Referenced by bgColor(), save(), and setBackgroundColor().
Qwt3D::StandardColor* Graph3D::col_ [private] |
Referenced by initPlot(), and setDataColorMap().
int Graph3D::conesQuality [private] |
Referenced by coneQuality(), copy(), initPlot(), resetNonEmptyStyle(), save(), setConeOptions(), setConeStyle(), and setStyle().
double Graph3D::conesRad [private] |
Referenced by coneRadius(), copy(), initPlot(), resetNonEmptyStyle(), save(), setConeOptions(), setConeStyle(), and setStyle().
bool Graph3D::crossHairBoxed [private] |
Referenced by boxedCrossHair(), copy(), initPlot(), resetNonEmptyStyle(), save(), setCrossOptions(), setCrossStyle(), and setStyle().
double Graph3D::crossHairLineWidth [private] |
Referenced by copy(), crossHairLinewidth(), initPlot(), resetNonEmptyStyle(), save(), setCrossOptions(), setCrossStyle(), and setStyle().
double Graph3D::crossHairRad [private] |
Referenced by copy(), crossHairRadius(), initPlot(), resetNonEmptyStyle(), save(), setCrossOptions(), setCrossStyle(), and setStyle().
bool Graph3D::crossHairSmooth [private] |
Referenced by copy(), initPlot(), resetNonEmptyStyle(), save(), setCrossOptions(), setCrossStyle(), setStyle(), and smoothCrossHair().
double Graph3D::d_alpha [private] |
Transparency.
Referenced by changeTransparency(), initPlot(), save(), setDataColorMap(), setTransparency(), and transparency().
bool Graph3D::d_autoscale [private] |
Referenced by addMatrixData(), addRibbon(), autoscale(), changeDataColumn(), initPlot(), setAutoscale(), updateData(), and updateMatrixData().
bool Graph3D::d_bar_lines [private] |
Referenced by barLines(), copy(), initPlot(), save(), setBarLines(), setBarStyle(), and setStyle().
double Graph3D::d_bars_rad [private] |
Referenced by barsRadius(), copy(), customPlotStyle(), initPlot(), resetNonEmptyStyle(), save(), setBarRadius(), setBarStyle(), and setStyle().
QwtLinearColorMap Graph3D::d_color_map [private] |
Referenced by colorMap(), colorMapPointer(), initPlot(), save(), and setDataColorMap().
QString Graph3D::d_color_map_file [private] |
File name of the color map used for the data (if any).
Referenced by colorMapFile(), initPlot(), save(), and setDataColorMap().
bool Graph3D::d_filled_bars [private] |
Referenced by copy(), filledBars(), initPlot(), save(), setBarStyle(), setFilledBars(), and setStyle().
UserFunction* Graph3D::d_func [private] |
Referenced by addFunction(), addParametricSurface(), clearData(), formula(), initPlot(), save(), setScale(), setScales(), updateData(), userFunction(), and ~Graph3D().
Matrix* Graph3D::d_matrix [private] |
Referenced by addMatrixData(), clearData(), initPlot(), loadData(), matrix(), setScales(), showWorksheet(), and updateScalesFromMatrix().
double Graph3D::d_point_size [private] |
Referenced by copy(), customPlotStyle(), initPlot(), pointsSize(), resetNonEmptyStyle(), save(), setDotOptions(), setDotStyle(), and setStyle().
bool Graph3D::d_smooth_points [private] |
Draw 3D points with smoothed angles.
Referenced by copy(), customPlotStyle(), initPlot(), resetNonEmptyStyle(), save(), setDotOptions(), setDotStyle(), setStyle(), and smoothPoints().
UserParametricSurface* Graph3D::d_surface [private] |
Referenced by addFunction(), addParametricSurface(), initPlot(), parametricSurface(), save(), setScale(), and ~Graph3D().
Table* Graph3D::d_table [private] |
Referenced by addMatrixData(), addRibbon(), clearData(), initPlot(), loadData(), setScales(), showWorksheet(), table(), and updateScales().
PlotType Graph3D::d_table_plot_type [private] |
Referenced by addData(), addRibbon(), clearData(), initPlot(), setAntialiasing(), setBarStyle(), and tablePlotType().
QTimer* Graph3D::d_timer [private] |
Referenced by animate(), initPlot(), and isAnimated().
QColor Graph3D::gridCol [private] |
Referenced by gridColor(), save(), and setGridColor().
bool Graph3D::ignoreFonts [private] |
Referenced by initPlot(), resizeEvent(), and setIgnoreFonts().
QStringList Graph3D::labels [private] |
Referenced by axesLabels(), initCoord(), resetAxesLabels(), save(), setAxesLabels(), setXAxisLabel(), setYAxisLabel(), and setZAxisLabel().
QColor Graph3D::labelsCol [private] |
Referenced by labelColor(), save(), and setLabelsColor().
int Graph3D::labelsDist [private] |
Referenced by initPlot(), labelsDistance(), save(), and setLabelsDistance().
int Graph3D::legendMajorTicks [private] |
Referenced by addFunction(), addMatrixData(), addParametricSurface(), addRibbon(), initPlot(), loadData(), updateDataXY(), updateMatrixData(), and updateScalesFromMatrix().
bool Graph3D::legendOn [private] |
QColor Graph3D::meshCol [private] |
Referenced by meshColor(), save(), and setMeshColor().
QColor Graph3D::numCol [private] |
Referenced by numColor(), save(), and setNumbersColor().
QString Graph3D::plotAssociation [private] |
Referenced by addMatrixData(), addRibbon(), clearData(), formula(), initPlot(), loadData(), save(), setPlotAssociation(), setScales(), and updateData().
PointStyle Graph3D::pointStyle [private] |
Referenced by addFunction(), addParametricSurface(), copy(), customPlotStyle(), initPlot(), pointType(), resetNonEmptyStyle(), save(), setAntialiasing(), setBarStyle(), setConeStyle(), setCrossStyle(), setDotStyle(), setFilledMeshStyle(), setHiddenLineStyle(), setPolygonStyle(), and setWireframeStyle().
QVector<int> Graph3D::scaleType [private] |
Referenced by axisType(), copy(), initPlot(), resetAxesType(), save(), setAxisType(), and setScale().
Qwt3D::SurfacePlot* Graph3D::sp [private] |
Referenced by addFunction(), addMatrixData(), addParametricSurface(), addRibbon(), antialiasing(), axisTickLengths(), barsRadius(), changeTransparency(), clearData(), coordinateSystem(), coordStyle(), copy(), copyImage(), customPlotStyle(), eventFilter(), exportImage(), exportVector(), findBestLayout(), floorStyle(), grids(), hasData(), initCoord(), initPlot(), isOrthogonal(), loadData(), meshLineWidth(), numbersFont(), plotStyle(), print(), resetAxesLabels(), resetAxesType(), resetNonEmptyStyle(), resolution(), rotate(), save(), scaleFonts(), scaleTicks(), setAntialiasing(), setAxesColor(), setAxesLabels(), setAxisTickLength(), setBackgroundColor(), setBarStyle(), setBoxed(), setConeStyle(), setCrossStyle(), setDataColorMap(), setDotStyle(), setEmptyFloor(), setFilledMeshStyle(), setFloorData(), setFloorIsolines(), setFramed(), setGrid(), setGridColor(), setHiddenLineStyle(), setLabelsColor(), setLabelsDistance(), setMeshColor(), setMeshLineWidth(), setNoAxes(), setNumbersColor(), setNumbersFont(), setOptions(), setOrthogonal(), setPolygonStyle(), setResolution(), setRotation(), setScale(), setScales(), setShift(), setStyle(), setTickLengths(), setTicks(), setTitle(), setTitleFont(), setTransparency(), setWireframeStyle(), setXAxisLabel(), setXAxisLabelFont(), setXAxisTickLength(), setYAxisLabel(), setYAxisLabelFont(), setYAxisTickLength(), setZAxisLabel(), setZAxisLabelFont(), setZAxisTickLength(), setZoom(), showColorLegend(), surface(), update(), updateDataXY(), updateMatrixData(), updateScales(), updateScalesFromMatrix(), xAxisLabelFont(), xRotation(), xScale(), xShift(), xStart(), xStop(), yAxisLabelFont(), yRotation(), yScale(), yShift(), yStart(), yStop(), zAxisLabelFont(), zoom(), zRotation(), zScale(), zShift(), zStart(), zStop(), and ~Graph3D().
Qwt3D::PLOTSTYLE Graph3D::style_ [private] |
QString Graph3D::title [private] |
Referenced by initPlot(), plotTitle(), save(), and setTitle().
QColor Graph3D::titleCol [private] |
Referenced by initPlot(), save(), setTitle(), and titleColor().
QFont Graph3D::titleFnt [private] |
Referenced by initPlot(), save(), scaleFonts(), setTitle(), setTitleFont(), and titleFont().