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

SCM Repository

[diderot] Diff of /branches/charisee/ertest/vispaper/iso3d/resamp.diderot
ViewVC logotype

Diff of /branches/charisee/ertest/vispaper/iso3d/resamp.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2940, Wed Mar 4 11:21:52 2015 UTC revision 2941, Wed Mar 4 11:22:21 2015 UTC
# Line 20  Line 20 
20  vec3 zdir = [0.0, 0.0, spc[2]];  vec3 zdir = [0.0, 0.0, spc[2]];
21  vec3 orig = -(xdir*(sz0-1) + ydir*(sz1-1) + zdir*(sz2-1))/2;  vec3 orig = -(xdir*(sz0-1) + ydir*(sz1-1) + zdir*(sz2-1))/2;
22    
23  field#2(3)[] V= bspln3 ⊛ load("gauss0.nrrd");  //field#2(3)[] V= bspln3 ⊛ load("gauss0.nrrd");
   
24  //field#0(3)[] func =|∇⊗∇V|; // doesn't work  //field#0(3)[] func =|∇⊗∇V|; // doesn't work
25  //field#0(3)[] func = trace(∇⊗∇V);  //field#0(3)[] func = trace(∇⊗∇V);
26  field#0(3)[] func = (∇⊗∇V):(∇⊗∇V);  //field#0(3)[] func = (∇⊗∇V):(∇⊗∇V);
27  //field#0(3)[] func = trace((∇⊗∇V)•(∇⊗∇V));  //field#0(3)[] func = trace((∇⊗∇V)•(∇⊗∇V));
28    
29    field#4(3)[] V= c4hexic ⊛ load("canny.nrrd");
30    field#3(3)[3] G = ∇V;
31    field#2(3)[3,3] H = ∇⊗∇V;
32    field#2(3)[] func = G•H•G/|G|;
33    
34  strand sample(int xi, int yi, int zi) {  strand sample(int xi, int yi, int zi) {
35    output real vv = 0;    output real vv = 0;
36    update {    update {

Legend:
Removed from v.2940  
changed lines
  Added in v.2941

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