-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGreycstorationController.h
82 lines (72 loc) · 2.45 KB
/
GreycstorationController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* GreycstorationController */
#import <Cocoa/Cocoa.h>
#import "TaskWrapper.h"
//we conform to the ProcessController protocol, as defined in Process.h
@interface GreycstorationController : NSObject <TaskWrapperController>
{
IBOutlet NSSlider *mAngularStep;
IBOutlet NSStepper *mAngularStepStepper;
IBOutlet NSTextField *mAngularStepTextField;
IBOutlet NSSlider *mAnisotropy;
IBOutlet NSStepper *mAnisotropyStepper;
IBOutlet NSTextField *mAnisotropyTextField;
IBOutlet NSSlider *mContour;
IBOutlet NSStepper *mContourStepper;
IBOutlet NSTextField *mContourTextField;
IBOutlet NSButton *mFast;
IBOutlet NSSlider *mGeometry;
IBOutlet NSStepper *mGeometryStepper;
IBOutlet NSTextField *mGeometryTextField;
IBOutlet NSTextField *mInputFile;
IBOutlet NSPopUpButton *mInterpolationType;
IBOutlet NSSlider *mIteration;
IBOutlet NSStepper *mIterStepper;
IBOutlet NSTextField *mIterTextField;
IBOutlet NSSlider *mNoiseScale;
IBOutlet NSStepper *mNoiseScaleStepper;
IBOutlet NSTextField *mNoiseScaleTextField;
IBOutlet NSTextField *mOuputFile;
IBOutlet NSSlider *mSpatialStep;
IBOutlet NSTextField *mSpatialStepTextField;
IBOutlet NSStepper *mSpatialStepStepper;
IBOutlet NSSlider *mStrength;
IBOutlet NSStepper *mStrengthStepper;
IBOutlet NSTextField *mStrengthTextField;
IBOutlet NSWindow *window;
IBOutlet NSSlider *mCurve;
IBOutlet NSStepper *mCurveStepper;
IBOutlet NSTextField *mCurveTextField;
IBOutlet NSPopUpButton *mOutFormat;
IBOutlet NSTextField *mOutQuality;
IBOutlet NSTextField *mOutFile;
IBOutlet NSTextField *mAppendTo;
IBOutlet NSMatrix *mOutputType;
IBOutlet NSSlider *mOutputQualitySlider;
IBOutlet NSButton *mRestoreButton;
IBOutlet NSButton *mCancel;
IBOutlet NSImageView *mInputImage;
IBOutlet NSProgressIndicator *mProgress;
@private
BOOL findRunning;
TaskWrapper *greycstorationTask;
}
- (IBAction)about:(id)sender;
- (IBAction)chooseInputFile:(id)sender;
- (IBAction)chooseOutputFile:(id)sender;
- (IBAction)quit:(id)sender;
- (IBAction)restore:(id)sender;
- (IBAction)takeIter:(id)sender;
- (IBAction)takeStrength:(id)sender;
- (IBAction)takeContour:(id)sender;
- (IBAction)takeNoise:(id)sender;
- (IBAction)takeAngular:(id)sender;
- (IBAction)takeGeometry:(id)sender;
- (IBAction)takeAnisotropy:(id)sender;
- (IBAction)takeSpatial:(id)sender;
- (IBAction)takeCurve:(id)sender;
- (IBAction)resetDefaults:(id)sender;
// startup
- (void)awakeFromNib;
- (id)init;
- (void)dealloc;
@end