Go to the documentation of this file.00001
00005 #import <Cocoa/Cocoa.h>
00006 #import "ColorCodingView.h"
00007 #import "FlowData.h"
00008
00009 @interface SettingsController : NSWindowController <NSTabViewDelegate> {
00010 NSMutableArray *layers;
00011
00012 NSTabView *tabView;
00013 NSTableView *tableView;
00014
00015 NSComboBox *channelBox;
00016
00017 ColorCodingView *colorCodingView;
00018
00019 NSString *dataName;
00020
00021 FlowData *data;
00022
00023 NSColorWell *arrCWell;
00024 NSColorWell *slCWell;
00025
00026 NSSlider *arrLengthSlider;
00027 NSSlider *arrDistanceSlider;
00028
00029 NSSlider *slDensitySlider;
00030 NSSlider *slStepSlider;
00031 NSSlider *slStepWidhtSlider;
00032
00033 NSTextField *lengthTxt;
00034 NSTextField *distanceTxt;
00035
00036 NSTextField *densityLabel;
00037 NSTextField *stepsLabel;
00038 NSTextField *stepWidthLabel;
00039 }
00040
00044 @property (retain) IBOutlet NSColorWell *arrCWell;
00045 @property (retain) IBOutlet NSColorWell *slCWell;
00046 @property (retain) IBOutlet NSSlider *arrLengthSlider;
00047 @property (retain) IBOutlet NSSlider *arrDistanceSlider;
00048 @property (retain) IBOutlet NSSlider *slDensitySlider;
00049 @property (retain) IBOutlet NSSlider *slStepSlider;
00050 @property (retain) IBOutlet NSSlider *slStepWidhtSlider;
00051 @property (retain) IBOutlet NSTextField *lengthTxt;
00052 @property (retain) IBOutlet NSTextField *distanceTxt;
00053 @property (retain) IBOutlet NSTextField *densityLabel;
00054 @property (retain) IBOutlet NSTextField *stepsLabel;
00055 @property (retain) IBOutlet NSTextField *stepWidthLabel;
00056 @property (retain) IBOutlet NSTabView *tabView;
00057 @property (retain) IBOutlet NSTableView *tableView;
00058 @property (retain) IBOutlet ColorCodingView *colorCodingView;
00059 @property (retain) IBOutlet NSComboBox *channelBox;
00060
00064 @property (assign) FlowData *data;
00065
00069 @property (copy) NSArray *layers;
00070
00074 - (void)setDataName:(NSString *)_dataName;
00075
00079 - (IBAction)openFileChooser:(id)sender;
00080
00084 - (IBAction)addLayer:(id)sender;
00085
00089 - (IBAction)removeLayer:(id)sender;
00090
00094 - (IBAction)setLayerActive:(id)sender;
00095
00099 - (IBAction)setLayerAlpha:(id)sender;
00100
00104 - (IBAction)setArrowSlider:(id)sender;
00105
00109 - (IBAction)setARColor:(id)sender;
00110
00114 - (IBAction)setSLAlgo:(id)sender;
00115
00119 - (IBAction)setStreamLineSlider:(id)sender;
00120
00124 - (IBAction)setSLColor:(id)sender;
00125
00129 - (IBAction)enableSLFeature:(id)sender;
00130
00136 - (NSArray *)getAllActiveLayers;
00137
00143 - (NSArray *)getAllActiveArrowLayers;
00144
00150 - (NSArray *)getAllActiveStreamLineLayers;
00151
00157 - (NSArray *)getAllActiveCCLayers;
00158
00159 @end