Constants.h

Go to the documentation of this file.
00001 #ifndef FLOW_CONSTANTS
00002 #define FLOW_CONSTANTS
00003 
00004 #define kMaxChannels 16
00005 #define kTransferResolution 4096
00006 #define kHistogrammResolution 256
00007 #define kMinNodeDistance 20
00008 #define kNodeSize 10
00009 #define kMaxArrowPlotStepSize 100
00010 
00011 #define kOpenFileNotification           @"OpenNewFile"
00012 #define kNewFile                                        @"NewFile"
00013 #define kUpdateTransferTexture          @"UpdateTransferTexture"
00014 #define kUpdateArrowNotification        @"UpdateArrow"
00015 #define kDataLoadedNotification         @"DataLoaded"
00016 #define kUpdateAlphaNotification        @"UpdataAlpha"
00017 #define kLayerChangedNotification       @"LayerChanged"
00018 
00019 #define kColumnActive   @"active"
00020 #define kColumnAlpha    @"alpha"
00021 #define kColumnType             @"type"
00022 
00023 #define kLayerType0             @"Arrow"
00024 #define kLayerType1             @"Streamline"
00025 #define kLayerType2             @"Colorcoding"
00026 
00027 #define kNodeColor      @"color"
00028 #define kIntensity      @"intensity"
00029 #define kOpacity        @"opacity"
00030 #define kX                      @"x"
00031 #define kY                      @"y"
00032 
00033 #define kLayerRemoved @"LayerRemoved"
00034 
00035 #define kTubeName               @"tube"
00036 #define kTubeChannel0   @"Pressure"
00037 #define kTubeChannel1   @"Vorticity"
00038 
00039 #define kHurricaneName          @"hurricane_p_tc"
00040 #define kHurricaneChannel0      @"Temperatur"
00041 #define kHurricaneChannel1      @"Wolkenwasseranteil"
00042 
00043 #define kLoadChannel    @"LoadChannel"
00044 
00045 #define kLayerDataType @"Layer"
00046 
00047 #define kMinArrowSize 5.0f
00048 #define kMaxArrowSize 50.0f
00049 #define kMAxArrowScaleFactor 3.0f
00050 
00051 #define PI 3.14159265358979323846f
00052 
00053 
00054 // TODO: rewrite this -> from other source      
00055 #define EULER         0   // euler-integration
00056 #define RUNGE_KUTTA2  1   // runge-kutta-integration of 2nd order
00057 
00058 typedef enum DimensionT {X = 0, Y, Z, DIMCOUNT} DimensionT;
00059 
00060 typedef enum {kRenderArrowPlot, kRenderStreamLine, kRenderColorCoding} RenderMode;
00061 
00062 #endif
00063 
00064 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines