This file is indexed.

/usr/share/dx/samples/macros/ClipVolumeMacro.net is in dxsamples 4.2.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
//
// time: Tue Apr  8 11:48:06 1997
//
// version: 3.1.1 (format), 3.1.4 (DX Beta)
//
//
//
// macro reference (direct): ClipSurfaceMacro ClipSurfaceMacro.net
include "ClipSurfaceMacro.net"
//
// Begin MDF
// MODULE ClipVolumeMacro
// CATEGORY Macros
// DESCRIPTION clips a surface against a plane and closes it
// INPUT surface; field; (none);  surface field
// INPUT volume; object; (none); volume field
// INPUT point; value list or field or string or string list; (none);  point of plane
// INPUT normal; value list or field or string or string list; (none);  normal of plane
// OUTPUT output_1; object;  
// End MDF
//
// comment: Given a surface and the volume from which it was generated, clips the surface against a given plane, and closes the result.
// page assignment: cap	order=4, windowed=0, showing=0
// page assignment: clipCap	order=5, windowed=0, showing=0
// page assignment: main	order=6, windowed=0, showing=1
// page assignment: plane	order=2, windowed=0, showing=0
// page assignment: surfaceInfo	order=3, windowed=0, showing=0
// workspace: width = 822, height = 613
// layout: snap = 0, width = 50, height = 50, align = NN
//
macro ClipVolumeMacro(
 surface
,volume
,point
,normal
) -> (
 output_1
) {
    // 
    // node Input[1]: x = 7, y = 10, inputs = 0, label = Input
    // page group: main
    // parameter: position = 1, name = 'surface', value = ' ', descriptive = 0, description = ' surface field', required = 1, visible = 1
    //
ClipVolumeMacro_Input_1_out_1 = surface;
    // 
    // node Transmitter[7]: x = 82, y = 58, inputs = 1, label = Surface
    // page group: main
    //
Surface = ClipVolumeMacro_Input_1_out_1;
    // 
    // node Receiver[5]: x = 242, y = 10, inputs = 1, label = Surface
    // page group: surfaceInfo
    //
ClipVolumeMacro_Receiver_5_out_1[cache: 0] = Surface;
    // 
    // node Inquire[2]: x = 0, y = 118, inputs = 3, label = Inquire
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "has attribute"
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "Isosurface value"
    // page group: surfaceInfo
    //
ClipVolumeMacro_Inquire_2_out_1 = 
    Inquire(
    ClipVolumeMacro_Receiver_5_out_1,
    "has attribute",
    "Isosurface value"
    ) [instance: 2, cache: 1];
    // 
    // node Route[3]: x = 90, y = 178, inputs = 2, outputs = 2, label = Route
    // page group: surfaceInfo
    //
ClipVolumeMacro_Route_3_out_1,
ClipVolumeMacro_Route_3_out_2 = 
    Route(
    ClipVolumeMacro_Inquire_2_out_1,
    ClipVolumeMacro_Receiver_5_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Attribute[2]: x = 83, y = 268, inputs = 2, label = Attribute
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "Isosurface value"
    // page group: surfaceInfo
    //
ClipVolumeMacro_Attribute_2_out_1 = 
    Attribute(
    ClipVolumeMacro_Route_3_out_1,
    "Isosurface value"
    ) [instance: 2, cache: 1];
    // 
    // node Inquire[3]: x = 422, y = 113, inputs = 3, label = Inquire
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "has attribute"
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "ClipVolume planes"
    // page group: surfaceInfo
    //
ClipVolumeMacro_Inquire_3_out_1 = 
    Inquire(
    ClipVolumeMacro_Receiver_5_out_1,
    "has attribute",
    "ClipVolume planes"
    ) [instance: 3, cache: 1];
    // 
    // node Route[4]: x = 517, y = 119, inputs = 2, outputs = 2, label = Route
    // page group: surfaceInfo
    //
ClipVolumeMacro_Route_4_out_1,
ClipVolumeMacro_Route_4_out_2 = 
    Route(
    ClipVolumeMacro_Inquire_3_out_1,
    ClipVolumeMacro_Receiver_5_out_1
    ) [instance: 4, cache: 1];
    // 
    // node Attribute[3]: x = 541, y = 195, inputs = 2, label = Attribute
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "ClipVolume planes"
    // page group: surfaceInfo
    //
ClipVolumeMacro_Attribute_3_out_1 = 
    Attribute(
    ClipVolumeMacro_Route_4_out_1,
    "ClipVolume planes"
    ) [instance: 3, cache: 1];
    // 
    // node Attribute[4]: x = 296, y = 142, inputs = 2, label = Attribute
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "CappedIsosurface capDir"
    // page group: surfaceInfo
    //
ClipVolumeMacro_Attribute_4_out_1 = 
    Attribute(
    ClipVolumeMacro_Receiver_5_out_1,
    "CappedIsosurface capDir"
    ) [instance: 4, cache: 1];
    // 
    // node Input[2]: x = 183, y = 16, inputs = 0, label = Input
    // page group: main
    // parameter: position = 2, name = 'volume', value = ' ', descriptive = 0, description = 'volume field', required = 1, visible = 1
    //
ClipVolumeMacro_Input_2_out_1 = volume;
    // 
    // node Transmitter[5]: x = 174, y = 101, inputs = 1, label = Volume
    // page group: main
    //
Volume = ClipVolumeMacro_Input_2_out_1;
    // 
    // node Receiver[4]: x = 4, y = 0, inputs = 1, label = Volume
    // page group: cap
    //
ClipVolumeMacro_Receiver_4_out_1[cache: 0] = Volume;
    // 
    // node Input[3]: x = 38, y = 20, inputs = 0, label = Input
    // page group: plane
    // parameter: position = 3, name = 'point', value = ' ', descriptive = 0, description = ' point of plane', required = 1, visible = 1
    //
ClipVolumeMacro_Input_3_out_1 = point;
    // 
    // node Transmitter[2]: x = 20, y = 109, inputs = 1, label = Point
    // page group: plane
    //
Point = ClipVolumeMacro_Input_3_out_1;
    // 
    // node Receiver[2]: x = 73, y = 0, inputs = 1, label = Point
    // page group: cap
    //
ClipVolumeMacro_Receiver_2_out_1[cache: 0] = Point;
    // 
    // node Input[4]: x = 142, y = 27, inputs = 0, label = Input
    // page group: plane
    // parameter: position = 4, name = 'normal', value = ' ', descriptive = 0, description = ' normal of plane', required = 1, visible = 1
    //
ClipVolumeMacro_Input_4_out_1 = normal;
    // 
    // node Transmitter[3]: x = 195, y = 117, inputs = 1, label = Normal
    // page group: plane
    //
Normal = ClipVolumeMacro_Input_4_out_1;
    // 
    // node Receiver[3]: x = 105, y = 68, inputs = 1, label = Normal
    // page group: cap
    //
ClipVolumeMacro_Receiver_3_out_1[cache: 0] = Normal;
    // 
    // node MapToPlane[1]: x = 0, y = 124, inputs = 3, label = MapToPlane
    // page group: cap
    //
ClipVolumeMacro_MapToPlane_1_out_1 = 
    MapToPlane(
    ClipVolumeMacro_Receiver_4_out_1,
    ClipVolumeMacro_Receiver_2_out_1,
    ClipVolumeMacro_Receiver_3_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Transmitter[9]: x = 99, y = 354, inputs = 1, label = isoval
    // page group: surfaceInfo
    //
isoval = ClipVolumeMacro_Attribute_2_out_1;
    // 
    // node Receiver[11]: x = 353, y = 194, inputs = 1, label = isoval
    // page group: cap
    //
ClipVolumeMacro_Receiver_11_out_1[cache: 0] = isoval;
    // 
    // node Band[3]: x = 202, y = 221, inputs = 4, label = Band
    // input[4]: defaulting = 0, visible = 1, type = 32, value = "original"
    // page group: cap
    //
ClipVolumeMacro_Band_3_out_1 = 
    Band(
    ClipVolumeMacro_MapToPlane_1_out_1,
    ClipVolumeMacro_Receiver_11_out_1,
    NULL,
    "original"
    ) [instance: 3, cache: 1];
    // 
    // node Compute[2]: x = 81, y = 131, inputs = 3, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$1.x,$1.y,$1.z,-($0.x*$1.x + $0.y*$1.y + $0.z*$1.z)]"
    // page group: plane
    // expression: value = [b.x,b.y,b.z,-(a.x*b.x + a.y*b.y + a.z*b.z)]
    // name[2]: value = a
    // name[3]: value = b
    //
ClipVolumeMacro_Compute_2_out_1 = 
    Compute(
    "[$1.x,$1.y,$1.z,-($0.x*$1.x + $0.y*$1.y + $0.z*$1.z)]",
    ClipVolumeMacro_Input_3_out_1,
    ClipVolumeMacro_Input_4_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Transmitter[6]: x = 77, y = 232, inputs = 1, label = plane
    // page group: plane
    //
plane = ClipVolumeMacro_Compute_2_out_1;
    // 
    // node Receiver[13]: x = 118, y = 166, inputs = 1, label = plane
    // page group: main
    //
ClipVolumeMacro_Receiver_13_out_1[cache: 0] = plane;
    // 
    // node ClipSurfaceMacro[2]: x = 30, y = 258, inputs = 2, label = ClipSurfaceMacro
    // page group: main
    //
ClipVolumeMacro_ClipSurfaceMacro_2_out_1 = 
    ClipSurfaceMacro(
    ClipVolumeMacro_Input_1_out_1,
    ClipVolumeMacro_Receiver_13_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Transmitter[8]: x = 6, y = 344, inputs = 1, label = isIso
    // page group: surfaceInfo
    //
isIso = ClipVolumeMacro_Inquire_2_out_1;
    // 
    // node Receiver[10]: x = 16, y = 196, inputs = 1, label = isIso
    // page group: cap
    //
ClipVolumeMacro_Receiver_10_out_1[cache: 0] = isIso;
    // 
    // node Compute[7]: x = 17, y = 305, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1"
    // page group: cap
    // expression: value = a+1
    // name[2]: value = a
    //
ClipVolumeMacro_Compute_7_out_1 = 
    Compute(
    "$0+1",
    ClipVolumeMacro_Receiver_10_out_1
    ) [instance: 7, cache: 1];
    // 
    // node Inquire[4]: x = 190, y = 143, inputs = 3, label = Inquire
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "has attribute + 1"
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "CappedIsosurface capDir"
    // page group: surfaceInfo
    //
ClipVolumeMacro_Inquire_4_out_1 = 
    Inquire(
    ClipVolumeMacro_Receiver_5_out_1,
    "has attribute + 1",
    "CappedIsosurface capDir"
    ) [instance: 4, cache: 1];
    // 
    // node Switch[4]: x = 225, y = 230, inputs = 3, label = Switch
    // input[2]: defaulting = 0, visible = 1, type = 67108863, value = 1
    // page group: surfaceInfo
    //
ClipVolumeMacro_Switch_4_out_1 = 
    Switch(
    ClipVolumeMacro_Inquire_4_out_1,
    1,
    ClipVolumeMacro_Attribute_4_out_1
    ) [instance: 4, cache: 1];
    // 
    // node Transmitter[14]: x = 238, y = 326, inputs = 1, label = isoCapDir
    // page group: surfaceInfo
    //
isoCapDir = ClipVolumeMacro_Switch_4_out_1;
    // 
    // node Receiver[12]: x = 157, y = 418, inputs = 1, label = isoCapDir
    // page group: cap
    //
ClipVolumeMacro_Receiver_12_out_1[cache: 0] = isoCapDir;
    // 
    // node Compute[8]: x = 260, y = 449, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0 == 1 ? 2 : 1"
    // page group: cap
    // expression: value = a == 1 ? 2 : 1
    // name[2]: value = a
    //
ClipVolumeMacro_Compute_8_out_1 = 
    Compute(
    "$0 == 1 ? 2 : 1",
    ClipVolumeMacro_Receiver_12_out_1
    ) [instance: 8, cache: 1];
    // 
    // node Include[3]: x = 214, y = 339, inputs = 6, label = Include
    // page group: cap
    //
ClipVolumeMacro_Include_3_out_1 = 
    Include(
    ClipVolumeMacro_Band_3_out_1,
    ClipVolumeMacro_Receiver_11_out_1,
    NULL,
    NULL,
    NULL,
    NULL
    ) [instance: 3, cache: 1];
    // 
    // node Include[4]: x = 377, y = 330, inputs = 6, label = Include
    // page group: cap
    //
ClipVolumeMacro_Include_4_out_1 = 
    Include(
    ClipVolumeMacro_Band_3_out_1,
    NULL,
    ClipVolumeMacro_Receiver_11_out_1,
    NULL,
    NULL,
    NULL
    ) [instance: 4, cache: 1];
    // 
    // node Switch[6]: x = 373, y = 480, inputs = 3, label = Switch
    // page group: cap
    //
ClipVolumeMacro_Switch_6_out_1 = 
    Switch(
    ClipVolumeMacro_Compute_8_out_1,
    ClipVolumeMacro_Include_3_out_1,
    ClipVolumeMacro_Include_4_out_1
    ) [instance: 6, cache: 1];
    // 
    // node Switch[7]: x = 69, y = 497, inputs = 3, label = Switch
    // page group: cap
    //
ClipVolumeMacro_Switch_7_out_1 = 
    Switch(
    ClipVolumeMacro_Compute_7_out_1,
    ClipVolumeMacro_MapToPlane_1_out_1,
    ClipVolumeMacro_Switch_6_out_1
    ) [instance: 7, cache: 1];
    // 
    // node Transmitter[15]: x = 163, y = 551, inputs = 1, label = cap
    // page group: cap
    //
cap = ClipVolumeMacro_Switch_7_out_1;
    // 
    // node Receiver[15]: x = 111, y = 63, inputs = 1, label = cap
    // page group: clipCap
    //
ClipVolumeMacro_Receiver_15_out_1[cache: 0] = cap;
    // 
    // node GetLocal[1]: x = 251, y = 90, inputs = 3, label = GetLocal
    // page group: clipCap
    //
ClipVolumeMacro_GetLocal_1_out_1,
ClipVolumeMacro_GetLocal_1_out_2 = 
    GetLocal(
    ClipVolumeMacro_Receiver_15_out_1,
    NULL,
    NULL
    ) [instance: 1, cache: 1];
    // 
    // node Transmitter[11]: x = 531, y = 316, inputs = 1, label = inputPlanes
    // page group: surfaceInfo
    //
inputPlanes = ClipVolumeMacro_Attribute_3_out_1;
    // 
    // node Receiver[14]: x = 379, y = 48, inputs = 1, label = inputPlanes
    // page group: clipCap
    //
ClipVolumeMacro_Receiver_14_out_1[cache: 0] = inputPlanes;
    // 
    // node ForEachMember[1]: x = 375, y = 135, inputs = 1, label = ForEachMember
    // page group: clipCap
    //
ClipVolumeMacro_ForEachMember_1_out_1,
ClipVolumeMacro_ForEachMember_1_out_2,
ClipVolumeMacro_ForEachMember_1_out_3 = 
    ForEachMember(
    ClipVolumeMacro_Receiver_14_out_1
    ) [instance: 1, cache: 1];
    // 
    // node ClipSurfaceMacro[3]: x = 220, y = 202, inputs = 2, label = ClipSurfaceMacro
    // page group: clipCap
    //
ClipVolumeMacro_ClipSurfaceMacro_3_out_1 = 
    ClipSurfaceMacro(
    ClipVolumeMacro_GetLocal_1_out_1,
    ClipVolumeMacro_ForEachMember_1_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Transmitter[10]: x = 405, y = 205, inputs = 1, label = hasInputPlanes
    // page group: surfaceInfo
    //
hasInputPlanes = ClipVolumeMacro_Inquire_3_out_1;
    // 
    // node Receiver[21]: x = 0, y = 272, inputs = 1, label = hasInputPlanes
    // page group: clipCap
    //
ClipVolumeMacro_Receiver_21_out_1[cache: 0] = hasInputPlanes;
    // 
    // node Compute[10]: x = 3, y = 375, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1"
    // page group: clipCap
    // expression: value = a+1
    // name[2]: value = a
    //
ClipVolumeMacro_Compute_10_out_1 = 
    Compute(
    "$0+1",
    ClipVolumeMacro_Receiver_21_out_1
    ) [instance: 10, cache: 1];
    // 
    // node Transmitter[16]: x = 440, y = 219, inputs = 1, label = loopDone
    // page group: clipCap
    //
loopDone = ClipVolumeMacro_ForEachMember_1_out_3;
    // 
    // node Receiver[22]: x = 192, y = 311, inputs = 1, label = loopDone
    // page group: clipCap
    //
ClipVolumeMacro_Receiver_22_out_1[cache: 0] = loopDone;
    // 
    // node Route[2]: x = 279, y = 363, inputs = 2, outputs = 2, label = Route
    // page group: clipCap
    //
ClipVolumeMacro_Route_2_out_1,
ClipVolumeMacro_Route_2_out_2 = 
    Route(
    ClipVolumeMacro_Receiver_22_out_1,
    ClipVolumeMacro_ClipSurfaceMacro_3_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Switch[9]: x = 140, y = 421, inputs = 3, label = Switch
    // page group: clipCap
    //
ClipVolumeMacro_Switch_9_out_1 = 
    Switch(
    ClipVolumeMacro_Compute_10_out_1,
    ClipVolumeMacro_Receiver_15_out_1,
    ClipVolumeMacro_Route_2_out_1
    ) [instance: 9, cache: 1];
    // 
    // node Transmitter[17]: x = 145, y = 519, inputs = 1, label = clippedCap
    // page group: clipCap
    //
clippedCap = ClipVolumeMacro_Switch_9_out_1;
    // 
    // node Receiver[23]: x = 239, y = 247, inputs = 1, label = clippedCap
    // page group: main
    //
ClipVolumeMacro_Receiver_23_out_1[cache: 0] = clippedCap;
    // 
    // node Collect[3]: x = 163, y = 360, inputs = 2, label = Collect
    // page group: main
    //
ClipVolumeMacro_Collect_3_out_1 = 
    Collect(
    ClipVolumeMacro_ClipSurfaceMacro_2_out_1,
    ClipVolumeMacro_Receiver_23_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Receiver[7]: x = 201, y = 286, inputs = 1, label = hasInputPlanes
    // page group: plane
    //
ClipVolumeMacro_Receiver_7_out_1[cache: 0] = hasInputPlanes;
    // 
    // node Compute[5]: x = 221, y = 381, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1"
    // page group: plane
    // expression: value = a+1
    // name[2]: value = a
    //
ClipVolumeMacro_Compute_5_out_1 = 
    Compute(
    "$0+1",
    ClipVolumeMacro_Receiver_7_out_1
    ) [instance: 5, cache: 1];
    // 
    // node Receiver[18]: x = 24, y = 414, inputs = 1, label = isIso
    // page group: main
    //
ClipVolumeMacro_Receiver_18_out_1[cache: 0] = isIso;
    // 
    // node Compute[9]: x = 46, y = 507, inputs = 2, label = Compute
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1"
    // page group: main
    // expression: value = a+1
    // name[2]: value = a
    //
ClipVolumeMacro_Compute_9_out_1 = 
    Compute(
    "$0+1",
    ClipVolumeMacro_Receiver_18_out_1
    ) [instance: 9, cache: 1];
    // 
    // node Receiver[6]: x = 413, y = 280, inputs = 1, label = inputPlanes
    // page group: plane
    //
ClipVolumeMacro_Receiver_6_out_1[cache: 0] = inputPlanes;
    // 
    // node Receiver[8]: x = 352, y = 327, inputs = 1, label = plane
    // page group: plane
    //
ClipVolumeMacro_Receiver_8_out_1[cache: 0] = plane;
    // 
    // node List[1]: x = 439, y = 395, inputs = 2, label = List
    // page group: plane
    //
ClipVolumeMacro_List_1_out_1 = 
    List(
    ClipVolumeMacro_Receiver_6_out_1,
    ClipVolumeMacro_Receiver_8_out_1
    ) [instance: 1, cache: 1];
    // 
    // node Switch[3]: x = 338, y = 460, inputs = 3, label = Switch
    // page group: plane
    //
ClipVolumeMacro_Switch_3_out_1 = 
    Switch(
    ClipVolumeMacro_Compute_5_out_1,
    ClipVolumeMacro_Receiver_8_out_1,
    ClipVolumeMacro_List_1_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Transmitter[12]: x = 353, y = 541, inputs = 1, label = planeList
    // page group: plane
    //
planeList = ClipVolumeMacro_Switch_3_out_1;
    // 
    // node Receiver[17]: x = 237, y = 388, inputs = 1, label = planeList
    // page group: main
    //
ClipVolumeMacro_Receiver_17_out_1[cache: 0] = planeList;
    // 
    // node Options[2]: x = 151, y = 457, inputs = 3, label = Options
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "ClipVolume planes"
    // page group: main
    //
ClipVolumeMacro_Options_2_out_1 = 
    Options(
    ClipVolumeMacro_Collect_3_out_1,
    "ClipVolume planes",
    ClipVolumeMacro_Receiver_17_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Receiver[19]: x = 349, y = 387, inputs = 1, label = isoval
    // page group: main
    //
ClipVolumeMacro_Receiver_19_out_1[cache: 0] = isoval;
    // 
    // node Receiver[20]: x = 406, y = 391, inputs = 1, label = isoCapDir
    // page group: main
    //
ClipVolumeMacro_Receiver_20_out_1[cache: 0] = isoCapDir;
    // 
    // node Options[3]: x = 259, y = 524, inputs = 5, label = Options
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "Isosurface value"
    // input[4]: defaulting = 0, visible = 1, type = 32, value = "CappedIsosurface capClip"
    // page group: main
    //
ClipVolumeMacro_Options_3_out_1 = 
    Options(
    ClipVolumeMacro_Options_2_out_1,
    "Isosurface value",
    ClipVolumeMacro_Receiver_19_out_1,
    "CappedIsosurface capClip",
    ClipVolumeMacro_Receiver_20_out_1
    ) [instance: 3, cache: 1];
    // 
    // node Switch[8]: x = 153, y = 541, inputs = 3, label = Switch
    // page group: main
    //
ClipVolumeMacro_Switch_8_out_1 = 
    Switch(
    ClipVolumeMacro_Compute_9_out_1,
    ClipVolumeMacro_Options_2_out_1,
    ClipVolumeMacro_Options_3_out_1
    ) [instance: 8, cache: 1];
    // 
    // node Output[1]: x = 422, y = 551, inputs = 1, label = Output
    // page group: main
    // parameter: position = 1, name = 'output_1', value = ' ', descriptive = 0, description = ' ', required = 0, visible = 1
    //
output_1 = ClipVolumeMacro_Switch_8_out_1;
    // 
    // node SetLocal[1]: x = 313, y = 283, inputs = 3, label = SetLocal
    // page group: clipCap
    //
    SetLocal(
    ClipVolumeMacro_ClipSurfaceMacro_3_out_1,
    ClipVolumeMacro_GetLocal_1_out_2,
    NULL
    ) [instance: 1, cache: 1];
    //
    // decorator Annotate	pos=(242,22) size=532x172 style(Label), value = <NULL>
    // annotation user_begin: 671
    // annotation user: Given a surface and the volume from which it was generated, this
    // annotation user: macro clips the surface against a given plane, and closes the result
    // annotation user: by generating the intersection of the volume with the plane (MapToPlane)
    // annotation user: and clipping it against any previous clipping planes.  In this manner the 
    // annotation user: ShowBoundary of the volume can be clipped away, revealing an interior
    // annotation user: slice.  If the input surface is derived from ClippedIsosurface (and thus has
    // annotation user: both Isosurface value and CappedIsosurface capDir attributes) the mapped
    // annotation user: planar intersection is clipped at the isovalue and the one part or the other 
    // annotation user: is disarded.  In this manner we can slice away a closed isosurface to reveal 
    // annotation user: its interior.
    // annotation user_end: <NULL>
    // page group: main
    //
    // decorator Annotate	pos=(176,214) size=471x44 style(Label), value = <NULL>
    // annotation user_begin: 116
    // annotation user: Create a planar equation from a point/normal form.  Append this to
    // annotation user: the list of prior clipping planes, if one exists.
    // annotation user_end: <NULL>
    // page group: plane
    //
    // decorator Annotate	pos=(74,451) size=472x60 style(Label), value = <NULL>
    // annotation user_begin: 155
    // annotation user: Extract information from the input surface - is it an isosurface, and
    // annotation user: if so, what value?  Were there earlier clipping planes?  Was it a 
    // annotation user: capped isosurface?
    // annotation user_end: <NULL>
    // page group: surfaceInfo
    //
    // decorator Annotate	pos=(171,20) size=453x44 style(Label), value = <NULL>
    // annotation user_begin: 104
    // annotation user: Generate the cap in the clipping plane, dividing it if the surfaces
    // annotation user: were derived from a CappedIsosurface
    // annotation user_end: <NULL>
    // page group: cap
    //
    // decorator Annotate	pos=(244,455) size=477x60 style(Label), value = <NULL>
    // annotation user_begin: 166
    // annotation user: If there were previous clipping planes, we need to apply then to the
    // annotation user: cap we are generating in this clipping plane.  We do this by looping
    // annotation user: on the list of prior planes.
    // annotation user_end: <NULL>
    // page group: clipCap
    //
    // decorator Annotate	pos=(497,449) size=325x92 style(Label), value = <NULL>
    // annotation user_begin: 193
    // annotation user: Add the updated list of clipping planes as the
    // annotation user: ClipVolume planes attribute.  If we were
    // annotation user: operating on a result of isosurface, add the
    // annotation user: Isosurface isovalue and CappedIsosurface 
    // annotation user: capDir attributes.
    // annotation user_end: <NULL>
    // page group: main
// network: end of macro body
}
ClipVolumeMacro_Input_1_out_1 = NULL;
ClipVolumeMacro_Transmitter_7_out_1 = NULL;
ClipVolumeMacro_Receiver_5_out_1 = NULL;
ClipVolumeMacro_Inquire_2_out_1 = NULL;
ClipVolumeMacro_Route_3_out_1 = NULL;
ClipVolumeMacro_Attribute_2_out_1 = NULL;
ClipVolumeMacro_Inquire_3_out_1 = NULL;
ClipVolumeMacro_Route_4_out_1 = NULL;
ClipVolumeMacro_Attribute_3_out_1 = NULL;
ClipVolumeMacro_Attribute_4_out_1 = NULL;
ClipVolumeMacro_Input_2_out_1 = NULL;
ClipVolumeMacro_Transmitter_5_out_1 = NULL;
ClipVolumeMacro_Receiver_4_out_1 = NULL;
ClipVolumeMacro_Input_3_out_1 = NULL;
ClipVolumeMacro_Transmitter_2_out_1 = NULL;
ClipVolumeMacro_Receiver_2_out_1 = NULL;
ClipVolumeMacro_Input_4_out_1 = NULL;
ClipVolumeMacro_Transmitter_3_out_1 = NULL;
ClipVolumeMacro_Receiver_3_out_1 = NULL;
ClipVolumeMacro_MapToPlane_1_out_1 = NULL;
ClipVolumeMacro_Transmitter_9_out_1 = NULL;
ClipVolumeMacro_Receiver_11_out_1 = NULL;
ClipVolumeMacro_Band_3_out_1 = NULL;
ClipVolumeMacro_Compute_2_out_1 = NULL;
ClipVolumeMacro_Transmitter_6_out_1 = NULL;
ClipVolumeMacro_Receiver_13_out_1 = NULL;
ClipVolumeMacro_ClipSurfaceMacro_2_out_1 = NULL;
ClipVolumeMacro_Transmitter_8_out_1 = NULL;
ClipVolumeMacro_Receiver_10_out_1 = NULL;
ClipVolumeMacro_Compute_7_out_1 = NULL;
ClipVolumeMacro_Inquire_4_out_1 = NULL;
ClipVolumeMacro_Switch_4_out_1 = NULL;
ClipVolumeMacro_Transmitter_14_out_1 = NULL;
ClipVolumeMacro_Receiver_12_out_1 = NULL;
ClipVolumeMacro_Compute_8_out_1 = NULL;
ClipVolumeMacro_Include_3_out_1 = NULL;
ClipVolumeMacro_Include_4_out_1 = NULL;
ClipVolumeMacro_Switch_6_out_1 = NULL;
ClipVolumeMacro_Switch_7_out_1 = NULL;
ClipVolumeMacro_Transmitter_15_out_1 = NULL;
ClipVolumeMacro_Receiver_15_out_1 = NULL;
ClipVolumeMacro_GetLocal_1_out_1 = NULL;
ClipVolumeMacro_GetLocal_1_out_2 = NULL;
ClipVolumeMacro_Transmitter_11_out_1 = NULL;
ClipVolumeMacro_Receiver_14_out_1 = NULL;
ClipVolumeMacro_ForEachMember_1_out_1 = NULL;
ClipVolumeMacro_ForEachMember_1_out_3 = NULL;
ClipVolumeMacro_ClipSurfaceMacro_3_out_1 = NULL;
ClipVolumeMacro_Transmitter_10_out_1 = NULL;
ClipVolumeMacro_Receiver_21_out_1 = NULL;
ClipVolumeMacro_Compute_10_out_1 = NULL;
ClipVolumeMacro_Transmitter_16_out_1 = NULL;
ClipVolumeMacro_Receiver_22_out_1 = NULL;
ClipVolumeMacro_Route_2_out_1 = NULL;
ClipVolumeMacro_Switch_9_out_1 = NULL;
ClipVolumeMacro_Transmitter_17_out_1 = NULL;
ClipVolumeMacro_Receiver_23_out_1 = NULL;
ClipVolumeMacro_Collect_3_out_1 = NULL;
ClipVolumeMacro_Receiver_7_out_1 = NULL;
ClipVolumeMacro_Compute_5_out_1 = NULL;
ClipVolumeMacro_Receiver_18_out_1 = NULL;
ClipVolumeMacro_Compute_9_out_1 = NULL;
ClipVolumeMacro_Receiver_6_out_1 = NULL;
ClipVolumeMacro_Receiver_8_out_1 = NULL;
ClipVolumeMacro_List_1_out_1 = NULL;
ClipVolumeMacro_Switch_3_out_1 = NULL;
ClipVolumeMacro_Transmitter_12_out_1 = NULL;
ClipVolumeMacro_Receiver_17_out_1 = NULL;
ClipVolumeMacro_Options_2_out_1 = NULL;
ClipVolumeMacro_Receiver_19_out_1 = NULL;
ClipVolumeMacro_Receiver_20_out_1 = NULL;
ClipVolumeMacro_Options_3_out_1 = NULL;
ClipVolumeMacro_Switch_8_out_1 = NULL;