28package com.jogamp.opengl.demos.graph.ui.testshapes;
30import com.jogamp.graph.curve.OutlineShape;
31import com.jogamp.graph.ui.GraphShape;
32import com.jogamp.opengl.GL2ES2;
33import com.jogamp.opengl.GLProfile;
46 @SuppressWarnings(
"unused")
61 shape.
addVertex(0, 0.728000f, 0.300000f,
true);
64 shape.
addVertex(0, 0.726000f, 0.381000f,
false);
65 shape.
addVertex(0, 0.690000f, 0.426000f,
true);
68 shape.
addVertex(0, 0.654000f, 0.471000f,
false);
69 shape.
addVertex(0, 0.588000f, 0.471000f,
true);
72 shape.
addVertex(0, 0.553000f, 0.471000f,
false);
73 shape.
addVertex(0, 0.526000f, 0.457000f,
true);
76 shape.
addVertex(0, 0.498000f, 0.443000f,
false);
77 shape.
addVertex(0, 0.478000f, 0.420000f,
true);
80 shape.
addVertex(0, 0.457000f, 0.396000f,
false);
81 shape.
addVertex(0, 0.446000f, 0.365000f,
true);
84 shape.
addVertex(0, 0.434000f, 0.334000f,
false);
85 shape.
addVertex(0, 0.432000f, 0.300000f,
true);
88 shape.
addVertex(0, 0.728000f, 0.300000f,
true);
98 shape.
addVertex(0.728000f, 0.300000f,
true);
101 shape.
addVertex(0.726000f, 0.381000f,
false);
102 shape.
addVertex(0.690000f, 0.426000f,
true);
105 shape.
addVertex(0.654000f, 0.471000f,
false);
106 shape.
addVertex(0.588000f, 0.471000f,
true);
109 shape.
addVertex(0.553000f, 0.471000f,
false);
110 shape.
addVertex(0.526000f, 0.457000f,
true);
113 shape.
addVertex(0.498000f, 0.443000f,
false);
114 shape.
addVertex(0.478000f, 0.420000f,
true);
117 shape.
addVertex(0.457000f, 0.396000f,
false);
118 shape.
addVertex(0.446000f, 0.365000f,
true);
121 shape.
addVertex(0.434000f, 0.334000f,
false);
122 shape.
addVertex(0.432000f, 0.300000f,
true);
125 shape.
addVertex(0.728000f, 0.300000f,
true);
137 shape.
addVertex(0, 0.252000f, -0.011000f,
true);
140 shape.
addVertex(0, 0.208000f, -0.011000f,
false);
141 shape.
addVertex(0, 0.171000f, -0.002000f,
true);
144 shape.
addVertex(0, 0.133000f, 0.007000f,
false);
145 shape.
addVertex(0, 0.106000f, 0.026000f,
true);
148 shape.
addVertex(0, 0.079000f, 0.046000f,
false);
149 shape.
addVertex(0, 0.064000f, 0.076000f,
true);
152 shape.
addVertex(0, 0.048000f, 0.107000f,
false);
153 shape.
addVertex(0, 0.048000f, 0.151000f,
true);
156 shape.
addVertex(0, 0.048000f, 0.193000f,
false);
157 shape.
addVertex(0, 0.064000f, 0.223000f,
true);
160 shape.
addVertex(0, 0.080000f, 0.253000f,
false);
161 shape.
addVertex(0, 0.109000f, 0.272000f,
true);
164 shape.
addVertex(0, 0.138000f, 0.292000f,
false);
165 shape.
addVertex(0, 0.178000f, 0.301000f,
true);
168 shape.
addVertex(0, 0.218000f, 0.310000f,
false);
169 shape.
addVertex(0, 0.265000f, 0.310000f,
true);
172 shape.
addVertex(0, 0.279000f, 0.310000f,
false);
173 shape.
addVertex(0, 0.294000f, 0.309000f,
true);
176 shape.
addVertex(0, 0.310000f, 0.307000f,
false);
177 shape.
addVertex(0, 0.324000f, 0.305000f,
true);
180 shape.
addVertex(0, 0.339000f, 0.302000f,
false);
181 shape.
addVertex(0, 0.349000f, 0.300000f,
true);
184 shape.
addVertex(0, 0.360000f, 0.297000f,
false);
185 shape.
addVertex(0, 0.364000f, 0.295000f,
true);
188 shape.
addVertex(0, 0.364000f, 0.327000f,
true);
191 shape.
addVertex(0, 0.364000f, 0.354000f,
false);
192 shape.
addVertex(0, 0.360000f, 0.379000f,
true);
195 shape.
addVertex(0, 0.356000f, 0.405000f,
false);
196 shape.
addVertex(0, 0.343000f, 0.425000f,
true);
199 shape.
addVertex(0, 0.329000f, 0.446000f,
false);
200 shape.
addVertex(0, 0.305000f, 0.458000f,
true);
203 shape.
addVertex(0, 0.280000f, 0.471000f,
false);
204 shape.
addVertex(0, 0.240000f, 0.471000f,
true);
207 shape.
addVertex(0, 0.186000f, 0.471000f,
false);
208 shape.
addVertex(0, 0.156000f, 0.464000f,
true);
211 shape.
addVertex(0, 0.126000f, 0.456000f,
false);
212 shape.
addVertex(0, 0.113000f, 0.451000f,
true);
215 shape.
addVertex(0, 0.105000f, 0.507000f,
true);
218 shape.
addVertex(0, 0.122000f, 0.515000f,
false);
219 shape.
addVertex(0, 0.158000f, 0.522000f,
true);
222 shape.
addVertex(0, 0.194000f, 0.529000f,
false);
223 shape.
addVertex(0, 0.243000f, 0.529000f,
true);
226 shape.
addVertex(0, 0.314000f, 0.529000f,
false);
227 shape.
addVertex(0, 0.354000f, 0.503000f,
true);
230 shape.
addVertex(0, 0.395000f, 0.476000f,
false);
231 shape.
addVertex(0, 0.412000f, 0.431000f,
true);
234 shape.
addVertex(0, 0.445000f, 0.480000f,
false);
235 shape.
addVertex(0, 0.491000f, 0.504000f,
true);
238 shape.
addVertex(0, 0.537000f, 0.529000f,
false);
239 shape.
addVertex(0, 0.587000f, 0.529000f,
true);
242 shape.
addVertex(0, 0.682000f, 0.529000f,
false);
243 shape.
addVertex(0, 0.738000f, 0.467000f,
true);
246 shape.
addVertex(0, 0.795000f, 0.405000f,
false);
247 shape.
addVertex(0, 0.795000f, 0.276000f,
true);
250 shape.
addVertex(0, 0.795000f, 0.268000f,
false);
251 shape.
addVertex(0, 0.795000f, 0.260000f,
true);
254 shape.
addVertex(0, 0.794000f, 0.252000f,
false);
255 shape.
addVertex(0, 0.793000f, 0.245000f,
true);
258 shape.
addVertex(0, 0.430000f, 0.245000f,
true);
261 shape.
addVertex(0, 0.433000f, 0.150000f,
false);
262 shape.
addVertex(0, 0.477000f, 0.099000f,
true);
265 shape.
addVertex(0, 0.521000f, 0.048000f,
false);
266 shape.
addVertex(0, 0.617000f, 0.048000f,
true);
269 shape.
addVertex(0, 0.670000f, 0.048000f,
false);
270 shape.
addVertex(0, 0.701000f, 0.058000f,
true);
273 shape.
addVertex(0, 0.732000f, 0.068000f,
false);
274 shape.
addVertex(0, 0.746000f, 0.075000f,
true);
277 shape.
addVertex(0, 0.758000f, 0.019000f,
true);
280 shape.
addVertex(0, 0.744000f, 0.011000f,
false);
281 shape.
addVertex(0, 0.706000f, 0.000000f,
true);
284 shape.
addVertex(0, 0.667000f, -0.011000f,
false);
285 shape.
addVertex(0, 0.615000f, -0.011000f,
true);
288 shape.
addVertex(0, 0.558000f, -0.011000f,
false);
289 shape.
addVertex(0, 0.514000f, 0.003000f,
true);
292 shape.
addVertex(0, 0.470000f, 0.017000f,
false);
293 shape.
addVertex(0, 0.437000f, 0.049000f,
true);
296 shape.
addVertex(0, 0.426000f, 0.040000f,
false);
297 shape.
addVertex(0, 0.410000f, 0.030000f,
true);
300 shape.
addVertex(0, 0.393000f, 0.019000f,
false);
301 shape.
addVertex(0, 0.370000f, 0.010000f,
true);
304 shape.
addVertex(0, 0.347000f, 0.001000f,
false);
305 shape.
addVertex(0, 0.318000f, -0.005000f,
true);
308 shape.
addVertex(0, 0.289000f, -0.011000f,
false);
309 shape.
addVertex(0, 0.252000f, -0.011000f,
true);
319 shape.
addVertex(0.252000f, -0.011000f,
true);
322 shape.
addVertex(0.208000f, -0.011000f,
false);
323 shape.
addVertex(0.171000f, -0.002000f,
true);
326 shape.
addVertex(0.133000f, 0.007000f,
false);
327 shape.
addVertex(0.106000f, 0.026000f,
true);
330 shape.
addVertex(0.079000f, 0.046000f,
false);
331 shape.
addVertex(0.064000f, 0.076000f,
true);
334 shape.
addVertex(0.048000f, 0.107000f,
false);
335 shape.
addVertex(0.048000f, 0.151000f,
true);
338 shape.
addVertex(0.048000f, 0.193000f,
false);
339 shape.
addVertex(0.064000f, 0.223000f,
true);
342 shape.
addVertex(0.080000f, 0.253000f,
false);
343 shape.
addVertex(0.109000f, 0.272000f,
true);
346 shape.
addVertex(0.138000f, 0.292000f,
false);
347 shape.
addVertex(0.178000f, 0.301000f,
true);
350 shape.
addVertex(0.218000f, 0.310000f,
false);
351 shape.
addVertex(0.265000f, 0.310000f,
true);
354 shape.
addVertex(0.279000f, 0.310000f,
false);
355 shape.
addVertex(0.294000f, 0.309000f,
true);
358 shape.
addVertex(0.310000f, 0.307000f,
false);
359 shape.
addVertex(0.324000f, 0.305000f,
true);
362 shape.
addVertex(0.339000f, 0.302000f,
false);
363 shape.
addVertex(0.349000f, 0.300000f,
true);
366 shape.
addVertex(0.360000f, 0.297000f,
false);
367 shape.
addVertex(0.364000f, 0.295000f,
true);
370 shape.
addVertex(0.364000f, 0.327000f,
true);
373 shape.
addVertex(0.364000f, 0.354000f,
false);
374 shape.
addVertex(0.360000f, 0.379000f,
true);
377 shape.
addVertex(0.356000f, 0.405000f,
false);
378 shape.
addVertex(0.343000f, 0.425000f,
true);
381 shape.
addVertex(0.329000f, 0.446000f,
false);
382 shape.
addVertex(0.305000f, 0.458000f,
true);
385 shape.
addVertex(0.280000f, 0.471000f,
false);
386 shape.
addVertex(0.240000f, 0.471000f,
true);
389 shape.
addVertex(0.186000f, 0.471000f,
false);
390 shape.
addVertex(0.156000f, 0.464000f,
true);
393 shape.
addVertex(0.126000f, 0.456000f,
false);
394 shape.
addVertex(0.113000f, 0.451000f,
true);
397 shape.
addVertex(0.105000f, 0.507000f,
true);
400 shape.
addVertex(0.122000f, 0.515000f,
false);
401 shape.
addVertex(0.158000f, 0.522000f,
true);
404 shape.
addVertex(0.194000f, 0.529000f,
false);
405 shape.
addVertex(0.243000f, 0.529000f,
true);
408 shape.
addVertex(0.314000f, 0.529000f,
false);
409 shape.
addVertex(0.354000f, 0.503000f,
true);
412 shape.
addVertex(0.395000f, 0.476000f,
false);
413 shape.
addVertex(0.412000f, 0.431000f,
true);
416 shape.
addVertex(0.445000f, 0.480000f,
false);
417 shape.
addVertex(0.491000f, 0.504000f,
true);
420 shape.
addVertex(0.537000f, 0.529000f,
false);
421 shape.
addVertex(0.587000f, 0.529000f,
true);
424 shape.
addVertex(0.682000f, 0.529000f,
false);
425 shape.
addVertex(0.738000f, 0.467000f,
true);
428 shape.
addVertex(0.795000f, 0.405000f,
false);
429 shape.
addVertex(0.795000f, 0.276000f,
true);
432 shape.
addVertex(0.795000f, 0.268000f,
false);
433 shape.
addVertex(0.795000f, 0.260000f,
true);
436 shape.
addVertex(0.794000f, 0.252000f,
false);
437 shape.
addVertex(0.793000f, 0.245000f,
true);
440 shape.
addVertex(0.430000f, 0.245000f,
true);
443 shape.
addVertex(0.433000f, 0.150000f,
false);
444 shape.
addVertex(0.477000f, 0.099000f,
true);
447 shape.
addVertex(0.521000f, 0.048000f,
false);
448 shape.
addVertex(0.617000f, 0.048000f,
true);
451 shape.
addVertex(0.670000f, 0.048000f,
false);
452 shape.
addVertex(0.701000f, 0.058000f,
true);
455 shape.
addVertex(0.732000f, 0.068000f,
false);
456 shape.
addVertex(0.746000f, 0.075000f,
true);
459 shape.
addVertex(0.758000f, 0.019000f,
true);
462 shape.
addVertex(0.744000f, 0.011000f,
false);
463 shape.
addVertex(0.706000f, 0.000000f,
true);
466 shape.
addVertex(0.667000f, -0.011000f,
false);
467 shape.
addVertex(0.615000f, -0.011000f,
true);
470 shape.
addVertex(0.558000f, -0.011000f,
false);
471 shape.
addVertex(0.514000f, 0.003000f,
true);
474 shape.
addVertex(0.470000f, 0.017000f,
false);
475 shape.
addVertex(0.437000f, 0.049000f,
true);
478 shape.
addVertex(0.426000f, 0.040000f,
false);
479 shape.
addVertex(0.410000f, 0.030000f,
true);
482 shape.
addVertex(0.393000f, 0.019000f,
false);
483 shape.
addVertex(0.370000f, 0.010000f,
true);
486 shape.
addVertex(0.347000f, 0.001000f,
false);
487 shape.
addVertex(0.318000f, -0.005000f,
true);
490 shape.
addVertex(0.289000f, -0.011000f,
false);
491 shape.
addVertex(0.252000f, -0.011000f,
true);
503 shape.
addVertex(0, 0.365000f, 0.238000f,
true);
506 shape.
addVertex(0, 0.354000f, 0.243000f,
false);
507 shape.
addVertex(0, 0.330000f, 0.248000f,
true);
510 shape.
addVertex(0, 0.305000f, 0.254000f,
false);
511 shape.
addVertex(0, 0.263000f, 0.254000f,
true);
514 shape.
addVertex(0, 0.239000f, 0.254000f,
false);
515 shape.
addVertex(0, 0.213000f, 0.251000f,
true);
518 shape.
addVertex(0, 0.187000f, 0.247000f,
false);
519 shape.
addVertex(0, 0.165000f, 0.236000f,
true);
522 shape.
addVertex(0, 0.143000f, 0.224000f,
false);
523 shape.
addVertex(0, 0.129000f, 0.204000f,
true);
526 shape.
addVertex(0, 0.115000f, 0.184000f,
false);
527 shape.
addVertex(0, 0.115000f, 0.151000f,
true);
530 shape.
addVertex(0, 0.115000f, 0.122000f,
false);
531 shape.
addVertex(0, 0.125000f, 0.102000f,
true);
534 shape.
addVertex(0, 0.135000f, 0.082000f,
false);
535 shape.
addVertex(0, 0.153000f, 0.070000f,
true);
538 shape.
addVertex(0, 0.172000f, 0.058000f,
false);
539 shape.
addVertex(0, 0.197000f, 0.053000f,
true);
542 shape.
addVertex(0, 0.222000f, 0.047000f,
false);
543 shape.
addVertex(0, 0.252000f, 0.047000f,
true);
546 shape.
addVertex(0, 0.314000f, 0.047000f,
false);
547 shape.
addVertex(0, 0.350000f, 0.063000f,
true);
550 shape.
addVertex(0, 0.386000f, 0.080000f,
false);
551 shape.
addVertex(0, 0.400000f, 0.093000f,
true);
554 shape.
addVertex(0, 0.384000f, 0.119000f,
false);
555 shape.
addVertex(0, 0.375000f, 0.154000f,
true);
558 shape.
addVertex(0, 0.366000f, 0.190000f,
false);
559 shape.
addVertex(0, 0.365000f, 0.238000f,
true);
569 shape.
addVertex(0.365000f, 0.238000f,
true);
572 shape.
addVertex(0.354000f, 0.243000f,
false);
573 shape.
addVertex(0.330000f, 0.248000f,
true);
576 shape.
addVertex(0.305000f, 0.254000f,
false);
577 shape.
addVertex(0.263000f, 0.254000f,
true);
580 shape.
addVertex(0.239000f, 0.254000f,
false);
581 shape.
addVertex(0.213000f, 0.251000f,
true);
584 shape.
addVertex(0.187000f, 0.247000f,
false);
585 shape.
addVertex(0.165000f, 0.236000f,
true);
588 shape.
addVertex(0.143000f, 0.224000f,
false);
589 shape.
addVertex(0.129000f, 0.204000f,
true);
592 shape.
addVertex(0.115000f, 0.184000f,
false);
593 shape.
addVertex(0.115000f, 0.151000f,
true);
596 shape.
addVertex(0.115000f, 0.122000f,
false);
597 shape.
addVertex(0.125000f, 0.102000f,
true);
600 shape.
addVertex(0.135000f, 0.082000f,
false);
601 shape.
addVertex(0.153000f, 0.070000f,
true);
604 shape.
addVertex(0.172000f, 0.058000f,
false);
605 shape.
addVertex(0.197000f, 0.053000f,
true);
608 shape.
addVertex(0.222000f, 0.047000f,
false);
609 shape.
addVertex(0.252000f, 0.047000f,
true);
612 shape.
addVertex(0.314000f, 0.047000f,
false);
613 shape.
addVertex(0.350000f, 0.063000f,
true);
616 shape.
addVertex(0.386000f, 0.080000f,
false);
617 shape.
addVertex(0.400000f, 0.093000f,
true);
620 shape.
addVertex(0.384000f, 0.119000f,
false);
621 shape.
addVertex(0.375000f, 0.154000f,
true);
624 shape.
addVertex(0.366000f, 0.190000f,
false);
625 shape.
addVertex(0.365000f, 0.238000f,
true);
642 return super.getSubString();
A Generic shape objects which is defined by a list of Outlines.
final Winding getWindingOfLastOutline()
Compute the Winding of the getLastOutline() using the VectorUtil#area(ArrayList) function over all of...
final void addVertex(final Vertex v)
Adds a vertex to the last open outline to the shape's tail.
final void setIsQuadraticNurbs()
Claim this outline's vertices are all OutlineShape.VerticesState#QUADRATIC_NURBS, hence no cubic tran...
final void setSharpness(final float s)
Sets sharpness, defaults to DEFAULT_SHARPNESS.
final void closeLastOutline(final boolean closeTail)
Closes the last outline in the shape.
final void addEmptyOutline()
Add a new empty Outline to the end of this shape's outline list.
final void addOutlineShape(final OutlineShape shape, final AffineTransform t, final Vec4f rgbaColor)
Add the given OutlineShape to this region with the given optional AffineTransform.
Graph based GLRegion Shape.
final void resetGLRegion(final GLProfile glp, final GL2ES2 gl, final TextureSequence colorTexSeq, int vertexCount, int indexCount)
Reset the GLRegion and reserving its buffers to have a free capacity for vertexCount and indexCount e...
final Vec4f rgbaColor
Default base-color w/o color channel, will be modulated w/ pressed- and toggle color.
final Shape setRotationPivot(final float px, final float py, final float pz)
Set unscaled rotation origin, aka pivot.
final AABBox resize(final AABBox newBox)
Resize the AABBox to encapsulate another AABox.
final Vec3f getCenter()
Returns computed center of this AABBox of getLow() and getHigh().
Specifies the the OpenGL profile.
GPU based resolution independent test object.
void addShapeToRegion(final GLProfile glp, final GL2ES2 gl)
Glyph02UbuntuLight_ae(final int renderModes)