#include <windows.h>#include <iostream>#include <math.h>#include <tchar.h>#include "glew/glew.h"#include "glut/glut.h"#include "glut/glext.h"#include <gl/gl.h>#include <gl/glu.h>#include "CommonMethods.h"Defines | |
| #define | VC_EXTRALEAN |
| #define | WINVER 0x0400 |
| #define | _WIN32_WINNT 0x0400 |
| #define | _WIN32_WINDOWS 0x0410 |
| #define | _ATL_CSTRING_EXPLICIT_CONSTRUCTORS |
| #define | _AFX_ALL_WARNINGS |
| #define | PI 3.14159265358979323846f |
Variables | |
| const int | LOG_LEVEL = LOG_LEVEL_FATAL_ERROR |
| const char | LUVIS_NAME [] = "LU Visualisierung 2006" |
| const char | LUVIS_VERSION [] = "0.2" |
| const bool | IMPORT_DAT = true |
| const bool | IMPORTER_DATA_ENHANCEMENT = true |
| const bool | IMPORTER_DATA_ENHANCEMENT_INTERPOLATE = false |
| const bool | IMPORTER_DATA_ENHANCEMENT_GRADIENT = false |
| const bool | IMPORTER_DATA_ENHANCEMENT_RESIZE = true |
| const char | IMPORT_DAT_PATHTODEGBUG [] = "D:\\Eigene Dateien\\TU Wien\\LUVis\\LuVis\\lobster.dat" |
| const char | IMPORT_DAT_DEFAULTDIR [] = "D:\\Eigene Dateien\\TU Wien\\VU\\" |
| const char | IMPORT_DAT_FILTER [] = "dat Files (*.dat)|*.dat|All Files (*.*)|*.*||" |
| const int | WINDOW_WIDTH = 720 |
| const int | WINDOW_HEIGHT = 480 |
| const bool | WINDOW_CENTER = true |
| const int | WINDOW_POSX = 0 |
| const int | WINDOW_POSY = 0 |
| const GLfloat | PERSP_FIELDOFVIEW = 45.0f |
| const GLfloat | PERSP_NEARCLIPPING = 0.1f |
| const GLfloat | PERSP_FARCLIPPING = 100.0f |
| const bool | VIEWING_ALLOW_PAN = true |
| const bool | VIEWING_ALLOW_ZOOM = true |
| const bool | VIEWING_ALLOW_ROTATE = true |
| const bool | VIEWING_DRAW_CROSS = false |
| const bool | VIEWING_DRAW_CUBE = false |
| const bool | VIEWING_DRAW_BBOX = false |
| const bool | VIEWING_3DTEXTURE = true |
| const bool | VIEWING_SHADER = true |
| const bool | TRANSFER_POINTS_BOUNDINGBOX = true |
| const int | TRANSFER_POINTS_OFFSET = 3 |
| const int | TRANSFER_COLOR_DATARANGE = 4096 |
| const bool | TRANSFER_ENABLE_OPACITY = true |
| const bool | VOLUME_3DTEXTURE = true |
| const bool | SHADER_ENABLE = true |
| const char | SHADER_SLICE_FRAGMENT_NAME [] = "RendererSlicerFragment.glsl" |
| const char | SHADER_SLICE_VERTEX_NAME [] = "RendererSlicerVertex.glsl" |
| const char | SHADER_RAYCAST_FRAGMENT_NAME [] = "RendererRayCasterFragment.glsl" |
| const char | SHADER_RAYCAST_VERTEX_NAME [] = "RendererRayCasterVertex.glsl" |
| const char | SHADER_BOUNDS_FRAGMENT_NAME [] = "RendererRayCasterBoundsFragment.glsl" |
| const char | SHADER_BOUNDS_VERTEX_NAME [] = "RendererRayCasterBoundsVertex.glsl" |
| const int | SHADER_MAX_STEPS = 255 |
| const int | SHADER_MIN_STEPS = 50 |
| #define _AFX_ALL_WARNINGS |
| #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS |
| #define _WIN32_WINDOWS 0x0410 |
| #define _WIN32_WINNT 0x0400 |
| #define PI 3.14159265358979323846f |
| #define VC_EXTRALEAN |
| #define WINVER 0x0400 |
| const bool IMPORT_DAT = true |
| const char IMPORT_DAT_DEFAULTDIR[] = "D:\\Eigene Dateien\\TU Wien\\VU\\" |
| const char IMPORT_DAT_FILTER[] = "dat Files (*.dat)|*.dat|All Files (*.*)|*.*||" |
| const char IMPORT_DAT_PATHTODEGBUG[] = "D:\\Eigene Dateien\\TU Wien\\LUVis\\LuVis\\lobster.dat" |
| const bool IMPORTER_DATA_ENHANCEMENT = true |
| const bool IMPORTER_DATA_ENHANCEMENT_GRADIENT = false |
| const bool IMPORTER_DATA_ENHANCEMENT_INTERPOLATE = false |
| const bool IMPORTER_DATA_ENHANCEMENT_RESIZE = true |
| const int LOG_LEVEL = LOG_LEVEL_FATAL_ERROR |
| const char LUVIS_NAME[] = "LU Visualisierung 2006" |
| const char LUVIS_VERSION[] = "0.2" |
| const GLfloat PERSP_FARCLIPPING = 100.0f |
| const GLfloat PERSP_FIELDOFVIEW = 45.0f |
| const GLfloat PERSP_NEARCLIPPING = 0.1f |
| const char SHADER_BOUNDS_FRAGMENT_NAME[] = "RendererRayCasterBoundsFragment.glsl" |
| const char SHADER_BOUNDS_VERTEX_NAME[] = "RendererRayCasterBoundsVertex.glsl" |
| const bool SHADER_ENABLE = true |
| const int SHADER_MAX_STEPS = 255 |
| const int SHADER_MIN_STEPS = 50 |
| const char SHADER_RAYCAST_FRAGMENT_NAME[] = "RendererRayCasterFragment.glsl" |
| const char SHADER_RAYCAST_VERTEX_NAME[] = "RendererRayCasterVertex.glsl" |
| const char SHADER_SLICE_FRAGMENT_NAME[] = "RendererSlicerFragment.glsl" |
| const char SHADER_SLICE_VERTEX_NAME[] = "RendererSlicerVertex.glsl" |
| const int TRANSFER_COLOR_DATARANGE = 4096 |
| const bool TRANSFER_ENABLE_OPACITY = true |
| const bool TRANSFER_POINTS_BOUNDINGBOX = true |
| const int TRANSFER_POINTS_OFFSET = 3 |
| const bool VIEWING_3DTEXTURE = true |
| const bool VIEWING_ALLOW_PAN = true |
| const bool VIEWING_ALLOW_ROTATE = true |
| const bool VIEWING_ALLOW_ZOOM = true |
| const bool VIEWING_DRAW_BBOX = false |
| const bool VIEWING_DRAW_CROSS = false |
| const bool VIEWING_DRAW_CUBE = false |
| const bool VIEWING_SHADER = true |
| const bool VOLUME_3DTEXTURE = true |
| const bool WINDOW_CENTER = true |
| const int WINDOW_HEIGHT = 480 |
| const int WINDOW_POSX = 0 |
| const int WINDOW_POSY = 0 |
| const int WINDOW_WIDTH = 720 |
1.4.7