Langmuir
Simulation
|
A class to get isosurface parameters from the user. More...
#include <isosurfacedialog.h>
Public Slots | |
void | init () |
initialize dialog More... | |
void | update () |
update dialog More... | |
void | on_calculateButton_clicked () |
start isosurface calculation More... | |
void | setCalculateEnabled (bool enabled) |
allow isosurface calculation More... | |
void | setProgressRange (int low, int high) |
set progress bar range More... | |
void | setProgress (int value) |
set current value of progress bar More... | |
void | updateComboBoxMode (Mesh::Mode mode) |
update combo box text More... | |
void | updateSpinBoxAlpha (int value) |
update spin box value More... | |
void | on_comboBoxMode_currentTextChanged (const QString &text) |
set trap mesh render mode More... | |
void | on_spinBoxAlpha_valueChanged (int value) |
set trap mesh alpha value More... | |
void | extractAlpha (QColor color) |
get alpha component of color and emit it (using sendAlpha) More... | |
Signals | |
void | sendAlpha (int value) |
sendAlpha More... | |
Public Member Functions | |
IsoSurfaceDialog (LangmuirViewer &viewer, QWidget *parent=0) | |
create the IsoSurfaceDialog More... | |
~IsoSurfaceDialog () | |
destroy the IsoSurfaceDialog More... | |
Private Attributes | |
Ui::IsoSurfaceDialog * | ui |
dialog UI More... | |
LangmuirViewer & | m_viewer |
reference to OpenGL widget More... | |
A class to get isosurface parameters from the user.
|
explicit |
create the IsoSurfaceDialog
viewer | the viewer |
parent | QObject this belongs to |
LangmuirView::IsoSurfaceDialog::~IsoSurfaceDialog | ( | ) |
destroy the IsoSurfaceDialog
|
slot |
get alpha component of color and emit it (using sendAlpha)
color | color to analyze |
|
slot |
initialize dialog
|
slot |
start isosurface calculation
|
slot |
set trap mesh render mode
text | mode as string |
|
slot |
set trap mesh alpha value
value | value |
|
signal |
sendAlpha
value |
|
slot |
allow isosurface calculation
enabled | true if allowed |
|
slot |
set current value of progress bar
value | current progress |
|
slot |
set progress bar range
low | lower bound |
high | upper bound |
|
slot |
update dialog
|
slot |
update combo box text
mode | selection number |
|
slot |
update spin box value
value | value |
|
private |
reference to OpenGL widget
|
private |
dialog UI