Graph3D Class Reference

#include <Graph3D.h>

Inheritance diagram for Graph3D:

MdiSubWindow

List of all members.


Detailed Description

3D graph widget.

This provides 3D plotting using Qwt3D.

Future Plans

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.

Public Types

enum  PlotType { 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 addData (Table *table, const QString &xColName, const QString &yColName, double xl, double xr, double yl, double yr, double zl, double zr)
void addData (Table *table, const QString &xColName, const QString &yColName)
void addFunction (const QString &s, double xl, double xr, double yl, double yr, double zl, double zr, int columns, int rows)
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 animate (bool on=true)
bool antialiasing ()
bool autoscale ()
void changeDataColumn (Table *table, const QString &colName, int type=0)
void clearData ()
Qwt3D::COORDSTYLE coordStyle ()
void copy (Graph3D *g)
void copyImage ()
void customPlotStyle (int style)
void exportImage (const QString &fileName, int quality=100, bool transparent=false)
void exportPDF (const QString &fileName)
void exportToFile (const QString &fileName)
void exportVector (const QString &fileName)
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)
Matrixmatrix ()
Qwt3D::PLOTSTYLE plotStyle ()
void print ()
void resetNonEmptyStyle ()
void rotate ()
 Used for the animation: rotates the scene with 1/360 degrees.
void rotationChanged (double, double, double)
QString saveAsTemplate (const QString &geometryInfo)
QString saveToString (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 (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 ()
Tabletable ()
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)
QString colorMap ()
QColor gridColor ()
QColor labelColor ()
QColor maxDataColor ()
QColor meshColor ()
QColor minDataColor ()
QColor numColor ()
bool openColorMap (ColorVector &cv, QString fname)
void setAxesColor (const QColor &)
void setBackgroundColor (const QColor &)
void setColors (const QStringList &colors)
void setDataColorMap (const QString &fileName)
void setDataColors (const QColor &cMax, const QColor &cMin)
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 ()
bool isOrthogonal ()
int labelsDistance ()
QFont numbersFont ()
void resetAxesLabels ()
QStringList scaleLimits ()
QStringList scaleTicks ()
void setAxesLabels (const QStringList &lst)
void setAxisTickLength (int axis, double majorLength, double minorLength)
void setBoxed ()
void setFramed ()
void setLabelsDistance (int val)
void setNoAxes ()
void setNumbersFont (const QStringList &lst)
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 updateScale (int axis, const QStringList &options)
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
double barsRadius ()
void setBarRadius (double rad)
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
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 ()
UserFunctionuserFunction ()
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 ()
User Functions
UserParametricSurfaceparametricSurface ()
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)
 ~Graph3D ()

Private Attributes

double alpha
int animation_redraw_wait
 Wait this many msecs before redraw 3D plot (used for animations).
QColor axesCol
double barsRad
QColor bgCol
Qwt3D::StandardColor * col_
QString color_map
 File name of the color map used for the data (if any).
int conesQuality
double conesRad
bool crossHairBoxed
double crossHairLineWidth
double crossHairRad
bool crossHairSmooth
bool d_autoscale
UserFunctiond_func
Matrixd_matrix
double d_point_size
bool d_smooth_points
 Draw 3D points with smoothed angles.
UserParametricSurfaced_surface
Tabled_table
QTimer * d_timer
QColor fromColor
 Custom data colors.
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
QColor toColor

Member Enumeration Documentation

Enumerator:
Scatter 
Trajectory 
Bars 
Ribbon 

Enumerator:
None 
Dots 
VerticalBars 
HairCross 
Cones 


Constructor & Destructor Documentation

Graph3D::Graph3D ( const QString &  label,
ApplicationWindow parent,
const char *  name = 0,
Qt::WFlags  f = 0 
)

References initPlot().

Graph3D::~Graph3D (  ) 

References d_func, d_surface, and sp.


Member Function Documentation

void Graph3D::addData ( Table table,
int  xCol,
int  yCol,
int  zCol,
int  type = 0 
) [slot]

void Graph3D::addData ( Table table,
const QString &  xColName,
const QString &  yColName,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
) [slot]

void Graph3D::addData ( Table table,
const QString &  xColName,
const QString &  yColName 
) [slot]

