A class to provide a window for a qwtplot3d surface plot.
More...
#include "us_plot3d_xyz.h"
|
| US_Plot3Dxyz (QWidget *, QVector< QVector3D > *) |
| Contructor for surface plot class. More...
|
|
void | setTitles (QString, QString, QString, QString, QString) |
| Public function to set plot titles. More...
|
|
void | setPlotTitle (QString) |
| Public function to reset the plot title. More...
|
|
void | setParameters (int, int, double=1.0, double=1.0, double=1.0, double=0.0, double=0.0) |
| Public function to set plot control parameters. More...
|
|
void | reloadData (QVector< QVector3D > *) |
| Public function to load new data. More...
|
|
void | calculateData (void) |
| Public function to (re)calculate data Z values. More...
|
|
void | replot (bool=false) |
| 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...
|
|
A class to provide a window for a qwtplot3d surface plot.
Definition at line 25 of file us_plot3d_xyz.h.
US_Plot3Dxyz::US_Plot3Dxyz |
( |
QWidget * |
p = 0 , |
|
|
QVector< QVector3D > * |
d = 0 |
|
) |
| |
Contructor for surface plot class.
- Parameters
-
p | A pointer to the parent widget of this one |
d | A pointer to a vector of x,y,z data to be plotted |
Definition at line 16 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::alloc_2dvect |
( |
QVector< QVector< double > > & |
vec, |
|
|
int |
ncol, |
|
|
int |
nrow |
|
) |
| |
|
privateslot |
void US_Plot3Dxyz::alloc_2dvect |
( |
QVector< QVector< Triple > > & |
vec, |
|
|
int |
ncol, |
|
|
int |
nrow |
|
) |
| |
|
privateslot |
void US_Plot3Dxyz::autsc_check |
( |
int |
state | ) |
|
|
privateslot |
void US_Plot3Dxyz::box_axes_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::calculateContour |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::calculateData |
( |
void |
| ) |
|
void US_Plot3Dxyz::calculatePoints |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::clean_title |
( |
QString & |
atitle | ) |
|
|
privateslot |
void US_Plot3Dxyz::clear_2dvect |
( |
QVector< QVector< double > > & |
vec | ) |
|
|
privateslot |
void US_Plot3Dxyz::clear_2dvect |
( |
QVector< QVector< Triple > > & |
vec | ) |
|
|
privateslot |
void US_Plot3Dxyz::close_all |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::createActions |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::createMenus |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::createToolBar |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::data_fimesh_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::data_hidden_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::data_none_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::data_points_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::data_polygn_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::data_wirefr_on |
( |
bool |
isOn | ) |
|
|
privateslot |
QGLWidget * US_Plot3Dxyz::dataWidgetP |
( |
void |
| ) |
|
Public function to return the data widget pointer.
- Returns
- Pointer to the GL data widget
Definition at line 967 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::dump_contents |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::floor_data_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::floor_empty_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::floor_isol_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::frame_axes_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::grid_back_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::grid_ceil_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::grid_floor_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::grid_front_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::grid_left_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::grid_right_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::has_closed |
( |
void |
| ) |
|
|
signal |
A signal emitted when this dialog has been closed.
void US_Plot3Dxyz::ifmt_chosen |
( |
int |
index | ) |
|
|
privateslot |
void US_Plot3Dxyz::legnd_check |
( |
int |
state | ) |
|
|
privateslot |
void US_Plot3Dxyz::light_button |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::light_check |
( |
int |
state | ) |
|
|
privateslot |
void US_Plot3Dxyz::mouse_check |
( |
int |
state | ) |
|
|
privateslot |
void US_Plot3Dxyz::movie_toggle |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::no_axes_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::normals_on |
( |
bool |
isOn | ) |
|
|
privateslot |
void US_Plot3Dxyz::norml_slide |
( |
int |
val | ) |
|
|
privateslot |
void US_Plot3Dxyz::normq_slide |
( |
int |
val | ) |
|
|
privateslot |
void US_Plot3Dxyz::open_file |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::ortho_check |
( |
int |
state | ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_axes_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_axes_fn |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_back_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_capt_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_capt_fn |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_data_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_labl_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_mesh_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_numb_co |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::pick_numb_fn |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::poffs_slide |
( |
int |
pos | ) |
|
|
privateslot |
void US_Plot3Dxyz::reloadData |
( |
QVector< QVector3D > * |
d | ) |
|
Public function to load new data.
- Parameters
-
d | A pointer to a new vector of x,y,z data to be plotted |
Definition at line 489 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::replot |
( |
bool |
hold_color = false | ) |
|
Public function to replot the 3D data.
- Parameters
-
hold_color | A flag of whether to hold colors constant |
Definition at line 711 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::reset_colors |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::reset_fonts |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::resol_slide |
( |
int |
pos | ) |
|
|
privateslot |
void US_Plot3Dxyz::rotate |
( |
void |
| ) |
|
|
privateslot |
bool US_Plot3Dxyz::save_plot |
( |
const QString |
filename, |
|
|
const QString |
imagetype |
|
) |
| |
Public function to save the plot to a file.
- Parameters
-
filename | The full path to the file to create |
imagetype | The image file type ("png" or "jpg") |
- Returns
- Flag if save was successful
Definition at line 976 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::set_grid_onoff |
( |
Qwt3D::SIDE |
side, |
|
|
bool |
isOn |
|
) |
| |
|
privateslot |
void US_Plot3Dxyz::setParameters |
( |
int |
a_gridy, |
|
|
int |
a_gridx, |
|
|
double |
x_scale = 1.0 , |
|
|
double |
y_scale = 1.0 , |
|
|
double |
z_scale = 1.0 , |
|
|
double |
a_alpha = 0.0 , |
|
|
double |
a_beta = 0.0 |
|
) |
| |
Public function to set plot control parameters.
- Parameters
-
a_gridx | Grid resolution in the X direction |
a_gridy | Grid resolution in the Y direction |
x_scale | Relative X scale factor |
y_scale | Relative Y scale factor (negative to reverse Y) |
z_scale | Z scale factor |
a_alpha | Alpha factor (0.0 to ignore and do contour) |
a_beta | Beta factor |
Definition at line 459 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::setPlotTitle |
( |
QString |
pltt | ) |
|
Public function to reset the plot title.
- Parameters
-
Definition at line 453 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::setStandardView |
( |
void |
| ) |
|
|
privateslot |
void US_Plot3Dxyz::setTitles |
( |
QString |
wndt, |
|
|
QString |
pltt, |
|
|
QString |
xat, |
|
|
QString |
yat, |
|
|
QString |
zat |
|
) |
| |
Public function to set plot titles.
- Parameters
-
wndt | Window title |
pltt | Plot title |
xat | X annotation title |
yat | Y annotation title |
zat | Z annotation title |
Definition at line 317 of file us_plot3d_xyz.cpp.
void US_Plot3Dxyz::shade_check |
( |
int |
state | ) |
|
|
privateslot |
void US_Plot3Dxyz::std_button |
( |
void |
| ) |
|
|
privateslot |
QString US_Plot3Dxyz::xyAxisTitle |
( |
int |
type, |
|
|
double |
sclnorm |
|
) |
| |
|
privateslot |
QString US_Plot3Dxyz::zAxisTitle |
( |
int |
type | ) |
|
|
privateslot |
double US_Plot3Dxyz::alpha |
|
private |
double US_Plot3Dxyz::beta |
|
private |
QHBoxLayout* US_Plot3Dxyz::bottomLayout |
|
private |
QAction* US_Plot3Dxyz::boxAct |
|
private |
QGridLayout* US_Plot3Dxyz::bsliderLayout |
|
private |
QComboBox* US_Plot3Dxyz::cb_ifmt |
|
private |
QWidget* US_Plot3Dxyz::centralWidget |
|
private |
QCheckBox* US_Plot3Dxyz::ck_autosc |
|
private |
QCheckBox* US_Plot3Dxyz::ck_legend |
|
private |
QCheckBox* US_Plot3Dxyz::ck_light |
|
private |
QCheckBox* US_Plot3Dxyz::ck_mouse |
|
private |
QCheckBox* US_Plot3Dxyz::ck_ortho |
|
private |
QCheckBox* US_Plot3Dxyz::ck_shade |
|
private |
QAction* US_Plot3Dxyz::coaxesAct |
|
private |
QAction* US_Plot3Dxyz::cobackAct |
|
private |
QAction* US_Plot3Dxyz::cocaptAct |
|
private |
QAction* US_Plot3Dxyz::codataAct |
|
private |
QAction* US_Plot3Dxyz::colablAct |
|
private |
QMenu* US_Plot3Dxyz::colorMenu |
|
private |
QAction* US_Plot3Dxyz::comeshAct |
|
private |
QAction* US_Plot3Dxyz::conumbAct |
|
private |
QAction* US_Plot3Dxyz::corsetAct |
|
private |
QActionGroup* US_Plot3Dxyz::dataGroup |
|
private |
Qwt3D::SurfacePlot* US_Plot3Dxyz::dataWidget |
|
private |
int US_Plot3Dxyz::dbg_level |
|
private |
QAction* US_Plot3Dxyz::exitAct |
|
private |
QAction* US_Plot3Dxyz::fdmeshAct |
|
private |
QMenu* US_Plot3Dxyz::fileMenu |
|
private |
QToolBar* US_Plot3Dxyz::fileToolBar |
|
private |
QAction* US_Plot3Dxyz::fldataAct |
|
private |
QAction* US_Plot3Dxyz::flemptAct |
|
private |
QAction* US_Plot3Dxyz::flisolAct |
|
private |
QActionGroup* US_Plot3Dxyz::floorGroup |
|
private |
QAction* US_Plot3Dxyz::fnaxesAct |
|
private |
QAction* US_Plot3Dxyz::fncaptAct |
|
private |
QAction* US_Plot3Dxyz::fnnumbAct |
|
private |
QAction* US_Plot3Dxyz::fnrsetAct |
|
private |
QMenu* US_Plot3Dxyz::fontMenu |
|
private |
QFrame* US_Plot3Dxyz::frame |
|
private |
QAction* US_Plot3Dxyz::frameAct |
|
private |
QActionGroup* US_Plot3Dxyz::frameGroup |
|
private |
QAction* US_Plot3Dxyz::gridbAct |
|
private |
QAction* US_Plot3Dxyz::gridcAct |
|
private |
QAction* US_Plot3Dxyz::gridfAct |
|
private |
QAction* US_Plot3Dxyz::gridfrAct |
|
private |
QActionGroup* US_Plot3Dxyz::gridGroup |
|
private |
QAction* US_Plot3Dxyz::gridlAct |
|
private |
QAction* US_Plot3Dxyz::gridrAct |
|
private |
double US_Plot3Dxyz::gridres |
|
private |
bool US_Plot3Dxyz::have_ed |
|
private |
QAction* US_Plot3Dxyz::hiddlnAct |
|
private |
QAction* US_Plot3Dxyz::iconAct |
|
private |
QGridLayout* US_Plot3Dxyz::mainLayout |
|
private |
QAction* US_Plot3Dxyz::movieAct |
|
private |
int US_Plot3Dxyz::ncols_i |
|
private |
QAction* US_Plot3Dxyz::nodataAct |
|
private |
QAction* US_Plot3Dxyz::noneAct |
|
private |
QSlider* US_Plot3Dxyz::normlSlider |
|
private |
QSlider* US_Plot3Dxyz::normqSlider |
|
private |
QAction* US_Plot3Dxyz::normsAct |
|
private |
int US_Plot3Dxyz::nrows_i |
|
private |
QAction* US_Plot3Dxyz::openAct |
|
private |
QAction* US_Plot3Dxyz::openffAct |
|
private |
QPushButton* US_Plot3Dxyz::pb_light |
|
private |
QPushButton* US_Plot3Dxyz::pb_std |
|
private |
QSlider* US_Plot3Dxyz::poffsSlider |
|
private |
QAction* US_Plot3Dxyz::polygnAct |
|
private |
QAction* US_Plot3Dxyz::qwtpltAct |
|
private |
int US_Plot3Dxyz::redrawWait |
|
private |
QSlider* US_Plot3Dxyz::resolSlider |
|
private |
bool US_Plot3Dxyz::reverse_y |
|
private |
QVBoxLayout* US_Plot3Dxyz::rightLayout |
|
private |
QGridLayout* US_Plot3Dxyz::rsliderLayout |
|
private |
QAction* US_Plot3Dxyz::saveAct |
|
private |
QAction* US_Plot3Dxyz::scattdAct |
|
private |
bool US_Plot3Dxyz::skip_plot |
|
private |
QVector< QVector< Triple > > US_Plot3Dxyz::tdata |
|
private |
QTimer* US_Plot3Dxyz::timer |
|
private |
QFont US_Plot3Dxyz::titleFont |
|
private |
bool US_Plot3Dxyz::triples_in |
|
private |
QAction* US_Plot3Dxyz::wirefrAct |
|
private |
double US_Plot3Dxyz::x_norm |
|
private |
double US_Plot3Dxyz::x_scale |
|
private |
QString US_Plot3Dxyz::xatitle |
|
private |
double US_Plot3Dxyz::xmax |
|
private |
double US_Plot3Dxyz::xmin |
|
private |
double US_Plot3Dxyz::xscale |
|
private |
QVector< QVector3D >* US_Plot3Dxyz::xyzdat |
|
protected |
double US_Plot3Dxyz::y_norm |
|
private |
double US_Plot3Dxyz::y_scale |
|
private |
QString US_Plot3Dxyz::yatitle |
|
private |
double US_Plot3Dxyz::ymax |
|
private |
double US_Plot3Dxyz::ymin |
|
private |
double US_Plot3Dxyz::yscale |
|
private |
double US_Plot3Dxyz::z_norm |
|
private |
double US_Plot3Dxyz::z_scale |
|
private |
QString US_Plot3Dxyz::zatitle |
|
private |
QVector< QVector< double > > US_Plot3Dxyz::zdata |
|
private |
double US_Plot3Dxyz::zfloor |
|
private |
double US_Plot3Dxyz::zmax |
|
private |
double US_Plot3Dxyz::zmin |
|
private |
double US_Plot3Dxyz::zscale |
|
private |
The documentation for this class was generated from the following files: