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

SCM Repository

[diderot] View of /branches/vis12/data/vfrhand-dvr-miter.csh
ViewVC logotype

View of /branches/vis12/data/vfrhand-dvr-miter.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1685 - (download) (as text) (annotate)
Sun Jan 22 15:23:36 2012 UTC (7 years, 8 months ago) by jhr
File size: 893 byte(s)
  Create a branch to implement things that we need for the Vis 2012 paper
#!/bin/csh

echo "0 1" \
 | unu reshape -s 1 2 \
 | unu resample -s = 1000 -k tent \
 | unu save -f text -o ramp.txt

# for skeleton use this line instead
# echo "0.0 0.0   1330 0.0    1630 1.0    2000.0 1.0" \

echo "0.0 0.0   200 0.0    500 1.0    2000.0 1.0" \
 | unu reshape -s 2 4 \
 | unu imap -i ramp.txt -r -m - \
 | unu axinfo -a 0 -l "A" \
 | unu axinfo -a 1 -l "gage(scalar:v)" -mm 0 2000 -o txf.nrrd

foreach K ( tent bspln3 bspln5 )

  miter -i vfrhand-nohip.nhdr -k00 ${K} -k11 ${K}d -step 0.5 -txf txf.nrrd \
    -fr 127.331 -1322.05 272.53 -at 58.9693 82.6536 101.999 \
    -up 0.9987 0.0459166 -0.0221267 -rh -ar \
    -dn -77.8335 -di -77.8335 -df 77.8335 -fv 5.04825 -is 640 480 \
    -ld 0 0 -1 -ads 0 1 0  -ss "phong:gage(scalar:n)" -ref 1 -o - \
   | unu crop -min 0 0 0 -max 3 M M \
   | overrgb -i - -b 0.2 0.3 0.4 -o vfrhand-dvr-${K}.png

end

rm -f ramp.txt txf.nrrd

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