-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDrawError.h
214 lines (167 loc) · 4.84 KB
/
DrawError.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
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
//
// DrawError.h
// DrawError
//
// Created by Loren Olson on 10/8/07.
// Copyright 2007 Arizona State University. All rights reserved.
//
// This class implements a SCREM Render Engine plugin named DrawError.
#import <Cocoa/Cocoa.h>
#import "PluginManager.h"
#import "Transform.h"
#import "Material.h"
#import "Texture2d.h"
#import "TextureController.h"
#import "Shader.h"
#import "TimeController.h"
#import "BFScenario.h"
#import "DAnimateFloat.h"
#import "BFAbstract.h"
#import "BFTaskControl.h"
@class DTime;
@class DAnimateFloat;
@class Texture2d;
@interface DrawError : Transform <DashPluginProtocol> {
Texture2d * redTexture;
Texture2d * greyTexture;
Texture2d * frameTexture;
BFAnalysis * analysis;
BFAbstract * abstract;
BFTaskControl * task;
NSMutableArray * spatialErrorValuesCopy;
DAnimateFloat * errorIntensityAnimation;
float intensityFader;
BOOL turnAnalysisOn;
BOOL turnGreySpaceOn;
float maxHandTrajErrorXE;
float maxHandTrajErrorYE;
float maxHandTrajErrorXM;
float maxHandTrajErrorYM;
float maxHandTrajErrorXM2;
float maxHandTrajErrorYM2;
float maxHandTrajErrorXL;
float maxHandTrajErrorYL;
float errorMagE;
float errorMagM;
float errorMagM2;
float errorMagL;
float S1;
float S2;
float S3;
float S4;
float S5;
float xDiameter;
float yDiameter;
int rad;
int radInnerE;
int radOuterE;
int radInnerM;
int radOuterM;
int radInnerM2;
int radOuterM2;
int radInnerL;
int radOuterL;
int thetaE;
int thetaM;
int thetaM2;
int thetaL;
int angleStep;
int magnitudeMappingType;
int smallCount;
int mediumCount;
int largeCount;
int continuousFactor;
float texCountE;
float texCountM;
float texCountM2;
float texCountL;
float intensityE;
float intensityM;
float intensityM2;
float intensityL;
float intensityEgrey;
float intensityMgrey;
float intensityM2grey;
float intensityLgrey;
float smallErrorUpperBound;
float mediumErrorUpperBound;
float largeErrorUpperBound;
float errorThreshold;
float xDiameterFactorE;
float yDiameterFactorE;
float xDiameterFactorM;
float yDiameterFactorM;
float xDiameterFactorM2;
float yDiameterFactorM2;
float xDiameterFactorL;
float yDiameterFactorL;
}
@property(assign) float intensityFader;
@property(assign) float xDiameterFactorE;
@property(assign) float yDiameterFactorE;
@property(assign) float xDiameterFactorM;
@property(assign) float yDiameterFactorM;
@property(assign) float xDiameterFactorM2;
@property(assign) float yDiameterFactorM2;
@property(assign) float xDiameterFactorL;
@property(assign) float yDiameterFactorL;
@property(assign) float errorThreshold;
@property(assign) int magnitudeMappingType;
@property(assign) float smallErrorUpperBound;
@property(assign) float mediumErrorUpperBound;
@property(assign) float largeErrorUpperBound;
@property(assign) BOOL turnGreySpaceOn;
@property(assign) BOOL turnAnalysisOn;
@property(assign) int rad;
@property(assign) int radInnerE;
@property(assign) int radOuterE;
@property(assign) int radInnerM;
@property(assign) int radOuterM;
@property(assign) int radInnerM2;
@property(assign) int radOuterM2;
@property(assign) int radInnerL;
@property(assign) int radOuterL;
@property(assign) float intensityE;
@property(assign) float intensityM;
@property(assign) float intensityM2;
@property(assign) float intensityL;
@property(assign) float intensityEgrey;
@property(assign) float intensityMgrey;
@property(assign) float intensityM2grey;
@property(assign) float intensityLgrey;
@property(assign) float xDiameter;
@property(assign) float yDiameter;
@property(assign) int thetaE;
@property(assign) int thetaM;
@property(assign) int thetaM2;
@property(assign) int thetaL;
@property(assign) int angleStep;
@property(assign) float S1;
@property(assign) float S2;
@property(assign) float S3;
@property(assign) float S4;
@property(assign) float S5;
@property(assign) float maxHandTrajErrorXE;
@property(assign) float maxHandTrajErrorYE;
@property(assign) float maxHandTrajErrorXM;
@property(assign) float maxHandTrajErrorYM;
@property(assign) float maxHandTrajErrorXM2;
@property(assign) float maxHandTrajErrorYM2;
@property(assign) float maxHandTrajErrorXL;
@property(assign) float maxHandTrajErrorYL;
@property(assign) float errorMagE;
@property(assign) float errorMagM;
@property(assign) float errorMagM2;
@property(assign) float errorMagL;
@property(assign) float texCountE;
@property(assign) float texCountM;
@property(assign) float texCountM2;
@property(assign) float texCountL;
@property(assign) int smallCount;
@property(assign) int mediumCount;
@property(assign) int largeCount;
@property(assign) int continuousFactor;
// class methods
+ (BOOL) initializePlugin:(NSBundle *)bundle;
+ (IBAction)showError:(id)sender;
@end