7 #ifndef __window_windowAS_h__ 8 #define __window_windowAS_h__ 24 add(
marked, FE_USE(
"sel:marked"));
25 add(
selected, FE_USE(
"sel:selected"));
43 add(start, FE_USE(
"sel:start"));
44 add(end, FE_USE(
"sel:end"));
45 add(prev, FE_USE(
"sel:prev"));
64 add(start, FE_USE(
"pick:start"));
65 add(end, FE_USE(
"pick:end"));
66 add(startv, FE_USE(
"pick:startv"));
67 add(endv, FE_USE(
"pick:endv"));
68 add(focus, FE_USE(
"pick:focus"));
90 add(
name, FE_USE(
"col:name"));
91 add(rgba, FE_USE(
"col:rgba"));
105 void initialize(
void)
107 add(is, FE_USE(
"sel:selectable"));
118 void initialize(
void)
120 add(is, FE_USE(
"sel:parent"));
121 add(group, FE_USE(
"sel:group"));
128 class AsSelWorldSphere :
133 void initialize(
void)
135 add(is, FE_USE(
"sel:wld:sphere"));
136 add(location, FE_USE(
"spc:at"));
137 add(radius, FE_USE(
"bnd:radius"));
144 class AsSelWorldTriangle :
149 void initialize(
void)
151 add(is, FE_USE(
"sel:wld:tri"));
152 add(vertA, FE_USE(
"generic:v0"));
153 add(vertB, FE_USE(
"generic:v1"));
154 add(vertC, FE_USE(
"generic:v2"));
162 class AsSelScreenTriangle :
167 void initialize(
void)
169 add(is, FE_USE(
"sel:scr:tri"));
170 add(vertA, FE_USE(
"generic:v0"));
171 add(vertB, FE_USE(
"generic:v1"));
172 add(vertC, FE_USE(
"generic:v2"));
180 class AsDrawScreenTriangle :
185 void initialize(
void)
187 add(is, FE_USE(
"draw:scr:tri"));
188 add(vertA, FE_USE(
"generic:v0"));
189 add(vertB, FE_USE(
"generic:v1"));
190 add(vertC, FE_USE(
"generic:v2"));
200 class AsSelectableQuad :
205 void initialize(
void)
207 add(vertA, FE_USE(
"generic:v0"));
208 add(vertB, FE_USE(
"generic:v1"));
209 add(vertC, FE_USE(
"generic:v2"));
210 add(vertD, FE_USE(
"generic:v3"));
214 class AsSelectableRect :
219 void initialize(
void)
221 add(vertLo, FE_USE(
"generic:v0"));
222 add(vertHi, FE_USE(
"generic:v1"));
226 class AsSelectableExt :
231 void initialize(
void)
233 add(
data, FE_USE(
"generic:r"));
234 add(component, FE_USE(
"generic:c"));
247 void initialize(
void)
249 add(location, FE_USE(
"proj:location"));
262 void initialize(
void)
264 add(zoom, FE_USE(
"ortho:zoom"));
265 add(center, FE_USE(
"ortho:center"));
279 void initialize(
void)
281 add(matrix, FE_USE(
"persp:matrix"));
304 void initialize(
void)
306 add(component, FE_USE(
"cb:component"));
307 add(signal, FE_USE(
"cb:signal"));
UI selectable.
Definition: windowAS.h:100
Accessor< Record > signal
signal
Definition: windowAS.h:312
orthographic projection related
Definition: windowAS.h:257
Set of accessors.
Definition: AccessorSet.h:18
Accessor< Vector2 > center
view center
Definition: windowAS.h:270
Accessor< int > selecting
state of selection (bits - 0: not 1: replace 2: add 4: mark only)
Definition: windowAS.h:28
Accessor< Vector2 > start
2D start point of selection box
Definition: windowAS.h:48
Accessor< Real > zoom
zoom level
Definition: windowAS.h:268
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Accessor< Vector3 > startv
3D direction of selection
Definition: windowAS.h:73
Accessor< Vector3 > end
3D end point of selection
Definition: windowAS.h:75
world space selection
Definition: windowAS.h:57
Accessor< sp< RecordGroup > > selected
selected (post selection) records
Definition: windowAS.h:32
Accessor< Vector3 > start
3D start point of selection
Definition: windowAS.h:71
Accessor< Vector3 > endv
3D end direction of selection
Definition: windowAS.h:77
perspective projection related
Definition: windowAS.h:274
Accessor< Color > rgba
RGBA data.
Definition: windowAS.h:96
Accessor< void > is
marker for being selected
Definition: windowAS.h:110
const String & name(void) const
Return the components chosen name.
Definition: Component.h:77
Accessor< Vector3 > focus
3D point of focus
Definition: windowAS.h:79
general selection/picking
Definition: windowAS.h:16
color information
Definition: windowAS.h:83
Accessor< sp< RecordGroup > > marked
marked (mid selection) records
Definition: windowAS.h:30
Accessor< SpatialVector > location
marker for being selected
Definition: windowAS.h:252
Callback signal wrapper.
Definition: windowAS.h:299
Accessor< SpatialTransform > matrix
matrix (to be deprecated in favor of azimuth, incl, etc)
Definition: windowAS.h:284
Accessor< Vector2 > prev
2D previous end point of selection box
Definition: windowAS.h:52
Accessor< String > name
name
Definition: windowAS.h:94
Accessor< sp< Component > > component
signaler
Definition: windowAS.h:310
projected
Definition: windowAS.h:242
screen space selection
Definition: windowAS.h:36
Accessor< Vector2 > end
2D end point of selection box
Definition: windowAS.h:50