void Graph3D::addFunction ( const QString &  s,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr,
int  columns,
int  rows 
) [slot]

void Graph3D::addMatrixData ( Matrix m,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
) [slot]

void Graph3D::addMatrixData ( Matrix m  )  [slot]

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]

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::antialiasing (  )  [inline, slot]

References sp.

Referenced by copy().

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(), saveToString(), and Plot3DDialog::setPlot().

double Graph3D::barsRadius (  )  [slot]

References barsRad, and sp.

Referenced by copy(), and Plot3DDialog::setPlot().

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]

void Graph3D::changeTransparency ( double  t  )  [slot]

void Graph3D::clearData (  )  [slot]

References d_func, d_matrix, d_table, plotAssociation, and sp.

QString Graph3D::colorMap (  )  [inline, slot]

References color_map.

Referenced by copy(), and Plot3DDialog::pickDataColorMap().

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::COORDSTYLE Graph3D::coordStyle (  )  [slot]

void Graph3D::copy ( Graph3D g  )  [slot]

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]

bool Graph3D::eventFilter ( QObject *  object,
QEvent *  e 
) [slot]

Filters other object's events (customizes title bar's context menu).

Reimplemented from MdiSubWindow.

References MdiSubWindow::eventFilter(), showOptionsDialog(), and sp.

void Graph3D::exportImage ( const QString &  fileName,
int  quality = 100,
bool  transparent = false 
) [slot]

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  )  [slot]

void Graph3D::findBestLayout (  )  [slot]

Qwt3D::FLOORSTYLE Graph3D::floorStyle (  )  [slot]

References sp.

Referenced by copy(), and ApplicationWindow::custom3DActions().

QString Graph3D::formula (  )  [slot]

QColor Graph3D::gridColor (  )  [inline, slot]

References gridCol.

Referenced by copy(), and Plot3DDialog::setPlot().

int Graph3D::grids (  )  [slot]

bool Graph3D::hasData (  )  [inline, slot]

void Graph3D::initCoord (  )  [slot]

References labels, and sp.

Referenced by initPlot().

void Graph3D::initPlot (  )  [slot]

void Graph3D::insertNewData ( Table table,
const QString &  colName 
) [slot]

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]

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]

Matrix* Graph3D::matrix (  )  [inline, slot]

QColor Graph3D::maxDataColor (  )  [slot]

References toColor.

Referenced by copy(), and Plot3DDialog::setPlot().

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().

QColor Graph3D::minDataColor (  )  [slot]

References fromColor.

Referenced by copy(), and Plot3DDialog::setPlot().

void Graph3D::modified (  )  [signal]

QFont Graph3D::numbersFont (  )  [slot]

References sp.

Referenced by copy(), and Plot3DDialog::setPlot().

QColor Graph3D::numColor (  )  [inline, slot]

References numCol.

Referenced by copy(), and Plot3DDialog::setPlot().

bool Graph3D::openColorMap ( ColorVector &  cv,
QString  fname 
) [slot]

Referenced by setDataColorMap().

UserParametricSurface* Graph3D::parametricSurface (  )  [inline, slot]

Qwt3D::PLOTSTYLE Graph3D::plotStyle (  )  [slot]

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]

void Graph3D::print (  )  [virtual, slot]

Reimplemented from MdiSubWindow.

References sp.

void Graph3D::resetAxesLabels (  )  [slot]

References labels, and sp.

Referenced by changeDataColumn(), setScales(), and update().

void Graph3D::resetNonEmptyStyle (  )  [slot]

void Graph3D::resizeEvent ( QResizeEvent *  e  )  [slot]

int Graph3D::resolution (  )  [inline, slot]

References sp.

Referenced by copy(), and Plot3DDialog::setPlot().

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().

QString Graph3D::saveAsTemplate ( const QString &  geometryInfo  )  [virtual, slot]

Reimplemented from MdiSubWindow.

References saveToString().

QString Graph3D::saveToString ( const QString &  geometry,
bool  = false 
) [virtual, slot]

void Graph3D::scaleChanged ( double  ,
double  ,
double   
) [slot]

References modified().

Referenced by initPlot().

void Graph3D::scaleFonts ( double  factor  )  [slot]

QStringList Graph3D::scaleLimits (  )  [slot]

References scaleType, and sp.

Referenced by Plot3DDialog::setPlot().

QStringList Graph3D::scaleTicks (  )  [slot]

References sp.

Referenced by copy(), and saveToString().

void Graph3D::setAntialiasing ( bool  smooth = true  )  [slot]

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]

void Graph3D::setAxesLabels ( const QStringList &  lst  )  [slot]

References labels, and sp.

Referenced by copy(), and ApplicationWindow::openSurfacePlot().

void Graph3D::setAxisTickLength ( int  axis,
double  majorLength,
double  minorLength 
) [slot]

References sp.

Referenced by findBestLayout().

void Graph3D::setBackGrid ( bool  b = true  )  [slot]

void Graph3D::setBackgroundColor ( const QColor &  bgColor  )  [slot]

void Graph3D::setBarRadius ( double  rad  )  [slot]

References barsRad.

Referenced by copy(), and Plot3DDialog::updatePlot().

void Graph3D::setBarStyle (  )  [slot]

void Graph3D::setBoxed (  )  [slot]

References sp.

Referenced by ApplicationWindow::setBoxed3DPlot().

void Graph3D::setCeilGrid ( bool  b = true  )  [slot]

void Graph3D::setColors ( const QStringList &  colors  )  [slot]

void Graph3D::setConeOptions ( double  rad,
int  quality 
) [slot]

References conesQuality, and conesRad.

Referenced by copy(), and Plot3DDialog::updatePlot().

void Graph3D::setConeStyle (  )  [slot]

void Graph3D::setCrossOptions ( double  rad,
double  linewidth,
bool  smooth,
bool  boxed 
) [slot]

void Graph3D::setCrossStyle (  )  [slot]

void Graph3D::setDataColorMap ( const QString &  fileName  )  [slot]

void Graph3D::setDataColors ( const QColor &  cMax,
const QColor &  cMin 
) [slot]

void Graph3D::setDotOptions ( double  size,
bool  smooth 
) [slot]

References d_point_size, and d_smooth_points.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setDotStyle (  )  [slot]

void Graph3D::setEmptyFloor (  )  [slot]

References sp.

Referenced by ApplicationWindow::setEmptyFloor3DPlot().

void Graph3D::setFilledMeshStyle (  )  [slot]

void Graph3D::setFloorData (  )  [slot]

void Graph3D::setFloorGrid ( bool  b = true  )  [slot]

void Graph3D::setFloorIsolines (  )  [slot]

References sp.

Referenced by ApplicationWindow::setFloorIso3DPlot().

void Graph3D::setFramed (  )  [slot]

References sp.

Referenced by ApplicationWindow::setFramed3DPlot().

void Graph3D::setFrontGrid ( bool  b = true  )  [slot]

void Graph3D::setGrid ( int  grids  )  [slot]

References sp.

void Graph3D::setGrid ( Qwt3D::SIDE  s,
bool  b 
) [slot]

void Graph3D::setGridColor ( const QColor &  gridColor  )  [slot]

void Graph3D::setHiddenLineStyle (  )  [slot]

void Graph3D::setIgnoreFonts ( bool  ok  )  [inline, slot]

void Graph3D::setLabelsColor ( const QColor &  labelColor  )  [slot]

void Graph3D::setLabelsDistance ( int  val  )  [slot]

References labelsDist, modified(), and sp.

Referenced by setOptions(), and Plot3DDialog::updatePlot().

void Graph3D::setLeftGrid ( bool  b = true  )  [slot]

void Graph3D::setMeshColor ( const QColor &  meshColor  )  [slot]

void Graph3D::setMeshLineWidth ( double  lw  )  [slot]

void Graph3D::setNoAxes (  )  [slot]

References sp.

Referenced by ApplicationWindow::removeAxes3DPlot().

void Graph3D::setNumbersColor ( const QColor &  numColor  )  [slot]

void Graph3D::setNumbersFont ( const QStringList &  lst  )  [slot]

References sp.

void Graph3D::setNumbersFont ( const QFont &  font  )  [slot]

void Graph3D::setOptions ( const QStringList &  lst  )  [slot]

References legendOn, setLabelsDistance(), and sp.

