#include <MainWindow.h>
Public Slots | |
void | setDefault0 () |
void | setDefault1 () |
void | setDefault2 () |
void | setDefault3 () |
void | setComp () |
void | setMIP () |
void | setAvg () |
void | setAvgTF () |
void | setFH () |
void | setCompPh () |
void | setAmbient (int) |
void | setDiffuse (int) |
void | setSpecular (int) |
void | setGloss (int) |
Signals | |
void | updateHistogram (const int *) |
void | releaseHistogram () |
Public Member Functions | |
MainWindow (QWidget *parent=0, Qt::WindowFlags flags=0) | |
virtual | ~MainWindow () |
void | resizeEvent (QResizeEvent *re) |
Definition at line 17 of file MainWindow.h.
MainWindow::MainWindow | ( | QWidget * | parent = 0 , |
|
Qt::WindowFlags | flags = 0 | |||
) |
Constructor of the MainWindow class
parent | this optional parameter defines a parent widget the created instance will be child of | |
flags | optional parameter defining extra widget options (see also the QT documentation) |
Definition at line 9 of file MainWindow.cpp.
References Ui_MainWindow::gridLayout, Ui_MainWindow::gridLayout1, Ui_MainWindow::gridLayout2, Ui_MainWindow::gridLayout3, Ui_MainWindow::m_actionClose, Ui_MainWindow::m_actionLoadTF, Ui_MainWindow::m_actionOpen, Ui_MainWindow::m_actionQuit, Ui_MainWindow::m_actionSaveTF, OpenGLWidget::m_Axis, Ui_MainWindow::m_button_tf, Ui_MainWindow::m_radioButton_avg, Ui_MainWindow::m_radioButton_avgTF, Ui_MainWindow::m_radioButton_comp, Ui_MainWindow::m_radioButton_compPh, Ui_MainWindow::m_radioButton_fh, Ui_MainWindow::m_radioButton_mip, Ui_MainWindow::m_slider_ka, Ui_MainWindow::m_slider_kd, Ui_MainWindow::m_slider_kg, Ui_MainWindow::m_slider_ks, Ui_MainWindow::m_tfPreset0, Ui_MainWindow::m_tfPreset1, Ui_MainWindow::m_tfPreset2, Ui_MainWindow::m_tfPreset3, Ui_MainWindow::m_verticalSlider_stepSize, Ui_MainWindow::m_verticalSlider_x, Ui_MainWindow::m_verticalSlider_y, Ui_MainWindow::m_verticalSlider_z, NO_RENDER_3D_VIEW, NUMBER_OF_GL_WIDGETS, OPENGL_3D_VIEW, releaseHistogram(), setAmbient(), setAvg(), setAvgTF(), setComp(), setCompPh(), setDefault0(), setDefault1(), setDefault2(), setDefault3(), setDiffuse(), setFH(), setGloss(), setMIP(), setSpecular(), Ui_MainWindow::setupUi(), updateHistogram(), X_AXIS, Y_AXIS, and Z_AXIS.
MainWindow::~MainWindow | ( | ) | [virtual] |
Destructor of the MainWindow class, defined virtual to guarantee that the destructor will be called even if the instance of this class is saved in a variable of a parent class type
Definition at line 110 of file MainWindow.cpp.
void MainWindow::resizeEvent | ( | QResizeEvent * | re | ) |
Resize of MainWindow - 3D-View of OpenGL resized
Definition at line 115 of file MainWindow.cpp.
References Ui_MainWindow::m_openGL3DView.
void MainWindow::updateHistogram | ( | const int * | ) | [signal] |
Referenced by MainWindow().
void MainWindow::releaseHistogram | ( | ) | [signal] |
Referenced by MainWindow().
void MainWindow::setDefault0 | ( | ) | [inline, slot] |
void MainWindow::setDefault1 | ( | ) | [inline, slot] |
void MainWindow::setDefault2 | ( | ) | [inline, slot] |
void MainWindow::setDefault3 | ( | ) | [inline, slot] |
void MainWindow::setComp | ( | ) | [inline, slot] |
Definition at line 148 of file MainWindow.h.
References comp, OPENGL_3D_VIEW, and OpenGLWidget::setRenderMode().
Referenced by MainWindow().
void MainWindow::setMIP | ( | ) | [inline, slot] |
Definition at line 149 of file MainWindow.h.
References mip, OPENGL_3D_VIEW, and OpenGLWidget::setRenderMode().
Referenced by MainWindow().
void MainWindow::setAvg | ( | ) | [inline, slot] |
Definition at line 150 of file MainWindow.h.
References avg, OPENGL_3D_VIEW, and OpenGLWidget::setRenderMode().
Referenced by MainWindow().
void MainWindow::setAvgTF | ( | ) | [inline, slot] |
Definition at line 151 of file MainWindow.h.
References avgTF, OPENGL_3D_VIEW, and OpenGLWidget::setRenderMode().
Referenced by MainWindow().
void MainWindow::setFH | ( | ) | [inline, slot] |
Definition at line 152 of file MainWindow.h.
References fh, OPENGL_3D_VIEW, and OpenGLWidget::setRenderMode().
Referenced by MainWindow().
void MainWindow::setCompPh | ( | ) | [inline, slot] |
Definition at line 153 of file MainWindow.h.
References compPh, OPENGL_3D_VIEW, and OpenGLWidget::setRenderMode().
Referenced by MainWindow().
void MainWindow::setAmbient | ( | int | val | ) | [slot] |
Definition at line 251 of file MainWindow.cpp.
References ambient, LIGHT_SLIDER_RANGE, OPENGL_3D_VIEW, and OpenGLWidget::setLightValue().
Referenced by MainWindow().
void MainWindow::setDiffuse | ( | int | val | ) | [slot] |
Definition at line 256 of file MainWindow.cpp.
References diffuse, LIGHT_SLIDER_RANGE, OPENGL_3D_VIEW, and OpenGLWidget::setLightValue().
Referenced by MainWindow().
void MainWindow::setSpecular | ( | int | val | ) | [slot] |
Definition at line 261 of file MainWindow.cpp.
References LIGHT_SLIDER_RANGE, OPENGL_3D_VIEW, OpenGLWidget::setLightValue(), and specular.
Referenced by MainWindow().
void MainWindow::setGloss | ( | int | val | ) | [slot] |
Definition at line 267 of file MainWindow.cpp.
References gloss, OPENGL_3D_VIEW, and OpenGLWidget::setLightValue().
Referenced by MainWindow().