00001 // 00002 // Constants.h 00003 // RayWay 00004 // 00005 // Created by Ulrich Lehner on 07.11.10. 00006 // Copyright 2010 TU Wien. All rights reserved. 00007 // 00008 00009 #define kHistogrammResolution 256 00010 #define kMaxBatchSize 100 00011 #define kNodeSize 10 00012 #define kMinNodeDistance 20 00013 00014 #define kNodeChangedNotification @"NodeChanged" 00015 #define kNodeChangeApplied @"NodesApplied" 00016 00017 #define MAX3(a,b,c) ( ((a) > (b)) ? ((a) > (c) ? (a) : (c)) : ((b) > (c) ? (b) : (c)) ) 00018 00019 typedef enum {kXAxis, kYAxis, kZAxis} ViewAxis2D; 00020 typedef enum {k2DTexture, k3DTexture} TextureMode; 00021 typedef enum {kRender2D, kRender3D} RenderMode; 00022 00023 //NSCoder Constants 00024 00025 #define kTransferNode @"transferNode" 00026 #define kNodeColor @"nodecolor" 00027 #define kIntensity @"intensity" 00028 #define kOpacity @"opacity" 00029 #define kX @"x" 00030 #define kY @"y"