void Graph3D::setOptions ( bool  legend,
int  r,
int  dist 
) [slot]

void Graph3D::setOrthogonal ( bool  on = true  )  [inline, slot]

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]

void Graph3D::setRightGrid ( bool  b = true  )  [slot]

void Graph3D::setRotation ( double  xVal,
double  yVal,
double  zVal 
) [slot]

void Graph3D::setScale ( double  xVal,
double  yVal,
double  zVal 
) [slot]

void Graph3D::setScales ( double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
) [slot]

void Graph3D::setShift ( double  xVal,
double  yVal,
double  zVal 
) [slot]

References sp.

Referenced by copy(), and ApplicationWindow::openSurfacePlot().

void Graph3D::setStyle ( const QStringList &  st  )  [slot]

void Graph3D::setTickLengths ( const QStringList &  lst  )  [slot]

References sp.

Referenced by copy(), and ApplicationWindow::openSurfacePlot().

void Graph3D::setTicks ( const QStringList &  options  )  [slot]

References sp.

Referenced by copy(), and ApplicationWindow::openSurfacePlot().

void Graph3D::setTitle ( const QString &  s,
const QColor &  color = QColor(Qt::black),
const QFont &  font = QFont() 
) [slot]

References sp, title, titleCol, and titleFnt.

void Graph3D::setTitle ( const QStringList &  lst  )  [slot]

void Graph3D::setTitleFont ( const QFont &  font  )  [slot]

References sp, and titleFnt.

Referenced by ApplicationWindow::customPlot3D().

void Graph3D::setTransparency ( double  t  )  [slot]

References alpha, and sp.

Referenced by copy().

void Graph3D::setWireframeStyle (  )  [slot]

void Graph3D::setXAxisLabel ( const QString &  label  )  [slot]

References labels, modified(), and sp.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setXAxisLabelFont ( const QStringList &  lst  )  [slot]

References sp.

void Graph3D::setXAxisLabelFont ( const QFont &  fnt  )  [slot]

void Graph3D::setXAxisTickLength ( double  majorLength,
double  minorLength 
) [slot]

References sp.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setYAxisLabel ( const QString &  label  )  [slot]

References labels, modified(), and sp.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setYAxisLabelFont ( const QStringList &  lst  )  [slot]

References sp.

void Graph3D::setYAxisLabelFont ( const QFont &  fnt  )  [slot]

void Graph3D::setYAxisTickLength ( double  majorLength,
double  minorLength 
) [slot]

References sp.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setZAxisLabel ( const QString &  label  )  [slot]

References labels, modified(), and sp.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setZAxisLabelFont ( const QStringList &  lst  )  [slot]

References sp.

void Graph3D::setZAxisLabelFont ( const QFont &  fnt  )  [slot]

void Graph3D::setZAxisTickLength ( double  majorLength,
double  minorLength 
) [slot]

References sp.

Referenced by Plot3DDialog::updatePlot().

void Graph3D::setZoom ( double  val  )  [slot]

void Graph3D::shiftChanged ( double  ,
double  ,
double   
) [slot]

References modified().

Referenced by initPlot().

void Graph3D::showColorLegend ( bool  show = true  )  [slot]

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().

Table* Graph3D::table (  )  [inline, slot]

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 alpha.

Referenced by copy(), and Plot3DDialog::setPlot().

void Graph3D::update (  )  [slot]

void Graph3D::updateData ( Table table  )  [slot]

void Graph3D::updateDataXY ( Table table,
int  xCol,
int  yCol 
) [slot]

void Graph3D::updateMatrixData ( Matrix m  )  [slot]

void Graph3D::updateScale ( int  axis,
const QStringList &  options 
) [slot]

void Graph3D::updateScales ( double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr,
int  xcol,
int  ycol 
) [slot]

void Graph3D::updateScalesFromMatrix ( double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
) [slot]

UserFunction* Graph3D::userFunction (  )  [inline, slot]

QFont Graph3D::xAxisLabelFont (  )  [slot]

References sp.

Referenced by copy(), scaleFonts(), and Plot3DDialog::setPlot().

double Graph3D::xRotation (  )  [inline, slot]

References sp.

Referenced by copy().

double Graph3D::xScale (  )  [inline, slot]

References sp.

