00001 00005 #import <Cocoa/Cocoa.h> 00006 #import "ColorCodingLayer.h" 00007 #import "FlowData.h" 00008 00009 @interface ColorCodingView : NSView <NSComboBoxDelegate>{ 00010 00011 NSGradient *gradient; 00012 NSBezierPath *path; 00013 00014 ColorCodingLayer *flowLayer; 00015 00016 int activeNode; 00017 BOOL histogrammEnabled; 00018 00019 int selectedChannel; 00020 int maxHistValue; 00021 int *hist; 00022 00023 FlowData *data; 00024 } 00025 00029 @property (assign) FlowData *data; 00030 00034 @property (retain) NSGradient *gradient; 00035 00039 @property (retain) NSBezierPath *path; 00040 00044 @property int selectedChannel; 00045 00049 @property int activeNode; 00050 00054 @property int maxHistValue; 00055 00059 @property BOOL histogrammEnabled; 00060 00064 - (IBAction)enableHistogramm:(id)sender; 00065 00071 - (void)setFlowLayer:(ColorCodingLayer *)_layer; 00072 00073 @end