1package require vtk 2package require vtkinteraction 3package require vtktesting 4 5# Contour every quadratic cell type 6 7# Create a scene with one of each cell type. 8# QuadraticEdge 9vtkPoints edgePoints 10 edgePoints SetNumberOfPoints 3 11 edgePoints InsertPoint 0 0 0 0 12 edgePoints InsertPoint 1 1.0 0 0 13 edgePoints InsertPoint 2 0.5 0.25 0 14vtkFloatArray edgeScalars 15 edgeScalars SetNumberOfTuples 3 16 edgeScalars InsertValue 0 0.0 17 edgeScalars InsertValue 1 0.0 18 edgeScalars InsertValue 2 0.9 19vtkQuadraticEdge aEdge 20 [aEdge GetPointIds] SetId 0 0 21 [aEdge GetPointIds] SetId 1 1 22 [aEdge GetPointIds] SetId 2 2 23vtkUnstructuredGrid aEdgeGrid 24 aEdgeGrid Allocate 1 1 25 aEdgeGrid InsertNextCell [aEdge GetCellType] [aEdge GetPointIds] 26 aEdgeGrid SetPoints edgePoints 27 [aEdgeGrid GetPointData] SetScalars edgeScalars 28vtkContourFilter edgeContours 29 edgeContours SetInputData aEdgeGrid 30 edgeContours SetValue 0 0.5 31vtkDataSetMapper aEdgeContourMapper 32 aEdgeContourMapper SetInputConnection [edgeContours GetOutputPort] 33 aEdgeContourMapper ScalarVisibilityOff 34vtkDataSetMapper aEdgeMapper 35 aEdgeMapper SetInputData aEdgeGrid 36 aEdgeMapper ScalarVisibilityOff 37vtkActor aEdgeActor 38 aEdgeActor SetMapper aEdgeMapper 39 [aEdgeActor GetProperty] SetRepresentationToWireframe 40 [aEdgeActor GetProperty] SetAmbient 1.0 41vtkActor aEdgeContourActor 42 aEdgeContourActor SetMapper aEdgeContourMapper 43 [aEdgeContourActor GetProperty] BackfaceCullingOn 44 [aEdgeContourActor GetProperty] SetAmbient 1.0 45 46# Quadratic triangle 47vtkPoints triPoints 48 triPoints SetNumberOfPoints 6 49 triPoints InsertPoint 0 0.0 0.0 0.0 50 triPoints InsertPoint 1 1.0 0.0 0.0 51 triPoints InsertPoint 2 0.5 0.8 0.0 52 triPoints InsertPoint 3 0.5 0.0 0.0 53 triPoints InsertPoint 4 0.75 0.4 0.0 54 triPoints InsertPoint 5 0.25 0.4 0.0 55vtkFloatArray triScalars 56 triScalars SetNumberOfTuples 6 57 triScalars InsertValue 0 0.0 58 triScalars InsertValue 1 0.0 59 triScalars InsertValue 2 0.0 60 triScalars InsertValue 3 1.0 61 triScalars InsertValue 4 0.0 62 triScalars InsertValue 5 0.0 63vtkQuadraticTriangle aTri 64 [aTri GetPointIds] SetId 0 0 65 [aTri GetPointIds] SetId 1 1 66 [aTri GetPointIds] SetId 2 2 67 [aTri GetPointIds] SetId 3 3 68 [aTri GetPointIds] SetId 4 4 69 [aTri GetPointIds] SetId 5 5 70vtkUnstructuredGrid aTriGrid 71 aTriGrid Allocate 1 1 72 aTriGrid InsertNextCell [aTri GetCellType] [aTri GetPointIds] 73 aTriGrid SetPoints triPoints 74 [aTriGrid GetPointData] SetScalars triScalars 75vtkContourFilter triContours 76 triContours SetInputData aTriGrid 77 triContours SetValue 0 0.5 78vtkDataSetMapper aTriContourMapper 79 aTriContourMapper SetInputConnection [triContours GetOutputPort] 80 aTriContourMapper ScalarVisibilityOff 81vtkDataSetMapper aTriMapper 82 aTriMapper SetInputData aTriGrid 83 aTriMapper ScalarVisibilityOff 84vtkActor aTriActor 85 aTriActor SetMapper aTriMapper 86 [aTriActor GetProperty] SetRepresentationToWireframe 87 [aTriActor GetProperty] SetAmbient 1.0 88vtkActor aTriContourActor 89 aTriContourActor SetMapper aTriContourMapper 90 [aTriContourActor GetProperty] BackfaceCullingOn 91 [aTriContourActor GetProperty] SetAmbient 1.0 92 93# Quadratic quadrilateral 94vtkPoints quadPoints 95 quadPoints SetNumberOfPoints 8 96 quadPoints InsertPoint 0 0.0 0.0 0.0 97 quadPoints InsertPoint 1 1.0 0.0 0.0 98 quadPoints InsertPoint 2 1.0 1.0 0.0 99 quadPoints InsertPoint 3 0.0 1.0 0.0 100 quadPoints InsertPoint 4 0.5 0.0 0.0 101 quadPoints InsertPoint 5 1.0 0.5 0.0 102 quadPoints InsertPoint 6 0.5 1.0 0.0 103 quadPoints InsertPoint 7 0.0 0.5 0.0 104vtkFloatArray quadScalars 105 quadScalars SetNumberOfTuples 8 106 quadScalars InsertValue 0 0.0 107 quadScalars InsertValue 1 0.0 108 quadScalars InsertValue 2 1.0 109 quadScalars InsertValue 3 1.0 110 quadScalars InsertValue 4 1.0 111 quadScalars InsertValue 5 0.0 112 quadScalars InsertValue 6 0.0 113 quadScalars InsertValue 7 0.0 114vtkQuadraticQuad aQuad 115 [aQuad GetPointIds] SetId 0 0 116 [aQuad GetPointIds] SetId 1 1 117 [aQuad GetPointIds] SetId 2 2 118 [aQuad GetPointIds] SetId 3 3 119 [aQuad GetPointIds] SetId 4 4 120 [aQuad GetPointIds] SetId 5 5 121 [aQuad GetPointIds] SetId 6 6 122 [aQuad GetPointIds] SetId 7 7 123vtkUnstructuredGrid aQuadGrid 124 aQuadGrid Allocate 1 1 125 aQuadGrid InsertNextCell [aQuad GetCellType] [aQuad GetPointIds] 126 aQuadGrid SetPoints quadPoints 127 [aQuadGrid GetPointData] SetScalars quadScalars 128vtkContourFilter quadContours 129 quadContours SetInputData aQuadGrid 130 quadContours SetValue 0 0.5 131vtkDataSetMapper aQuadContourMapper 132 aQuadContourMapper SetInputConnection [quadContours GetOutputPort] 133 aQuadContourMapper ScalarVisibilityOff 134vtkDataSetMapper aQuadMapper 135 aQuadMapper SetInputData aQuadGrid 136 aQuadMapper ScalarVisibilityOff 137vtkActor aQuadActor 138 aQuadActor SetMapper aQuadMapper 139 [aQuadActor GetProperty] SetRepresentationToWireframe 140 [aQuadActor GetProperty] SetAmbient 1.0 141vtkActor aQuadContourActor 142 aQuadContourActor SetMapper aQuadContourMapper 143 [aQuadContourActor GetProperty] BackfaceCullingOn 144 [aQuadContourActor GetProperty] SetAmbient 1.0 145 146# BiQuadratic quadrilateral 147vtkPoints BquadPoints 148 BquadPoints SetNumberOfPoints 9 149 BquadPoints InsertPoint 0 0.0 0.0 0.0 150 BquadPoints InsertPoint 1 1.0 0.0 0.0 151 BquadPoints InsertPoint 2 1.0 1.0 0.0 152 BquadPoints InsertPoint 3 0.0 1.0 0.0 153 BquadPoints InsertPoint 4 0.5 0.0 0.0 154 BquadPoints InsertPoint 5 1.0 0.5 0.0 155 BquadPoints InsertPoint 6 0.5 1.0 0.0 156 BquadPoints InsertPoint 7 0.0 0.5 0.0 157 BquadPoints InsertPoint 8 0.5 0.5 0.0 158vtkFloatArray BquadScalars 159 BquadScalars SetNumberOfTuples 9 160 BquadScalars InsertValue 0 1.0 161 BquadScalars InsertValue 1 1.0 162 BquadScalars InsertValue 2 1.0 163 BquadScalars InsertValue 3 1.0 164 BquadScalars InsertValue 4 0.0 165 BquadScalars InsertValue 5 0.0 166 BquadScalars InsertValue 6 0.0 167 BquadScalars InsertValue 7 0.0 168 BquadScalars InsertValue 8 1.0 169vtkBiQuadraticQuad BQuad 170 [BQuad GetPointIds] SetId 0 0 171 [BQuad GetPointIds] SetId 1 1 172 [BQuad GetPointIds] SetId 2 2 173 [BQuad GetPointIds] SetId 3 3 174 [BQuad GetPointIds] SetId 4 4 175 [BQuad GetPointIds] SetId 5 5 176 [BQuad GetPointIds] SetId 6 6 177 [BQuad GetPointIds] SetId 7 7 178 [BQuad GetPointIds] SetId 8 8 179vtkUnstructuredGrid BQuadGrid 180 BQuadGrid Allocate 1 1 181 BQuadGrid InsertNextCell [BQuad GetCellType] [BQuad GetPointIds] 182 BQuadGrid SetPoints BquadPoints 183 [BQuadGrid GetPointData] SetScalars BquadScalars 184 185vtkContourFilter BquadContours 186 BquadContours SetInputData BQuadGrid 187 BquadContours SetValue 0 0.5 188vtkDataSetMapper BQuadContourMapper 189 BQuadContourMapper SetInputConnection [BquadContours GetOutputPort] 190 BQuadContourMapper ScalarVisibilityOff 191vtkDataSetMapper BQuadMapper 192 BQuadMapper SetInputData BQuadGrid 193 BQuadMapper ScalarVisibilityOff 194vtkActor BQuadActor 195 BQuadActor SetMapper BQuadMapper 196 [BQuadActor GetProperty] SetRepresentationToWireframe 197 [BQuadActor GetProperty] SetAmbient 1.0 198vtkActor BQuadContourActor 199 BQuadContourActor SetMapper BQuadContourMapper 200 [BQuadContourActor GetProperty] BackfaceCullingOn 201 [BQuadContourActor GetProperty] SetAmbient 1.0 202 203# Quadratic linear quadrilateral 204 vtkPoints QLquadPoints 205 QLquadPoints SetNumberOfPoints 6 206 QLquadPoints InsertPoint 0 0.0 0.0 0.0 207 QLquadPoints InsertPoint 1 1.0 0.0 0.0 208 QLquadPoints InsertPoint 2 1.0 1.0 0.0 209 QLquadPoints InsertPoint 3 0.0 1.0 0.0 210 QLquadPoints InsertPoint 4 0.5 0.0 0.0 211 QLquadPoints InsertPoint 5 0.5 1.0 0.0 212vtkFloatArray QLquadScalars 213 QLquadScalars SetNumberOfTuples 6 214 QLquadScalars InsertValue 0 1.0 215 QLquadScalars InsertValue 1 1.0 216 QLquadScalars InsertValue 2 0.0 217 QLquadScalars InsertValue 3 0.0 218 QLquadScalars InsertValue 4 0.0 219 QLquadScalars InsertValue 5 1.0 220vtkQuadraticLinearQuad QLQuad 221 [QLQuad GetPointIds] SetId 0 0 222 [QLQuad GetPointIds] SetId 1 1 223 [QLQuad GetPointIds] SetId 2 2 224 [QLQuad GetPointIds] SetId 3 3 225 [QLQuad GetPointIds] SetId 4 4 226 [QLQuad GetPointIds] SetId 5 5 227vtkUnstructuredGrid QLQuadGrid 228 QLQuadGrid Allocate 1 1 229 QLQuadGrid InsertNextCell [QLQuad GetCellType] [QLQuad GetPointIds] 230 QLQuadGrid SetPoints QLquadPoints 231 [QLQuadGrid GetPointData] SetScalars QLquadScalars 232 233vtkContourFilter QLquadContours 234 QLquadContours SetInputData QLQuadGrid 235 QLquadContours SetValue 0 0.5 236vtkDataSetMapper QLQuadContourMapper 237 QLQuadContourMapper SetInputConnection [QLquadContours GetOutputPort] 238 QLQuadContourMapper ScalarVisibilityOff 239vtkDataSetMapper QLQuadMapper 240 QLQuadMapper SetInputData QLQuadGrid 241 QLQuadMapper ScalarVisibilityOff 242vtkActor QLQuadActor 243 QLQuadActor SetMapper QLQuadMapper 244 [QLQuadActor GetProperty] SetRepresentationToWireframe 245 [QLQuadActor GetProperty] SetAmbient 1.0 246vtkActor QLQuadContourActor 247 QLQuadContourActor SetMapper QLQuadContourMapper 248 [QLQuadContourActor GetProperty] BackfaceCullingOn 249 [QLQuadContourActor GetProperty] SetAmbient 1.0 250 251 252 253# Quadratic tetrahedron 254vtkPoints tetPoints 255 tetPoints SetNumberOfPoints 10 256 tetPoints InsertPoint 0 0.0 0.0 0.0 257 tetPoints InsertPoint 1 1.0 0.0 0.0 258 tetPoints InsertPoint 2 0.5 0.8 0.0 259 tetPoints InsertPoint 3 0.5 0.4 1.0 260 tetPoints InsertPoint 4 0.5 0.0 0.0 261 tetPoints InsertPoint 5 0.75 0.4 0.0 262 tetPoints InsertPoint 6 0.25 0.4 0.0 263 tetPoints InsertPoint 7 0.25 0.2 0.5 264 tetPoints InsertPoint 8 0.75 0.2 0.5 265 tetPoints InsertPoint 9 0.50 0.6 0.5 266vtkFloatArray tetScalars 267 tetScalars SetNumberOfTuples 10 268 tetScalars InsertValue 0 1.0 269 tetScalars InsertValue 1 1.0 270 tetScalars InsertValue 2 1.0 271 tetScalars InsertValue 3 1.0 272 tetScalars InsertValue 4 0.0 273 tetScalars InsertValue 5 0.0 274 tetScalars InsertValue 6 0.0 275 tetScalars InsertValue 7 0.0 276 tetScalars InsertValue 8 0.0 277 tetScalars InsertValue 9 0.0 278vtkQuadraticTetra aTet 279 [aTet GetPointIds] SetId 0 0 280 [aTet GetPointIds] SetId 1 1 281 [aTet GetPointIds] SetId 2 2 282 [aTet GetPointIds] SetId 3 3 283 [aTet GetPointIds] SetId 4 4 284 [aTet GetPointIds] SetId 5 5 285 [aTet GetPointIds] SetId 6 6 286 [aTet GetPointIds] SetId 7 7 287 [aTet GetPointIds] SetId 8 8 288 [aTet GetPointIds] SetId 9 9 289vtkUnstructuredGrid aTetGrid 290 aTetGrid Allocate 1 1 291 aTetGrid InsertNextCell [aTet GetCellType] [aTet GetPointIds] 292 aTetGrid SetPoints tetPoints 293 [aTetGrid GetPointData] SetScalars tetScalars 294vtkContourFilter tetContours 295 tetContours SetInputData aTetGrid 296 tetContours SetValue 0 0.5 297vtkDataSetMapper aTetContourMapper 298 aTetContourMapper SetInputConnection [tetContours GetOutputPort] 299 aTetContourMapper ScalarVisibilityOff 300vtkDataSetMapper aTetMapper 301 aTetMapper SetInputData aTetGrid 302 aTetMapper ScalarVisibilityOff 303vtkActor aTetActor 304 aTetActor SetMapper aTetMapper 305 [aTetActor GetProperty] SetRepresentationToWireframe 306 [aTetActor GetProperty] SetAmbient 1.0 307vtkActor aTetContourActor 308 aTetContourActor SetMapper aTetContourMapper 309 [aTetContourActor GetProperty] SetAmbient 1.0 310 311# Quadratic hexahedron 312vtkPoints hexPoints 313 hexPoints SetNumberOfPoints 20 314 hexPoints InsertPoint 0 0 0 0 315 hexPoints InsertPoint 1 1 0 0 316 hexPoints InsertPoint 2 1 1 0 317 hexPoints InsertPoint 3 0 1 0 318 hexPoints InsertPoint 4 0 0 1 319 hexPoints InsertPoint 5 1 0 1 320 hexPoints InsertPoint 6 1 1 1 321 hexPoints InsertPoint 7 0 1 1 322 hexPoints InsertPoint 8 0.5 0 0 323 hexPoints InsertPoint 9 1 0.5 0 324 hexPoints InsertPoint 10 0.5 1 0 325 hexPoints InsertPoint 11 0 0.5 0 326 hexPoints InsertPoint 12 0.5 0 1 327 hexPoints InsertPoint 13 1 0.5 1 328 hexPoints InsertPoint 14 0.5 1 1 329 hexPoints InsertPoint 15 0 0.5 1 330 hexPoints InsertPoint 16 0 0 0.5 331 hexPoints InsertPoint 17 1 0 0.5 332 hexPoints InsertPoint 18 1 1 0.5 333 hexPoints InsertPoint 19 0 1 0.5 334vtkFloatArray hexScalars 335 hexScalars SetNumberOfTuples 20 336 hexScalars InsertValue 0 1.0 337 hexScalars InsertValue 1 1.0 338 hexScalars InsertValue 2 1.0 339 hexScalars InsertValue 3 1.0 340 hexScalars InsertValue 4 1.0 341 hexScalars InsertValue 5 1.0 342 hexScalars InsertValue 6 1.0 343 hexScalars InsertValue 7 1.0 344 hexScalars InsertValue 8 0.0 345 hexScalars InsertValue 9 0.0 346 hexScalars InsertValue 10 0.0 347 hexScalars InsertValue 11 0.0 348 hexScalars InsertValue 12 0.0 349 hexScalars InsertValue 13 0.0 350 hexScalars InsertValue 14 0.0 351 hexScalars InsertValue 15 0.0 352 hexScalars InsertValue 16 0.0 353 hexScalars InsertValue 17 0.0 354 hexScalars InsertValue 18 0.0 355 hexScalars InsertValue 19 0.0 356vtkQuadraticHexahedron aHex 357 [aHex GetPointIds] SetId 0 0 358 [aHex GetPointIds] SetId 1 1 359 [aHex GetPointIds] SetId 2 2 360 [aHex GetPointIds] SetId 3 3 361 [aHex GetPointIds] SetId 4 4 362 [aHex GetPointIds] SetId 5 5 363 [aHex GetPointIds] SetId 6 6 364 [aHex GetPointIds] SetId 7 7 365 [aHex GetPointIds] SetId 8 8 366 [aHex GetPointIds] SetId 9 9 367 [aHex GetPointIds] SetId 10 10 368 [aHex GetPointIds] SetId 11 11 369 [aHex GetPointIds] SetId 12 12 370 [aHex GetPointIds] SetId 13 13 371 [aHex GetPointIds] SetId 14 14 372 [aHex GetPointIds] SetId 15 15 373 [aHex GetPointIds] SetId 16 16 374 [aHex GetPointIds] SetId 17 17 375 [aHex GetPointIds] SetId 18 18 376 [aHex GetPointIds] SetId 19 19 377vtkUnstructuredGrid aHexGrid 378 aHexGrid Allocate 1 1 379 aHexGrid InsertNextCell [aHex GetCellType] [aHex GetPointIds] 380 aHexGrid SetPoints hexPoints 381 [aHexGrid GetPointData] SetScalars hexScalars 382vtkContourFilter hexContours 383 hexContours SetInputData aHexGrid 384 hexContours SetValue 0 0.5 385vtkDataSetMapper aHexContourMapper 386 aHexContourMapper SetInputConnection [hexContours GetOutputPort] 387 aHexContourMapper ScalarVisibilityOff 388vtkDataSetMapper aHexMapper 389 aHexMapper SetInputData aHexGrid 390 aHexMapper ScalarVisibilityOff 391vtkActor aHexActor 392 aHexActor SetMapper aHexMapper 393 [aHexActor GetProperty] SetRepresentationToWireframe 394 [aHexActor GetProperty] SetAmbient 1.0 395vtkActor aHexContourActor 396 aHexContourActor SetMapper aHexContourMapper 397 [aHexContourActor GetProperty] SetAmbient 1.0 398 399# TriQuadratic hexahedron 400vtkPoints TQhexPoints 401 TQhexPoints SetNumberOfPoints 27 402 TQhexPoints InsertPoint 0 0 0 0 403 TQhexPoints InsertPoint 1 1 0 0 404 TQhexPoints InsertPoint 2 1 1 0 405 TQhexPoints InsertPoint 3 0 1 0 406 TQhexPoints InsertPoint 4 0 0 1 407 TQhexPoints InsertPoint 5 1 0 1 408 TQhexPoints InsertPoint 6 1 1 1 409 TQhexPoints InsertPoint 7 0 1 1 410 TQhexPoints InsertPoint 8 0.5 0 0 411 TQhexPoints InsertPoint 9 1 0.5 0 412 TQhexPoints InsertPoint 10 0.5 1 0 413 TQhexPoints InsertPoint 11 0 0.5 0 414 TQhexPoints InsertPoint 12 0.5 0 1 415 TQhexPoints InsertPoint 13 1 0.5 1 416 TQhexPoints InsertPoint 14 0.5 1 1 417 TQhexPoints InsertPoint 15 0 0.5 1 418 TQhexPoints InsertPoint 16 0 0 0.5 419 TQhexPoints InsertPoint 17 1 0 0.5 420 TQhexPoints InsertPoint 18 1 1 0.5 421 TQhexPoints InsertPoint 19 0 1 0.5 422 TQhexPoints InsertPoint 22 0.5 0 0.5 423 TQhexPoints InsertPoint 21 1 0.5 0.5 424 TQhexPoints InsertPoint 23 0.5 1 0.5 425 TQhexPoints InsertPoint 20 0 0.5 0.5 426 TQhexPoints InsertPoint 24 0.5 0.5 0.0 427 TQhexPoints InsertPoint 25 0.5 0.5 1 428 TQhexPoints InsertPoint 26 0.5 0.5 0.5 429vtkFloatArray TQhexScalars 430 TQhexScalars SetNumberOfTuples 27 431 TQhexScalars InsertValue 0 1.0 432 TQhexScalars InsertValue 1 1.0 433 TQhexScalars InsertValue 2 1.0 434 TQhexScalars InsertValue 3 1.0 435 TQhexScalars InsertValue 4 1.0 436 TQhexScalars InsertValue 5 1.0 437 TQhexScalars InsertValue 6 1.0 438 TQhexScalars InsertValue 7 1.0 439 TQhexScalars InsertValue 8 0.0 440 TQhexScalars InsertValue 9 0.0 441 TQhexScalars InsertValue 10 0.0 442 TQhexScalars InsertValue 11 0.0 443 TQhexScalars InsertValue 12 0.0 444 TQhexScalars InsertValue 13 0.0 445 TQhexScalars InsertValue 14 0.0 446 TQhexScalars InsertValue 15 0.0 447 TQhexScalars InsertValue 16 0.0 448 TQhexScalars InsertValue 17 0.0 449 TQhexScalars InsertValue 18 0.0 450 TQhexScalars InsertValue 19 0.0 451 TQhexScalars InsertValue 20 0.0 452 TQhexScalars InsertValue 21 0.0 453 TQhexScalars InsertValue 22 0.0 454 TQhexScalars InsertValue 23 0.0 455 TQhexScalars InsertValue 24 0.0 456 TQhexScalars InsertValue 25 0.0 457 TQhexScalars InsertValue 26 1.0 458vtkTriQuadraticHexahedron TQHex 459 [TQHex GetPointIds] SetId 0 0 460 [TQHex GetPointIds] SetId 1 1 461 [TQHex GetPointIds] SetId 2 2 462 [TQHex GetPointIds] SetId 3 3 463 [TQHex GetPointIds] SetId 4 4 464 [TQHex GetPointIds] SetId 5 5 465 [TQHex GetPointIds] SetId 6 6 466 [TQHex GetPointIds] SetId 7 7 467 [TQHex GetPointIds] SetId 8 8 468 [TQHex GetPointIds] SetId 9 9 469 [TQHex GetPointIds] SetId 10 10 470 [TQHex GetPointIds] SetId 11 11 471 [TQHex GetPointIds] SetId 12 12 472 [TQHex GetPointIds] SetId 13 13 473 [TQHex GetPointIds] SetId 14 14 474 [TQHex GetPointIds] SetId 15 15 475 [TQHex GetPointIds] SetId 16 16 476 [TQHex GetPointIds] SetId 17 17 477 [TQHex GetPointIds] SetId 18 18 478 [TQHex GetPointIds] SetId 19 19 479 [TQHex GetPointIds] SetId 20 20 480 [TQHex GetPointIds] SetId 21 21 481 [TQHex GetPointIds] SetId 22 22 482 [TQHex GetPointIds] SetId 23 23 483 [TQHex GetPointIds] SetId 24 24 484 [TQHex GetPointIds] SetId 25 25 485 [TQHex GetPointIds] SetId 26 26 486vtkUnstructuredGrid TQHexGrid 487 TQHexGrid Allocate 1 1 488 TQHexGrid InsertNextCell [TQHex GetCellType] [TQHex GetPointIds] 489 TQHexGrid SetPoints TQhexPoints 490 [TQHexGrid GetPointData] SetScalars TQhexScalars 491vtkContourFilter TQhexContours 492 TQhexContours SetInputData TQHexGrid 493 TQhexContours SetValue 0 0.5 494vtkDataSetMapper TQHexContourMapper 495 TQHexContourMapper SetInputConnection [TQhexContours GetOutputPort] 496 TQHexContourMapper ScalarVisibilityOff 497vtkDataSetMapper TQHexMapper 498 TQHexMapper SetInputData TQHexGrid 499 TQHexMapper ScalarVisibilityOff 500vtkActor TQHexActor 501 TQHexActor SetMapper TQHexMapper 502 [TQHexActor GetProperty] SetRepresentationToWireframe 503 [TQHexActor GetProperty] SetAmbient 1.0 504vtkActor TQHexContourActor 505 TQHexContourActor SetMapper TQHexContourMapper 506 [TQHexContourActor GetProperty] SetAmbient 1.0 507 508 509# BiQuadratic Quadratic hexahedron 510vtkPoints BQhexPoints 511 BQhexPoints SetNumberOfPoints 24 512 BQhexPoints InsertPoint 0 0 0 0 513 BQhexPoints InsertPoint 1 1 0 0 514 BQhexPoints InsertPoint 2 1 1 0 515 BQhexPoints InsertPoint 3 0 1 0 516 BQhexPoints InsertPoint 4 0 0 1 517 BQhexPoints InsertPoint 5 1 0 1 518 BQhexPoints InsertPoint 6 1 1 1 519 BQhexPoints InsertPoint 7 0 1 1 520 BQhexPoints InsertPoint 8 0.5 0 0 521 BQhexPoints InsertPoint 9 1 0.5 0 522 BQhexPoints InsertPoint 10 0.5 1 0 523 BQhexPoints InsertPoint 11 0 0.5 0 524 BQhexPoints InsertPoint 12 0.5 0 1 525 BQhexPoints InsertPoint 13 1 0.5 1 526 BQhexPoints InsertPoint 14 0.5 1 1 527 BQhexPoints InsertPoint 15 0 0.5 1 528 BQhexPoints InsertPoint 16 0 0 0.5 529 BQhexPoints InsertPoint 17 1 0 0.5 530 BQhexPoints InsertPoint 18 1 1 0.5 531 BQhexPoints InsertPoint 19 0 1 0.5 532 BQhexPoints InsertPoint 22 0.5 0 0.5 533 BQhexPoints InsertPoint 21 1 0.5 0.5 534 BQhexPoints InsertPoint 23 0.5 1 0.5 535 BQhexPoints InsertPoint 20 0 0.5 0.5 536vtkFloatArray BQhexScalars 537 BQhexScalars SetNumberOfTuples 24 538 BQhexScalars InsertValue 0 1.0 539 BQhexScalars InsertValue 1 1.0 540 BQhexScalars InsertValue 2 1.0 541 BQhexScalars InsertValue 3 1.0 542 BQhexScalars InsertValue 4 1.0 543 BQhexScalars InsertValue 5 1.0 544 BQhexScalars InsertValue 6 1.0 545 BQhexScalars InsertValue 7 1.0 546 BQhexScalars InsertValue 8 0.0 547 BQhexScalars InsertValue 9 0.0 548 BQhexScalars InsertValue 10 0.0 549 BQhexScalars InsertValue 11 0.0 550 BQhexScalars InsertValue 12 0.0 551 BQhexScalars InsertValue 13 0.0 552 BQhexScalars InsertValue 14 0.0 553 BQhexScalars InsertValue 15 0.0 554 BQhexScalars InsertValue 16 0.0 555 BQhexScalars InsertValue 17 0.0 556 BQhexScalars InsertValue 18 0.0 557 BQhexScalars InsertValue 19 0.0 558 BQhexScalars InsertValue 20 0.0 559 BQhexScalars InsertValue 21 0.0 560 BQhexScalars InsertValue 22 0.0 561 BQhexScalars InsertValue 23 0.0 562vtkBiQuadraticQuadraticHexahedron BQHex 563 [BQHex GetPointIds] SetId 0 0 564 [BQHex GetPointIds] SetId 1 1 565 [BQHex GetPointIds] SetId 2 2 566 [BQHex GetPointIds] SetId 3 3 567 [BQHex GetPointIds] SetId 4 4 568 [BQHex GetPointIds] SetId 5 5 569 [BQHex GetPointIds] SetId 6 6 570 [BQHex GetPointIds] SetId 7 7 571 [BQHex GetPointIds] SetId 8 8 572 [BQHex GetPointIds] SetId 9 9 573 [BQHex GetPointIds] SetId 10 10 574 [BQHex GetPointIds] SetId 11 11 575 [BQHex GetPointIds] SetId 12 12 576 [BQHex GetPointIds] SetId 13 13 577 [BQHex GetPointIds] SetId 14 14 578 [BQHex GetPointIds] SetId 15 15 579 [BQHex GetPointIds] SetId 16 16 580 [BQHex GetPointIds] SetId 17 17 581 [BQHex GetPointIds] SetId 18 18 582 [BQHex GetPointIds] SetId 19 19 583 [BQHex GetPointIds] SetId 20 20 584 [BQHex GetPointIds] SetId 21 21 585 [BQHex GetPointIds] SetId 22 22 586 [BQHex GetPointIds] SetId 23 23 587vtkUnstructuredGrid BQHexGrid 588 BQHexGrid Allocate 1 1 589 BQHexGrid InsertNextCell [BQHex GetCellType] [BQHex GetPointIds] 590 BQHexGrid SetPoints BQhexPoints 591 [BQHexGrid GetPointData] SetScalars BQhexScalars 592vtkContourFilter BQhexContours 593 BQhexContours SetInputData BQHexGrid 594 BQhexContours SetValue 0 0.5 595vtkDataSetMapper BQHexContourMapper 596 BQHexContourMapper SetInputConnection [BQhexContours GetOutputPort] 597 BQHexContourMapper ScalarVisibilityOff 598vtkDataSetMapper BQHexMapper 599 BQHexMapper SetInputData BQHexGrid 600 BQHexMapper ScalarVisibilityOff 601vtkActor BQHexActor 602 BQHexActor SetMapper BQHexMapper 603 [BQHexActor GetProperty] SetRepresentationToWireframe 604 [BQHexActor GetProperty] SetAmbient 1.0 605vtkActor BQHexContourActor 606 BQHexContourActor SetMapper BQHexContourMapper 607 [BQHexContourActor GetProperty] SetAmbient 1.0 608 609 610 611# Quadratic wedge 612vtkPoints wedgePoints 613 wedgePoints SetNumberOfPoints 15 614 wedgePoints InsertPoint 0 0 0 0 615 wedgePoints InsertPoint 1 1 0 0 616 wedgePoints InsertPoint 2 0 1 0 617 wedgePoints InsertPoint 3 0 0 1 618 wedgePoints InsertPoint 4 1 0 1 619 wedgePoints InsertPoint 5 0 1 1 620 wedgePoints InsertPoint 6 0.5 0 0 621 wedgePoints InsertPoint 7 0.5 0.5 0 622 wedgePoints InsertPoint 8 0 0.5 0 623 wedgePoints InsertPoint 9 0.5 0 1 624 wedgePoints InsertPoint 10 0.5 0.5 1 625 wedgePoints InsertPoint 11 0 0.5 1 626 wedgePoints InsertPoint 12 0 0 0.5 627 wedgePoints InsertPoint 13 1 0 0.5 628 wedgePoints InsertPoint 14 0 1 0.5 629vtkFloatArray wedgeScalars 630 wedgeScalars SetNumberOfTuples 15 631 wedgeScalars InsertValue 0 1.0 632 wedgeScalars InsertValue 1 1.0 633 wedgeScalars InsertValue 2 1.0 634 wedgeScalars InsertValue 3 1.0 635 wedgeScalars InsertValue 4 1.0 636 wedgeScalars InsertValue 5 1.0 637 wedgeScalars InsertValue 6 0.0 638 wedgeScalars InsertValue 7 0.0 639 wedgeScalars InsertValue 8 0.0 640 wedgeScalars InsertValue 9 0.0 641 wedgeScalars InsertValue 10 0.0 642 wedgeScalars InsertValue 11 0.0 643 wedgeScalars InsertValue 12 0.0 644 wedgeScalars InsertValue 13 0.0 645 wedgeScalars InsertValue 14 0.0 646vtkQuadraticWedge aWedge 647 [aWedge GetPointIds] SetId 0 0 648 [aWedge GetPointIds] SetId 1 1 649 [aWedge GetPointIds] SetId 2 2 650 [aWedge GetPointIds] SetId 3 3 651 [aWedge GetPointIds] SetId 4 4 652 [aWedge GetPointIds] SetId 5 5 653 [aWedge GetPointIds] SetId 6 6 654 [aWedge GetPointIds] SetId 7 7 655 [aWedge GetPointIds] SetId 8 8 656 [aWedge GetPointIds] SetId 9 9 657 [aWedge GetPointIds] SetId 10 10 658 [aWedge GetPointIds] SetId 11 11 659 [aWedge GetPointIds] SetId 12 12 660 [aWedge GetPointIds] SetId 13 13 661 [aWedge GetPointIds] SetId 14 14 662vtkUnstructuredGrid aWedgeGrid 663 aWedgeGrid Allocate 1 1 664 aWedgeGrid InsertNextCell [aWedge GetCellType] [aWedge GetPointIds] 665 aWedgeGrid SetPoints wedgePoints 666 [aWedgeGrid GetPointData] SetScalars wedgeScalars 667vtkContourFilter wedgeContours 668 wedgeContours SetInputData aWedgeGrid 669 wedgeContours SetValue 0 0.5 670vtkDataSetMapper aWedgeContourMapper 671 aWedgeContourMapper SetInputConnection [wedgeContours GetOutputPort] 672 aWedgeContourMapper ScalarVisibilityOff 673vtkDataSetMapper aWedgeMapper 674 aWedgeMapper SetInputData aWedgeGrid 675 aWedgeMapper ScalarVisibilityOff 676vtkActor aWedgeActor 677 aWedgeActor SetMapper aWedgeMapper 678 [aWedgeActor GetProperty] SetRepresentationToWireframe 679 [aWedgeActor GetProperty] SetAmbient 1.0 680vtkActor aWedgeContourActor 681 aWedgeContourActor SetMapper aWedgeContourMapper 682 [aWedgeContourActor GetProperty] SetAmbient 1.0 683 684# Quadratic linear wedge 685vtkPoints QLwedgePoints 686 QLwedgePoints SetNumberOfPoints 12 687 QLwedgePoints InsertPoint 0 0 0 0 688 QLwedgePoints InsertPoint 1 1 0 0 689 QLwedgePoints InsertPoint 2 0 1 0 690 QLwedgePoints InsertPoint 3 0 0 1 691 QLwedgePoints InsertPoint 4 1 0 1 692 QLwedgePoints InsertPoint 5 0 1 1 693 QLwedgePoints InsertPoint 6 0.5 0 0 694 QLwedgePoints InsertPoint 7 0.5 0.5 0 695 QLwedgePoints InsertPoint 8 0 0.5 0 696 QLwedgePoints InsertPoint 9 0.5 0 1 697 QLwedgePoints InsertPoint 10 0.5 0.5 1 698 QLwedgePoints InsertPoint 11 0 0.5 1 699vtkFloatArray QLwedgeScalars 700 QLwedgeScalars SetNumberOfTuples 12 701 QLwedgeScalars InsertValue 0 1.0 702 QLwedgeScalars InsertValue 1 1.0 703 QLwedgeScalars InsertValue 2 1.0 704 QLwedgeScalars InsertValue 3 1.0 705 QLwedgeScalars InsertValue 4 1.0 706 QLwedgeScalars InsertValue 5 1.0 707 QLwedgeScalars InsertValue 6 0.0 708 QLwedgeScalars InsertValue 7 0.0 709 QLwedgeScalars InsertValue 8 0.0 710 QLwedgeScalars InsertValue 9 0.0 711 QLwedgeScalars InsertValue 10 0.0 712 QLwedgeScalars InsertValue 11 0.0 713vtkQuadraticLinearWedge QLWedge 714 [QLWedge GetPointIds] SetId 0 0 715 [QLWedge GetPointIds] SetId 1 1 716 [QLWedge GetPointIds] SetId 2 2 717 [QLWedge GetPointIds] SetId 3 3 718 [QLWedge GetPointIds] SetId 4 4 719 [QLWedge GetPointIds] SetId 5 5 720 [QLWedge GetPointIds] SetId 6 6 721 [QLWedge GetPointIds] SetId 7 7 722 [QLWedge GetPointIds] SetId 8 8 723 [QLWedge GetPointIds] SetId 9 9 724 [QLWedge GetPointIds] SetId 10 10 725 [QLWedge GetPointIds] SetId 11 11 726 #QLaWedge DebugOn 727 728vtkUnstructuredGrid QLWedgeGrid 729 QLWedgeGrid Allocate 1 1 730 QLWedgeGrid InsertNextCell [QLWedge GetCellType] [QLWedge GetPointIds] 731 QLWedgeGrid SetPoints QLwedgePoints 732 [QLWedgeGrid GetPointData] SetScalars QLwedgeScalars 733 734vtkContourFilter QLwedgeContours 735 QLwedgeContours SetInputData QLWedgeGrid 736 QLwedgeContours SetValue 0 0.5 737vtkDataSetMapper QLWedgeContourMapper 738 QLWedgeContourMapper SetInputConnection [QLwedgeContours GetOutputPort] 739 QLWedgeContourMapper ScalarVisibilityOff 740vtkDataSetMapper QLWedgeMapper 741 QLWedgeMapper SetInputData QLWedgeGrid 742 aWedgeMapper ScalarVisibilityOff 743vtkActor QLWedgeActor 744 QLWedgeActor SetMapper QLWedgeMapper 745 [QLWedgeActor GetProperty] SetRepresentationToWireframe 746 [QLWedgeActor GetProperty] SetAmbient 1.0 747vtkActor QLWedgeContourActor 748 QLWedgeContourActor SetMapper QLWedgeContourMapper 749 [QLWedgeContourActor GetProperty] SetAmbient 1.0 750 751 752# BiQuadratic wedge 753vtkPoints BQwedgePoints 754 BQwedgePoints SetNumberOfPoints 18 755 BQwedgePoints InsertPoint 0 0 0 0 756 BQwedgePoints InsertPoint 1 1 0 0 757 BQwedgePoints InsertPoint 2 0 1 0 758 BQwedgePoints InsertPoint 3 0 0 1 759 BQwedgePoints InsertPoint 4 1 0 1 760 BQwedgePoints InsertPoint 5 0 1 1 761 BQwedgePoints InsertPoint 6 0.5 0 0 762 BQwedgePoints InsertPoint 7 0.5 0.5 0 763 BQwedgePoints InsertPoint 8 0 0.5 0 764 BQwedgePoints InsertPoint 9 0.5 0 1 765 BQwedgePoints InsertPoint 10 0.5 0.5 1 766 BQwedgePoints InsertPoint 11 0 0.5 1 767 BQwedgePoints InsertPoint 12 0 0 0.5 768 BQwedgePoints InsertPoint 13 1 0 0.5 769 BQwedgePoints InsertPoint 14 0 1 0.5 770 BQwedgePoints InsertPoint 15 0.5 0 0.5 771 BQwedgePoints InsertPoint 16 0.5 0.5 0.5 772 BQwedgePoints InsertPoint 17 0 0.5 0.5 773vtkFloatArray BQwedgeScalars 774 BQwedgeScalars SetNumberOfTuples 18 775 BQwedgeScalars InsertValue 0 1.0 776 BQwedgeScalars InsertValue 1 1.0 777 BQwedgeScalars InsertValue 2 1.0 778 BQwedgeScalars InsertValue 3 1.0 779 BQwedgeScalars InsertValue 4 1.0 780 BQwedgeScalars InsertValue 5 1.0 781 BQwedgeScalars InsertValue 6 0.0 782 BQwedgeScalars InsertValue 7 0.0 783 BQwedgeScalars InsertValue 8 0.0 784 BQwedgeScalars InsertValue 9 0.0 785 BQwedgeScalars InsertValue 10 0.0 786 BQwedgeScalars InsertValue 11 0.0 787 BQwedgeScalars InsertValue 12 0.0 788 BQwedgeScalars InsertValue 13 0.0 789 BQwedgeScalars InsertValue 14 0.0 790 BQwedgeScalars InsertValue 15 0.0 791 BQwedgeScalars InsertValue 16 0.0 792 BQwedgeScalars InsertValue 17 0.0 793vtkBiQuadraticQuadraticWedge BQWedge 794 [BQWedge GetPointIds] SetId 0 0 795 [BQWedge GetPointIds] SetId 1 1 796 [BQWedge GetPointIds] SetId 2 2 797 [BQWedge GetPointIds] SetId 3 3 798 [BQWedge GetPointIds] SetId 4 4 799 [BQWedge GetPointIds] SetId 5 5 800 [BQWedge GetPointIds] SetId 6 6 801 [BQWedge GetPointIds] SetId 7 7 802 [BQWedge GetPointIds] SetId 8 8 803 [BQWedge GetPointIds] SetId 9 9 804 [BQWedge GetPointIds] SetId 10 10 805 [BQWedge GetPointIds] SetId 11 11 806 [BQWedge GetPointIds] SetId 12 12 807 [BQWedge GetPointIds] SetId 13 13 808 [BQWedge GetPointIds] SetId 14 14 809 [BQWedge GetPointIds] SetId 15 15 810 [BQWedge GetPointIds] SetId 16 16 811 [BQWedge GetPointIds] SetId 17 17 812 #BQWedge DebugOn 813 814vtkUnstructuredGrid BQWedgeGrid 815 BQWedgeGrid Allocate 1 1 816 BQWedgeGrid InsertNextCell [BQWedge GetCellType] [BQWedge GetPointIds] 817 BQWedgeGrid SetPoints BQwedgePoints 818 [BQWedgeGrid GetPointData] SetScalars BQwedgeScalars 819 820vtkContourFilter BQwedgeContours 821 BQwedgeContours SetInputData BQWedgeGrid 822 BQwedgeContours SetValue 0 0.5 823vtkDataSetMapper BQWedgeContourMapper 824 BQWedgeContourMapper SetInputConnection [BQwedgeContours GetOutputPort] 825 #BQWedgeContourMapper ScalarVisibilityOff 826vtkDataSetMapper BQWedgeMapper 827 BQWedgeMapper SetInputData BQWedgeGrid 828 #BQWedgeMapper ScalarVisibilityOff 829vtkActor BQWedgeActor 830 BQWedgeActor SetMapper BQWedgeMapper 831 [BQWedgeActor GetProperty] SetRepresentationToWireframe 832 [BQWedgeActor GetProperty] SetAmbient 1.0 833vtkActor BQWedgeContourActor 834 BQWedgeContourActor SetMapper BQWedgeContourMapper 835 [BQWedgeContourActor GetProperty] SetAmbient 1.0 836 837 838# Quadratic pyramid 839vtkPoints pyraPoints 840 pyraPoints SetNumberOfPoints 13 841 pyraPoints InsertPoint 0 0 0 0 842 pyraPoints InsertPoint 1 1 0 0 843 pyraPoints InsertPoint 2 1 1 0 844 pyraPoints InsertPoint 3 0 1 0 845 pyraPoints InsertPoint 4 0 0 1 846 pyraPoints InsertPoint 5 0.5 0 0 847 pyraPoints InsertPoint 6 1 0.5 0 848 pyraPoints InsertPoint 7 0.5 1 0 849 pyraPoints InsertPoint 8 0 0.5 0 850 pyraPoints InsertPoint 9 0 0 0.5 851 pyraPoints InsertPoint 10 0.5 0 0.5 852 pyraPoints InsertPoint 11 0.5 0.5 0.5 853 pyraPoints InsertPoint 12 0 0.5 0.5 854vtkFloatArray pyraScalars 855 pyraScalars SetNumberOfTuples 13 856 pyraScalars InsertValue 0 1.0 857 pyraScalars InsertValue 1 1.0 858 pyraScalars InsertValue 2 1.0 859 pyraScalars InsertValue 3 1.0 860 pyraScalars InsertValue 4 1.0 861 pyraScalars InsertValue 5 0.0 862 pyraScalars InsertValue 6 0.0 863 pyraScalars InsertValue 7 0.0 864 pyraScalars InsertValue 8 0.0 865 pyraScalars InsertValue 9 0.0 866 pyraScalars InsertValue 10 0.0 867 pyraScalars InsertValue 11 0.0 868 pyraScalars InsertValue 12 0.0 869vtkQuadraticPyramid aPyramid 870 [aPyramid GetPointIds] SetId 0 0 871 [aPyramid GetPointIds] SetId 1 1 872 [aPyramid GetPointIds] SetId 2 2 873 [aPyramid GetPointIds] SetId 3 3 874 [aPyramid GetPointIds] SetId 4 4 875 [aPyramid GetPointIds] SetId 5 5 876 [aPyramid GetPointIds] SetId 6 6 877 [aPyramid GetPointIds] SetId 7 7 878 [aPyramid GetPointIds] SetId 8 8 879 [aPyramid GetPointIds] SetId 9 9 880 [aPyramid GetPointIds] SetId 10 10 881 [aPyramid GetPointIds] SetId 11 11 882 [aPyramid GetPointIds] SetId 12 12 883vtkUnstructuredGrid aPyramidGrid 884 aPyramidGrid Allocate 1 1 885 aPyramidGrid InsertNextCell [aPyramid GetCellType] [aPyramid GetPointIds] 886 aPyramidGrid SetPoints pyraPoints 887 [aPyramidGrid GetPointData] SetScalars pyraScalars 888vtkContourFilter pyraContours 889 pyraContours SetInputData aPyramidGrid 890 pyraContours SetValue 0 0.5 891vtkDataSetMapper aPyramidContourMapper 892 aPyramidContourMapper SetInputConnection [pyraContours GetOutputPort] 893 aPyramidContourMapper ScalarVisibilityOff 894vtkDataSetMapper aPyramidMapper 895 aPyramidMapper SetInputData aPyramidGrid 896 aPyramidMapper ScalarVisibilityOff 897vtkActor aPyramidActor 898 aPyramidActor SetMapper aPyramidMapper 899 [aPyramidActor GetProperty] SetRepresentationToWireframe 900 [aPyramidActor GetProperty] SetAmbient 1.0 901vtkActor aPyramidContourActor 902 aPyramidContourActor SetMapper aPyramidContourMapper 903 [aPyramidContourActor GetProperty] SetAmbient 1.0 904 905# Create the rendering related stuff. 906# Since some of our actors are a single vertex, we need to remove all 907# cullers so the single vertex actors will render 908vtkRenderer ren1 909[ren1 GetCullers] RemoveAllItems 910 911vtkRenderWindow renWin 912 renWin AddRenderer ren1 913vtkRenderWindowInteractor iren 914 iren SetRenderWindow renWin 915 916ren1 SetBackground .1 .2 .3 917renWin SetSize 400 200 918 919# specify properties 920ren1 AddActor aEdgeActor 921ren1 AddActor aEdgeContourActor 922 923ren1 AddActor aTriActor 924ren1 AddActor aTriContourActor 925 926ren1 AddActor aQuadActor 927ren1 AddActor aQuadContourActor 928 929ren1 AddActor BQuadActor 930ren1 AddActor BQuadContourActor 931 932ren1 AddActor QLQuadActor 933ren1 AddActor QLQuadContourActor 934 935ren1 AddActor aTetActor 936ren1 AddActor aTetContourActor 937 938ren1 AddActor aHexActor 939ren1 AddActor aHexContourActor 940 941ren1 AddActor TQHexActor 942ren1 AddActor TQHexContourActor 943 944ren1 AddActor BQHexActor 945ren1 AddActor BQHexContourActor 946 947ren1 AddActor aWedgeActor 948ren1 AddActor aWedgeContourActor 949 950ren1 AddActor BQWedgeActor 951ren1 AddActor BQWedgeContourActor 952 953ren1 AddActor QLWedgeActor 954ren1 AddActor QLWedgeContourActor 955 956ren1 AddActor aPyramidActor 957ren1 AddActor aPyramidContourActor 958 959# places everyone!! 960aEdgeContourActor AddPosition 0 2 0 961aTriActor AddPosition 2 0 0 962aTriContourActor AddPosition 2 2 0 963aQuadActor AddPosition 4 0 0 964BQuadActor AddPosition 4 0 2 965QLQuadActor AddPosition 4 0 4 966aQuadContourActor AddPosition 4 2 0 967BQuadContourActor AddPosition 4 2 2 968QLQuadContourActor AddPosition 4 2 4 969aTetActor AddPosition 6 0 0 970aTetContourActor AddPosition 6 2 0 971aHexActor AddPosition 8 0 0 972TQHexActor AddPosition 8 0 2 973BQHexActor AddPosition 8 0 4 974aHexContourActor AddPosition 8 2 0 975TQHexContourActor AddPosition 8 2 2 976BQHexContourActor AddPosition 8 2 4 977aWedgeActor AddPosition 10 0 0 978QLWedgeActor AddPosition 10 0 2 979BQWedgeActor AddPosition 10 0 4 980aWedgeContourActor AddPosition 10 2 0 981QLWedgeContourActor AddPosition 10 2 2 982BQWedgeContourActor AddPosition 10 2 4 983aPyramidActor AddPosition 12 0 0 984aPyramidContourActor AddPosition 12 2 0 985 986BuildBackdrop -1 15 -1 4 -1 6 .1 987 988ren1 AddActor base 989[base GetProperty] SetDiffuseColor .2 .2 .2 990ren1 AddActor left 991[left GetProperty] SetDiffuseColor .2 .2 .2 992ren1 AddActor back 993[back GetProperty] SetDiffuseColor .2 .2 .2 994 995ren1 ResetCamera 996[ren1 GetActiveCamera] Dolly 2.5 997ren1 ResetCameraClippingRange 998 999renWin Render 1000 1001# render the image 1002# 1003iren AddObserver UserEvent {wm deiconify .vtkInteract} 1004iren Initialize 1005wm withdraw . 1006 1007 1008