-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPathController.h
More file actions
339 lines (237 loc) · 8.23 KB
/
Copy pathPathController.h
File metadata and controls
339 lines (237 loc) · 8.23 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
//
// Path.h
// VisualFeedback
//
// Created by Nicole Lehrer on 12/22/11.
// Copyright 2011 ASU. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "DashHeaders.h"
#import "Transform.h"
#import "Texture2d.h"
@interface PathController : NSObject{
float imageScalarX;
float imageScalarY;
NSMutableArray * textureIDList4;
NSMutableArray * textureIDList3;
NSMutableArray * textureIDList2;
NSMutableArray * textureIDList1;
NSMutableArray * posHorizDisplacement;
NSMutableArray * posVertDisplacement_posHoriz;
NSMutableArray * posVertDisplacement_negHoriz;
NSMutableArray * negHorizDisplacement;
NSMutableArray * negVertDisplacement_posHoriz;
NSMutableArray * negVertDisplacement_negHoriz;
NSMutableArray * posHorizCategory;
NSMutableArray * posVertCategory_posHoriz;
NSMutableArray * posVertCategory_negHoriz;
NSMutableArray * negHorizCategory;
NSMutableArray * negVertCategory_posHoriz;
NSMutableArray * negVertCategory_negHoriz;
NSMutableArray * posVertDisplacement;
NSMutableArray * posVertCategory;
NSMutableArray * negVertDisplacement;
NSMutableArray * negVertCategory;
NSMutableArray * horizDirectionAtNegVert;
NSMutableArray * horizDirectionAtPosVert;
//errorRocks
float amplitude;
float pathZprimeSpread;
float pathSlope;
float zPrimeError;
float horizShift;
float horizErrorAmper;
float vertShift;
float scatterMag;
float totalRocks;
float errorDuration;
float rotateRocks;
float scaleZone1;
float scaleZone2;
float scaleZone3;
float scaleZone4;
float scaleZone5;
float scaleZone6;
float scaleZone7;
float scaleZone8;
float imageHeightRocks;
float imageWidthRocks;
int binNumber;
int filterType;
int targetDescriptor;
NSArray * scaleFactors;
float magHoriz[50];
float catHoriz[50];
float magVert[50];
float catVert[50];
float magHorizNeg[50];
float catHorizNeg[50];
float magVertNeg[50];
float catVertNeg[50];
float scatterGain;
float scatter[50];
int texNumberList[50];
int texNumberList2[50];
int texNumberList3[50];
int texNumberList4[50];
float scatterError[50];
float scatterError2[50];
int segmentArray[12];
float transX;
float transY;
float transZ;
float rotX;
float rotY;
float rotZ;
float testOpacityDepreciation;
float errorAmp;
float errorAmp2;
float errorAmp3;
float errorAmp4;
float errorAmpFactor;
float errorAmpFactor2;
float errorAmpFactor3;
float errorAmpFactor4;
float errorAmpFactor5;
float errorAmpFactor6;
BOOL enableTallRocks;
float plotCenterX;
float plotCenterY;
float plotScaleX;
float plotScaleY;
BOOL caseDefaultColor;
float scaleAdder1;
float scaleAdder2;
float scaleAdder3;
float scaleAdder4;
float scaleAdder5;
float scaleAdder6;
float scaleAdder7;
float scaleAdder8;
float scaleAdder9;
int mappingChange;
int mappingChangeAtBin;
float opacity;
}
-(void) drawTexturesDisplacedFromPath;
-(void) drawTexturesInPath;
-(void) drawPlotWithState:(GraphicsState *)state andOpacity:(float)adaptableOpacity;
-(void) mixTextures;
@property (retain) DTime * timekeeper;
@property (retain) Texture2d * g5glim1;
@property (retain) Texture2d * g5glim2;
@property (assign) float rocksScaleX;
@property (assign) float rocksScaleY;
@property (assign) float opacity;
@property (retain) NSMutableArray * greenTextures;
@property (retain) NSMutableArray * yellowTextures;
@property (retain) NSMutableArray * redTextures;
@property (retain) NSMutableArray * tallYellowTextures;
@property (retain) NSMutableArray * tallRedTextures;
@property (retain) NSMutableArray * shallowRedTextures;
@property (retain) NSMutableArray * shallowYellowTextures;
@property (retain) NSMutableArray * textureIDList4;
@property (retain) NSMutableArray * textureIDList3;
@property (retain) NSMutableArray * textureIDList2;
@property (retain) NSMutableArray * textureIDList1;
@property (retain) NSMutableArray * posHorizDisplacement;
@property (retain) NSMutableArray * posVertDisplacement_posHoriz;
@property (retain) NSMutableArray * posVertDisplacement_negHoriz;
@property (retain) NSMutableArray * negHorizDisplacement;
@property (retain) NSMutableArray * negVertDisplacement_posHoriz;
@property (retain) NSMutableArray * negVertDisplacement_negHoriz;
@property (retain) NSMutableArray * posHorizCategory;
@property (retain) NSMutableArray * posVertCategory_posHoriz;
@property (retain) NSMutableArray * posVertCategory_negHoriz;
@property (retain) NSMutableArray * negHorizCategory;
@property (retain) NSMutableArray * negVertCategory_posHoriz;
@property (retain) NSMutableArray * negVertCategory_negHoriz;
@property (retain) NSMutableArray * posVertDisplacement;
@property (retain) NSMutableArray * posVertCategory;
@property (retain) NSMutableArray * negVertDisplacement;
@property (retain) NSMutableArray * negVertCategory;
@property (retain) NSMutableArray * horizDirectionAtNegVert;
@property (retain) NSMutableArray * horizDirectionAtPosVert;
@property (assign) float imageScalarX;
@property (assign) float imageScalarY;
@property (retain) NSArray * scaleFactors;
@property(assign) float pathZprimeSpread;
@property(assign) float pathSlope;
@property(assign) float zPrimeError;
@property(assign) float amplitude;
@property(assign) float horizShift;
@property(assign) float horizErrorAmper;
@property(assign) float vertShift;
@property(assign) float heightToWidthRatio;
@property(assign) float ampHeightFactor;
@property(assign) float scatterGain;
@property(assign) float scatterMag;
@property(assign) float totalRocks;
@property(assign) float errorDuration;
@property(assign) float rotateRocks;
@property(assign) float scaleZone1;
@property(assign) float scaleZone2;
@property(assign) float scaleZone3;
@property(assign) float scaleZone4;
@property(assign) float scaleZone5;
@property(assign) float scaleZone6;
@property(assign) float scaleZone7;
@property(assign) float scaleZone8;
@property(assign) float errorAmpFactor;
@property(assign) float errorAmpFactor2;
@property(assign) float errorAmpFactor3;
@property(assign) float errorAmpFactor4;
@property(assign) float errorAmpFactor5;
@property(assign) float errorAmpFactor6;
@property(assign) float imageHeightRocks;
@property(assign) float imageWidthRocks;
@property(assign) int binNumber;
@property(assign) int filterType;
@property(assign) int targetDescriptor;
@property(assign) float transX;
@property(assign) float transY;
@property(assign) float transZ;
@property(assign) float rotX;
@property(assign) float rotY;
@property(assign) float rotZ;
@property(assign) float errorAmp;
@property(assign) float errorAmp2;
@property(assign) float errorAmp3;
@property(assign) float errorAmp4;
@property(assign) float testOpacityDepreciation;
@property(assign) BOOL enableTallRocks;
@property(assign) float plotCenterX;
@property(assign) float plotCenterY;
@property(assign) float plotScaleX;
@property(assign) float plotScaleY;
@property(assign) BOOL caseDefaultColor;
@property(assign) float scaleAdder1;
@property(assign) float scaleAdder2;
@property(assign) float scaleAdder3;
@property(assign) float scaleAdder4;
@property(assign) float scaleAdder5;
@property(assign) float scaleAdder6;
@property(assign) float scaleAdder7;
@property(assign) float scaleAdder8;
@property(assign) float scaleAdder9;
@property(assign) int mappingChange;
@property(assign) int mappingChangeAtBin;
@property(assign) float scaleNegYValleyX;
@property(assign) float scaleNegYValleyY;
@property(assign) float group1Magnitudes;
@property(assign) float group2Magnitudes;
@property(assign) float group3Magnitudes;
@property(assign) float group4Magnitudes;
@property(assign) float group1Categories;
@property(assign) float group2Categories;
@property(assign) float group3Categories;
@property(assign) float group4Categories;
@property(assign) BOOL testHorizGroup1;
@property(assign) BOOL testHorizGroup2;
@property(assign) BOOL testHorizGroup3;
@property(assign) BOOL testHorizGroup4;
@property(assign) BOOL testVertGroup1;
@property(assign) BOOL testVertGroup2;
@property(assign) BOOL testVertGroup3;
@property(assign) BOOL testVertGroup4;
@end