Go to the documentation of this file.00001 
00005 @interface TransferPanel : NSView {
00006         
00007 
00008 
00009         NSGradient *gradient;
00010         
00011         
00012 
00013 
00014         NSColor *startingColor;
00015         
00016 
00017 
00018         NSColor *endingColor;
00019         
00020         
00021 
00022 
00023         BOOL colorChanged;
00024         
00025 
00026 
00027         BOOL histogrammEnabled;
00028         
00029         
00030 
00031 
00032         int *histogramm;
00033         int nodeCount;
00034         NSUInteger maxHistValue;
00035         
00036         NSButton *checkBox;
00037         NSBezierPath *transferPath;
00038         NSMutableArray *transferNodes;
00039         
00040         int activeNode;
00041 }
00042 
00043 
00044 
00045 
00046 @property (nonatomic, retain) IBOutlet NSButton *checkBox;
00047 
00048 
00049 
00050 @property (nonatomic) NSUInteger maxHistValue;
00051 
00052 
00053 
00054 @property (nonatomic) int activeNode;
00055 
00056 
00057 
00058 @property (nonatomic) int nodeCount;
00059 
00060 
00061 
00062 @property (nonatomic, retain) NSBezierPath *transferPath;
00063 
00064 
00065 
00066 @property (nonatomic, retain) NSMutableArray *transferNodes;
00067 
00072 - (void)reloadGradient;
00078 - (void)setStartColor:(NSColor *)startColor;
00084 - (void)setEndColor:(NSColor *)endColor;
00092 - (void)setHistogramm:(int *)hist withMaxValue:(NSUInteger)maxValue;
00099 - (IBAction)checkBoxClicked:(id)sender;
00106 - (IBAction)saveTransferfunction:(id)sender;
00113 - (IBAction)openTransferfunction:(id)sender;
00118 - (void)dealloc;
00119 
00120 @end