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

SCM Repository

[diderot] Diff of /branches/vis12/src/lib/common/image.c
ViewVC logotype

Diff of /branches/vis12/src/lib/common/image.c

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

revision 2034, Fri Oct 12 14:52:19 2012 UTC revision 2035, Fri Oct 12 21:03:15 2012 UTC
# Line 287  Line 287 
287  #undef I  #undef I
288  }  }
289    
 static Nrrd *Diderot_LoadNrrdFile (WorldPrefix_t *wrld, const char *filename)  
 {  
   /* create a nrrd; at this point this is just an empty container */  
     Nrrd *nin = nrrdNew();  
   
   /* read in the nrrd from file */  
     if (nrrdLoad(nin, filename, NULL) != 0) {  
         char *msg = biffGetDone(NRRD);  
         biffMsgAdd(wrld->errors, msg);  
         FREE (msg);  
         return 0;  
     }  
   
     return nin;  
   
 }  
   
290  STATIC_INLINE bool CheckAxis (Nrrd *nin, int i)  STATIC_INLINE bool CheckAxis (Nrrd *nin, int i)
291  {  {
292      return (nin->axis[i].kind != nrrdKindSpace);      return (nin->axis[i].kind != nrrdKindSpace);

Legend:
Removed from v.2034  
changed lines
  Added in v.2035

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