A class to provide a window for a qwtplot3d surface plot. More...
#include "us_plot3d.h"
Public Member Functions | |
US_Plot3D (QWidget *, US_Model *) | |
Contructor for surface plot class. More... | |
void | setTypes (int, int, int) |
Public function to set 3 coordinate type flags. More... | |
void | setParameters (double, double, double, double, double=1.0, double=1.0) |
Public function to set plot control parameters. More... | |
void | calculateData (QVector< QVector< double > > &) |
Public function to (re)calculate Z values at fixed increments. More... | |
void | replot (void) |
Public function to replot the 3D data. More... | |
QGLWidget * | dataWidgetP (void) |
Public function to return the data widget pointer. More... | |
bool | save_plot (const QString, const QString) |
Public function to save the plot to a file. More... | |
Protected Attributes | |
US_Model * | model |
model to plot in 3 dimensions More... | |
Private Slots | |
void | std_button (void) |
void | light_button (void) |
void | ifmt_chosen (int) |
void | light_check (int) |
void | ortho_check (int) |
void | legnd_check (int) |
void | autsc_check (int) |
void | mouse_check (int) |
void | shade_check (int) |
void | poffs_slide (int) |
void | resol_slide (int) |
void | norml_slide (int) |
void | normq_slide (int) |
void | movie_toggle (bool) |
void | frame_axes_on (bool) |
void | box_axes_on (bool) |
void | no_axes_on (bool) |
void | grid_front_on (bool) |
void | grid_back_on (bool) |
void | grid_left_on (bool) |
void | grid_right_on (bool) |
void | grid_ceil_on (bool) |
void | grid_floor_on (bool) |
void | set_grid_onoff (Qwt3D::SIDE, bool) |
void | data_points_on (bool) |
void | data_wirefr_on (bool) |
void | data_hidden_on (bool) |
void | data_polygn_on (bool) |
void | data_fimesh_on (bool) |
void | data_none_on (bool) |
void | floor_data_on (bool) |
void | floor_isol_on (bool) |
void | floor_empty_on (bool) |
void | normals_on (bool) |
void | rotate (void) |
void | open_file (void) |
void | close_all (void) |
void | pick_axes_co (void) |
void | pick_back_co (void) |
void | pick_mesh_co (void) |
void | pick_numb_co (void) |
void | pick_labl_co (void) |
void | pick_capt_co (void) |
void | pick_data_co (void) |
void | reset_colors (void) |
void | pick_numb_fn (void) |
void | pick_axes_fn (void) |
void | pick_capt_fn (void) |
void | reset_fonts (void) |
void | dump_contents (void) |
QString | xyAxisTitle (int, double) |
QString | zAxisTitle (int) |
void | setStandardView (void) |
void | createActions (void) |
void | createMenus (void) |
void | createToolBar (void) |
double | comp_value (US_Model::SimulationComponent *, int, double) |
Private Attributes | |
QWidget * | centralWidget |
QGridLayout * | mainLayout |
QVBoxLayout * | rightLayout |
QHBoxLayout * | bottomLayout |
QGridLayout * | rsliderLayout |
QGridLayout * | bsliderLayout |
QSlider * | poffsSlider |
QSlider * | resolSlider |
QSlider * | normqSlider |
QSlider * | normlSlider |
QAction * | openAct |
QAction * | openffAct |
QAction * | saveAct |
QAction * | movieAct |
QAction * | exitAct |
QAction * | frameAct |
QAction * | boxAct |
QAction * | noneAct |
QAction * | gridfrAct |
QAction * | gridbAct |
QAction * | gridrAct |
QAction * | gridlAct |
QAction * | gridcAct |
QAction * | gridfAct |
QAction * | scattdAct |
QAction * | wirefrAct |
QAction * | hiddlnAct |
QAction * | polygnAct |
QAction * | fdmeshAct |
QAction * | nodataAct |
QAction * | fldataAct |
QAction * | flisolAct |
QAction * | flemptAct |
QAction * | normsAct |
QAction * | coaxesAct |
QAction * | cobackAct |
QAction * | comeshAct |
QAction * | conumbAct |
QAction * | colablAct |
QAction * | cocaptAct |
QAction * | codataAct |
QAction * | corsetAct |
QAction * | fnnumbAct |
QAction * | fnaxesAct |
QAction * | fncaptAct |
QAction * | fnrsetAct |
QAction * | iconAct |
QAction * | qwtpltAct |
QActionGroup * | frameGroup |
QActionGroup * | gridGroup |
QActionGroup * | dataGroup |
QActionGroup * | floorGroup |
QMenu * | fileMenu |
QMenu * | colorMenu |
QMenu * | fontMenu |
QToolBar * | fileToolBar |
QComboBox * | cb_ifmt |
QPushButton * | pb_std |
QPushButton * | pb_light |
QCheckBox * | ck_light |
QCheckBox * | ck_ortho |
QCheckBox * | ck_legend |
QCheckBox * | ck_autosc |
QCheckBox * | ck_mouse |
QCheckBox * | ck_shade |
QFont | titleFont |
bool | have_ed |
bool | skip_plot |
int | nrows |
int | ncols |
int | typex |
int | typey |
int | typez |
int | powrx |
int | powry |
int | redrawWait |
int | dbg_level |
double | xmin |
double | xmax |
double | ymin |
double | ymax |
double | zmin |
double | zmax |
double | zfloor |
double | zscale |
double | xscale |
double | yscale |
double | gridres |
double | x_norm |
double | y_norm |
double | z_norm |
double | x_scale |
double | y_scale |
double | z_scale |
double | alpha |
double | beta |
QString | xatitle |
QString | yatitle |
QString | zatitle |
QFrame * | frame |
QTimer * | timer |
QVector< QVector< double > > | zdata |
Qwt3D::SurfacePlot * | dataWidget |
A class to provide a window for a qwtplot3d surface plot.
Definition at line 23 of file us_plot3d.h.
US_Plot3D::US_Plot3D | ( | QWidget * | p = 0 , |
US_Model * | m = 0 |
||
) |
Contructor for surface plot class.
p | A pointer to the parent widget of this one |
m | A pointer to the model whose data is to be plotted |
Definition at line 16 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1107 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1169 of file us_plot3d.cpp.
void US_Plot3D::calculateData | ( | QVector< QVector< double > > & | zdat | ) |
Public function to (re)calculate Z values at fixed increments.
zdat | Z data vector of vectors |
Definition at line 473 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1370 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1021 of file us_plot3d.cpp.
|
privateslot |
Definition at line 785 of file us_plot3d.cpp.
|
privateslot |
Definition at line 876 of file us_plot3d.cpp.
|
privateslot |
Definition at line 902 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1275 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1255 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1285 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1235 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1265 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1245 of file us_plot3d.cpp.
QGLWidget * US_Plot3D::dataWidgetP | ( | void | ) |
Public function to return the data widget pointer.
Definition at line 712 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1577 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1296 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1316 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1306 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1160 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1194 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1212 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1218 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1188 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1206 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1200 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1079 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1100 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1073 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1085 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1115 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1145 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1178 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1327 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1335 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1343 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1364 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1093 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1385 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1535 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1394 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1431 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1549 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1440 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1422 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1403 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1413 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1521 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1128 of file us_plot3d.cpp.
void US_Plot3D::replot | ( | void | ) |
Public function to replot the 3D data.
Definition at line 596 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1484 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1564 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1137 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1352 of file us_plot3d.cpp.
bool US_Plot3D::save_plot | ( | const QString | filename, |
const QString | imagetype | ||
) |
Public function to save the plot to a file.
filename | The full path to the file to create |
imagetype | The image file type ("png" or "jpg") |
Definition at line 721 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1224 of file us_plot3d.cpp.
void US_Plot3D::setParameters | ( | double | z_scale, |
double | a_gridr, | ||
double | a_alpha, | ||
double | a_beta, | ||
double | x_scale = 1.0 , |
||
double | y_scale = 1.0 |
||
) |
Public function to set plot control parameters.
z_scale | Z scale factor |
a_gridr | Grid resolution |
a_alpha | Alpha factor |
a_beta | Beta factor |
x_scale | Relative X scale factor |
y_scale | Relative Y scale factor |
Definition at line 447 of file us_plot3d.cpp.
|
privateslot |
Definition at line 773 of file us_plot3d.cpp.
void US_Plot3D::setTypes | ( | int | tx, |
int | ty, | ||
int | tz | ||
) |
Public function to set 3 coordinate type flags.
tx | The type flag for X (1=MW, 2=s, ...) |
ty | The type flag for Y |
tz | The type flag for Z |
Definition at line 317 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1121 of file us_plot3d.cpp.
|
privateslot |
Definition at line 1067 of file us_plot3d.cpp.
|
privateslot |
Definition at line 729 of file us_plot3d.cpp.
|
privateslot |
Definition at line 763 of file us_plot3d.cpp.
|
private |
Definition at line 169 of file us_plot3d.h.
|
private |
Definition at line 170 of file us_plot3d.h.
|
private |
Definition at line 66 of file us_plot3d.h.
|
private |
Definition at line 81 of file us_plot3d.h.
|
private |
Definition at line 68 of file us_plot3d.h.
|
private |
Definition at line 125 of file us_plot3d.h.
|
private |
Definition at line 63 of file us_plot3d.h.
|
private |
Definition at line 133 of file us_plot3d.h.
|
private |
Definition at line 132 of file us_plot3d.h.
|
private |
Definition at line 130 of file us_plot3d.h.
|
private |
Definition at line 134 of file us_plot3d.h.
|
private |
Definition at line 131 of file us_plot3d.h.
|
private |
Definition at line 135 of file us_plot3d.h.
|
private |
Definition at line 99 of file us_plot3d.h.
|
private |
Definition at line 100 of file us_plot3d.h.
|
private |
Definition at line 104 of file us_plot3d.h.
|
private |
Definition at line 105 of file us_plot3d.h.
|
private |
Definition at line 103 of file us_plot3d.h.
|
private |
Definition at line 120 of file us_plot3d.h.
|
private |
Definition at line 101 of file us_plot3d.h.
|
private |
Definition at line 102 of file us_plot3d.h.
|
private |
Definition at line 106 of file us_plot3d.h.
|
private |
Definition at line 116 of file us_plot3d.h.
|
private |
Definition at line 182 of file us_plot3d.h.
|
private |
Definition at line 150 of file us_plot3d.h.
|
private |
Definition at line 79 of file us_plot3d.h.
|
private |
Definition at line 93 of file us_plot3d.h.
|
private |
Definition at line 119 of file us_plot3d.h.
|
private |
Definition at line 123 of file us_plot3d.h.
|
private |
Definition at line 95 of file us_plot3d.h.
|
private |
Definition at line 97 of file us_plot3d.h.
|
private |
Definition at line 96 of file us_plot3d.h.
|
private |
Definition at line 117 of file us_plot3d.h.
|
private |
Definition at line 108 of file us_plot3d.h.
|
private |
Definition at line 109 of file us_plot3d.h.
|
private |
Definition at line 107 of file us_plot3d.h.
|
private |
Definition at line 110 of file us_plot3d.h.
|
private |
Definition at line 121 of file us_plot3d.h.
|
private |
Definition at line 176 of file us_plot3d.h.
|
private |
Definition at line 80 of file us_plot3d.h.
|
private |
Definition at line 114 of file us_plot3d.h.
|
private |
Definition at line 84 of file us_plot3d.h.
|
private |
Definition at line 87 of file us_plot3d.h.
|
private |
Definition at line 88 of file us_plot3d.h.
|
private |
Definition at line 83 of file us_plot3d.h.
|
private |
Definition at line 115 of file us_plot3d.h.
|
private |
Definition at line 86 of file us_plot3d.h.
|
private |
Definition at line 85 of file us_plot3d.h.
|
private |
Definition at line 162 of file us_plot3d.h.
|
private |
Definition at line 139 of file us_plot3d.h.
|
private |
Definition at line 91 of file us_plot3d.h.
|
private |
Definition at line 111 of file us_plot3d.h.
|
private |
Definition at line 64 of file us_plot3d.h.
|
protected |
model to plot in 3 dimensions
Definition at line 185 of file us_plot3d.h.
|
private |
Definition at line 78 of file us_plot3d.h.
|
private |
Definition at line 143 of file us_plot3d.h.
|
private |
Definition at line 94 of file us_plot3d.h.
|
private |
Definition at line 82 of file us_plot3d.h.
|
private |
Definition at line 73 of file us_plot3d.h.
|
private |
Definition at line 72 of file us_plot3d.h.
|
private |
Definition at line 98 of file us_plot3d.h.
|
private |
Definition at line 142 of file us_plot3d.h.
|
private |
Definition at line 75 of file us_plot3d.h.
|
private |
Definition at line 76 of file us_plot3d.h.
|
private |
Definition at line 128 of file us_plot3d.h.
|
private |
Definition at line 127 of file us_plot3d.h.
|
private |
Definition at line 70 of file us_plot3d.h.
|
private |
Definition at line 92 of file us_plot3d.h.
|
private |
Definition at line 147 of file us_plot3d.h.
|
private |
Definition at line 148 of file us_plot3d.h.
|
private |
Definition at line 112 of file us_plot3d.h.
|
private |
Definition at line 149 of file us_plot3d.h.
|
private |
Definition at line 71 of file us_plot3d.h.
|
private |
Definition at line 65 of file us_plot3d.h.
|
private |
Definition at line 67 of file us_plot3d.h.
|
private |
Definition at line 77 of file us_plot3d.h.
|
private |
Definition at line 89 of file us_plot3d.h.
|
private |
Definition at line 140 of file us_plot3d.h.
|
private |
Definition at line 178 of file us_plot3d.h.
|
private |
Definition at line 137 of file us_plot3d.h.
|
private |
Definition at line 144 of file us_plot3d.h.
|
private |
Definition at line 145 of file us_plot3d.h.
|
private |
Definition at line 146 of file us_plot3d.h.
|
private |
Definition at line 90 of file us_plot3d.h.
|
private |
Definition at line 163 of file us_plot3d.h.
|
private |
Definition at line 166 of file us_plot3d.h.
|
private |
Definition at line 172 of file us_plot3d.h.
|
private |
Definition at line 153 of file us_plot3d.h.
|
private |
Definition at line 152 of file us_plot3d.h.
|
private |
Definition at line 160 of file us_plot3d.h.
|
private |
Definition at line 164 of file us_plot3d.h.
|
private |
Definition at line 167 of file us_plot3d.h.
|
private |
Definition at line 173 of file us_plot3d.h.
|
private |
Definition at line 155 of file us_plot3d.h.
|
private |
Definition at line 154 of file us_plot3d.h.
|
private |
Definition at line 161 of file us_plot3d.h.
|
private |
Definition at line 165 of file us_plot3d.h.
|
private |
Definition at line 168 of file us_plot3d.h.
|
private |
Definition at line 174 of file us_plot3d.h.
|
private |
Definition at line 180 of file us_plot3d.h.
|
private |
Definition at line 158 of file us_plot3d.h.
|
private |
Definition at line 157 of file us_plot3d.h.
|
private |
Definition at line 156 of file us_plot3d.h.
|
private |
Definition at line 159 of file us_plot3d.h.