#include "compiler_options.h"#include <glew/glew.h>#include <GL/glu.h>#include <devil/il.h>#include <windows.h>#include <commdlg.h>#include <stdlib.h>#include <io.h>#include <math.h>#include <iostream>#include <sstream>#include <string>


Go to the source code of this file.
Classes | |
| class | eat |
Defines | |
| #define | TF_TEXTURE_SIZE 4096 |
| #define | PI 3.14159265f |
| #define | BOUNDARY 0.9125f |
| #define | SLIDER_RANGE 4096 |
| #define | STEP_SLIDER_RANGE 1000 |
| #define | LIGHT_SLIDER_RANGE 100 |
| #define | DENSITY_COUNT 4096 |
| #define | OPENGL_SLICE_VIEW_SIZE 250 |
| #define | OPENGL_3D_VIEW_SIZE 600 |
| #define | NUMBER_OF_GL_WIDGETS 4 |
| #define | OPENGL_3D_VIEW 3 |
| #define | RENDER_3D_VIEW 3 |
| #define | NO_RENDER_3D_VIEW 4 |
| #define | SHOW_VOLUME 1 |
| #define | SHOW_FRONT_SIDE 2 |
| #define | SHOW_BACK_SIDE 3 |
Enumerations | |
| enum | AXIS { X_AXIS, Y_AXIS, Z_AXIS } |
| enum | SHADES { RED, GREEN, BLUE, ALPHA, SHADES_COUNT } |
| enum | RENDER_MODE { comp = 0, mip = 1, fh = 2, avg = 3, avgTF = 4, compPh = 5 } |
| enum | LIGHT_MODEL { diffuse = 0, ambient, specular, gloss } |
Functions | |
| template<class Type> | |
| const Type | fromString (const std::string &strString) |
| template<class Type> | |
| const bool | fromString (Type &tValue, const std::string &strString) |
| template<class Type> | |
| const std::string | toString (const Type &tValue) |
| const std::string | trimLeft (const std::string &str, const std::string &strWhitespace="\n\r\t ") |
| const std::string | trimRight (const std::string &str, const std::string &strWhitespace="\n\r\t ") |
| const std::string | trim (const std::string &str, const std::string &strWhitespace="\n\r\t ") |
| std::istream & | operator>> (std::istream &is, eat &e) |
| #define DENSITY_COUNT 4096 |
Definition at line 36 of file common.h.
Referenced by Volume::load(), Histogram::paintEvent(), and ShadeWidget::setHistogram().
| #define LIGHT_SLIDER_RANGE 100 |
Definition at line 34 of file common.h.
Referenced by MainWindow::setAmbient(), MainWindow::setDiffuse(), and MainWindow::setSpecular().
| #define NO_RENDER_3D_VIEW 4 |
Definition at line 45 of file common.h.
Referenced by OpenGLWidget::initializeGL(), MainWindow::MainWindow(), and OpenGLWidget::paintGL().
| #define NUMBER_OF_GL_WIDGETS 4 |
| #define OPENGL_3D_VIEW 3 |
Definition at line 42 of file common.h.
Referenced by OpenGLWidget::GenerateGradientTexture(), MainWindow::MainWindow(), OpenGLWidget::mouseMoveEvent(), OpenGLWidget::resizeGL(), MainWindow::setAmbient(), MainWindow::setAvg(), MainWindow::setAvgTF(), MainWindow::setComp(), MainWindow::setCompPh(), MainWindow::setDiffuse(), MainWindow::setFH(), MainWindow::setGloss(), OpenGLWidget::setLightValue(), MainWindow::setMIP(), OpenGLWidget::setRenderMode(), and MainWindow::setSpecular().
| #define RENDER_3D_VIEW 3 |
Definition at line 44 of file common.h.
Referenced by OpenGLWidget::initializeGL(), and OpenGLWidget::paintGL().
| #define SLIDER_RANGE 4096 |
| #define TF_TEXTURE_SIZE 4096 |
| enum LIGHT_MODEL |
| enum RENDER_MODE |
| const bool fromString | ( | Type & | tValue, | |
| const std::string & | strString | |||
| ) | [inline] |
| const Type fromString | ( | const std::string & | strString | ) | [inline] |
| std::istream& operator>> | ( | std::istream & | is, | |
| eat & | e | |||
| ) | [inline] |
Definition at line 181 of file common.h.
References eat::process().

| const std::string toString | ( | const Type & | tValue | ) | [inline] |
| const std::string trim | ( | const std::string & | str, | |
| const std::string & | strWhitespace = "\n\r\t " | |||
| ) | [inline] |
Definition at line 123 of file common.h.
References trimLeft(), and trimRight().

| const std::string trimLeft | ( | const std::string & | str, | |
| const std::string & | strWhitespace = "\n\r\t " | |||
| ) | [inline] |
| const std::string trimRight | ( | const std::string & | str, | |
| const std::string & | strWhitespace = "\n\r\t " | |||
| ) | [inline] |
1.5.4