Loading...
Searching...
No Matches
vtk.mac
Go to the documentation of this file.
1/vis/viewer/set/background white
2
3# export screen shot
4#/vis/vtk/export bmp exampleVtk
5# export screen shot
6#/vis/vtk/export ps exampleVtk
7# export screen shot
8#/vis/vtk/export jpg exampleVtk
9# export screen shot
10#/vis/vtk/export png exampleVtk
11# export screen shot
12#/vis/vtk/export tiff exampleVtk
13
14# export to VTP file
15/vis/vtk/export vtp exampleVtk
16# export to VRML file
17/vis/vtk/export vrml exampleVtk
18# export to OBJ file
19/vis/vtk/export obj exampleVtkObj
20
21# set cutter
22/vis/vtk/set/cutter
23/vis/vtk/exportCutter exampleVtkCutter.vtp
24
25# set clipper
26/vis/vtk/set/clipper
27
28# set hud
29/vis/vtk/set/hud 1
30# set orientation widget
31/vis/vtk/set/orientation 1
32
33# add overlay
34# 477 511 -2m -2m
35# 870 117 2m 2m
36/vis/vtk/add/imageOverlay DumpOverlayExampleDrawing.png 425 370 707 87 -1000 -1000 1000 1000 0 0 0 0 0 0
37# 117 511 -0.5m -2m
38# 314 117 0.5m 2m
39/vis/vtk/add/imageOverlay DumpOverlayExampleDrawing.png 165 370 307 97 -500 -1000 500 1000 0 -90 0 0 0 0
40
41# dump vtk viewer state
42/vis/vtk/printDebug
43
44# append pipeline
45/vis/vtk/set/polyhedronPipeline tensor
46/vis/viewer/refresh
47/vis/vtk/printDebug
48
49# define scoring mesh
50/score/create/boxMesh boxMesh
51/score/mesh/boxSize 20. 20. 200. cm
52/score/mesh/nBin 50 50 50
53/score/quantity/energyDeposit edepScorer MeV
54/score/filter/particle elecFilter e-
55/score/close

Applications | User Support | Publications | Collaboration