Referenced by copy(), findBestLayout(), and Plot3DDialog::setPlot().

double Graph3D::xShift (  )  [inline, slot]

References sp.

Referenced by copy().

double Graph3D::xStart (  )  [slot]

double Graph3D::xStop (  )  [slot]

QFont Graph3D::yAxisLabelFont (  )  [slot]

References sp.

Referenced by copy(), scaleFonts(), and Plot3DDialog::setPlot().

double Graph3D::yRotation (  )  [inline, slot]

References sp.

Referenced by copy().

double Graph3D::yScale (  )  [inline, slot]

References sp.

Referenced by copy(), findBestLayout(), and Plot3DDialog::setPlot().

double Graph3D::yShift (  )  [inline, slot]

References sp.

Referenced by copy().

double Graph3D::yStart (  )  [slot]

double Graph3D::yStop (  )  [slot]

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::zRotation (  )  [inline, slot]

References sp.

Referenced by copy().

double Graph3D::zScale (  )  [inline, slot]

References sp.

Referenced by copy(), findBestLayout(), and Plot3DDialog::setPlot().

double Graph3D::zShift (  )  [inline, slot]

References sp.

Referenced by copy().

double Graph3D::zStart (  )  [slot]

double Graph3D::zStop (  )  [slot]


Member Data Documentation

double Graph3D::alpha [private]

Wait this many msecs before redraw 3D plot (used for animations).

Referenced by animate(), and initPlot().

QColor Graph3D::axesCol [private]

double Graph3D::barsRad [private]

QColor Graph3D::bgCol [private]

Qwt3D::StandardColor* Graph3D::col_ [private]

QString Graph3D::color_map [private]

File name of the color map used for the data (if any).

Referenced by colorMap(), initPlot(), saveToString(), and setDataColorMap().

int Graph3D::conesQuality [private]

double Graph3D::conesRad [private]

bool Graph3D::crossHairBoxed [private]

double Graph3D::crossHairLineWidth [private]

double Graph3D::crossHairRad [private]

bool Graph3D::crossHairSmooth [private]

bool Graph3D::d_autoscale [private]

double Graph3D::d_point_size [private]

bool Graph3D::d_smooth_points [private]

Table* Graph3D::d_table [private]

QTimer* Graph3D::d_timer [private]

Referenced by animate(), initPlot(), and isAnimated().

QColor Graph3D::fromColor [private]

Custom data colors.

Referenced by initPlot(), minDataColor(), saveToString(), and setDataColors().

QColor Graph3D::gridCol [private]

bool Graph3D::ignoreFonts [private]

QStringList Graph3D::labels [private]

QColor Graph3D::labelsCol [private]

int Graph3D::labelsDist [private]

bool Graph3D::legendOn [private]

QColor Graph3D::meshCol [private]

QColor Graph3D::numCol [private]

QString Graph3D::plotAssociation [private]

QVector<int> Graph3D::scaleType [private]

Referenced by initPlot(), scaleLimits(), and updateScale().

Qwt3D::SurfacePlot* Graph3D::sp [private]

Referenced by addData(), addFunction(), addMatrixData(), addParametricSurface(), antialiasing(), axisTickLengths(), barsRadius(), changeTransparency(), clearData(), coordStyle(), copy(), copyImage(), customPlotStyle(), eventFilter(), exportImage(), exportVector(), findBestLayout(), floorStyle(), grids(), hasData(), initCoord(), initPlot(), isOrthogonal(), loadData(), meshLineWidth(), numbersFont(), plotStyle(), print(), resetAxesLabels(), resetNonEmptyStyle(), resolution(), rotate(), saveToString(), scaleFonts(), scaleLimits(), scaleTicks(), setAntialiasing(), setAxesColor(), setAxesLabels(), setAxisTickLength(), setBackgroundColor(), setBarStyle(), setBoxed(), setColors(), setConeStyle(), setCrossStyle(), setDataColorMap(), setDataColors(), 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(), update(), updateDataXY(), updateMatrixData(), updateScale(), 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]

QColor Graph3D::titleCol [private]

QFont Graph3D::titleFnt [private]

QColor Graph3D::toColor [private]


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

Generated on Sun Jun 15 21:32:23 2008 for QtiPlot by  doxygen 1.5.6