00001
00013 #ifndef __GLOBALS__
00014 #define __GLOBALS__
00015
00016 #pragma once
00017
00018 #include "color.h"
00019 #include <math.h>
00020 #include <QtDebug>
00021 #include <QColor>
00022
00024 enum DIMENSION {
00025 X_DIM,
00026 Y_DIM,
00027 Z_DIM,
00028 };
00029
00031 enum RENDERMODE {
00032 RM_SLICES,
00033 RM_PREVIEW,
00034 RM_FULL,
00035 RM_REFINE
00036 };
00037
00039 enum FILTER {
00040 FL_NONE,
00041 FL_TRILINEAR
00042 };
00043
00044 #define INF (float)99999999.0
00045
00046 class Volume;
00047 class Transferfunction;
00048 class SliceRenderer;
00049
00050 extern "C" {
00051
00052 extern Volume *gpVolume;
00053 extern Transferfunction *gpTransferfunction;
00054 extern SliceRenderer *gpSliceRenderer;
00055 extern QApplication *gpApplication;
00056 }
00057
00058 #endif