MainWindow Class Reference

#include <MainWindow.h>

Inheritance diagram for MainWindow:

Inheritance graph
[legend]
Collaboration diagram for MainWindow:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 17 of file MainWindow.h.


Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor of the MainWindow class

Parameters:
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.

Here is the call graph for this function:

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.


Member Function Documentation

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]

Definition at line 143 of file MainWindow.h.

Referenced by MainWindow().

void MainWindow::setDefault1 (  )  [inline, slot]

Definition at line 144 of file MainWindow.h.

Referenced by MainWindow().

void MainWindow::setDefault2 (  )  [inline, slot]

Definition at line 145 of file MainWindow.h.

Referenced by MainWindow().

void MainWindow::setDefault3 (  )  [inline, slot]

Definition at line 146 of file MainWindow.h.

Referenced by MainWindow().

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


The documentation for this class was generated from the following files:
Generated on Mon Dec 10 18:18:21 2007 for VisLU by  doxygen 1.5.4