Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /tests/rtest/data/vfrhand-dvr-miter.csh
ViewVC logotype

Annotation of /tests/rtest/data/vfrhand-dvr-miter.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (view) (download) (as text)

1 : glk 4640 #!/bin/csh
2 :    
3 :     echo "0 1" \
4 :     | unu reshape -s 1 2 \
5 :     | unu resample -s = 1000 -k tent \
6 :     | unu save -f text -o ramp.txt
7 :    
8 :     # for skeleton use this line instead
9 :     # echo "0.0 0.0 1330 0.0 1630 1.0 2000.0 1.0" \
10 :    
11 :     echo "0.0 0.0 200 0.0 500 1.0 2000.0 1.0" \
12 :     | unu reshape -s 2 4 \
13 :     | unu imap -i ramp.txt -r -m - \
14 :     | unu axinfo -a 0 -l "A" \
15 :     | unu axinfo -a 1 -l "gage(scalar:v)" -mm 0 2000 -o txf.nrrd
16 :    
17 :     foreach K ( tent bspln3 bspln5 )
18 :    
19 :     miter -i vfrhand-nohip.nhdr -k00 ${K} -k11 ${K}d -step 0.5 -txf txf.nrrd \
20 :     -fr 127.331 -1322.05 272.53 -at 58.9693 82.6536 101.999 \
21 :     -up 0.9987 0.0459166 -0.0221267 -rh -ar \
22 :     -dn -77.8335 -di -77.8335 -df 77.8335 -fv 5.04825 -is 640 480 \
23 :     -ld 0 0 -1 -ads 0 1 0 -ss "phong:gage(scalar:n)" -ref 1 -o - \
24 :     | unu crop -min 0 0 0 -max 3 M M \
25 :     | overrgb -i - -b 0.2 0.3 0.4 -o vfrhand-dvr-${K}.png
26 :    
27 :     end
28 :    
29 :     rm -f ramp.txt txf.nrrd

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0