]> Creatis software - bbtk.git/blob - packages/vtk/bbs/appli/examplePlaneClipPolyData.bbs
Feature #1894 Black box to clip a polydata with a plane.
[bbtk.git] / packages / vtk / bbs / appli / examplePlaneClipPolyData.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/corredor/Software/CreaTools/All_Dec2012/creatools_source/bbtk/packages/vtk/bbs/appli/examplePlaneClipPolyData.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include wxvtk
13
14 author "Author ??"
15 description "Description ??"
16 category "<VOID>"
17
18 new SphereSource Box00
19
20 new PlaneClipPolyData Box01
21   set Box01.PlaneNormal "0 1 0"
22   set Box01.PlaneOrigin "0 0 0 "
23
24 new PolyDataToActor Box02
25
26 new Viewer3D Box03
27
28
29 connect Box00.Out Box01.PolyData
30
31 connect Box01.ClippedPolyData Box02.In
32
33 connect Box02.Out Box03.In1
34
35
36
37 # Complex input ports
38 exec Box03