changeset 1848:a43d09f7a3b2

*** empty log message ***
author baghdadi <baghdadi>
date Mon, 12 Jul 2004 18:08:42 +0000
parents 6e68ccd11169
children 1866b41e95d4
files libsrc2/dimension.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libsrc2/dimension.c
+++ b/libsrc2/dimension.c
@@ -535,7 +535,7 @@
 /*! 
   Get the apparent order of voxels (i.e., the order that voxel indices increase/decrease)
   \param dimension The dimension handle
-  \param file_order The order of voxels.
+  \param flipping_order The order of voxels.
   \param sign The sign of the step value.
   *
   * This method gets the apparent order of voxels for the specified dimension
@@ -545,7 +545,7 @@
 
 int 
 miget_dimension_apparent_voxel_order(midimhandle_t dimension, 
-                                     miflipping_t *file_order,
+                                     miflipping_t *flipping_order,
 				     miflipping_t *sign)
 {
   if (dimension == NULL) {
@@ -553,7 +553,7 @@
   }
   switch (dimension->flipping_order) {
   case MI_FILE_ORDER:
-    *file_order = MI_FILE_ORDER;
+    *flipping_order = MI_FILE_ORDER;
     if (dimension->step > 0) {
       *sign = MI_POSITIVE;
     }
@@ -562,7 +562,7 @@
     }
     break;
   case MI_COUNTER_FILE_ORDER:
-    *file_order = MI_COUNTER_FILE_ORDER;
+    *flipping_order = MI_COUNTER_FILE_ORDER;
     if (dimension->step > 0) {
       *sign = MI_NEGATIVE;
     }
@@ -573,19 +573,19 @@
   case MI_POSITIVE:
     *sign = MI_POSITIVE;
     if (dimension->step > 0) {
-      *file_order = MI_FILE_ORDER;
+      *flipping_order = MI_FILE_ORDER;
     }
     else {
-      *file_order = MI_COUNTER_FILE_ORDER; 
+      *flipping_order = MI_COUNTER_FILE_ORDER; 
     }
     break;  
   case MI_NEGATIVE:
     *sign = MI_NEGATIVE;
     if (dimension->step > 0) {
-      *file_order = MI_COUNTER_FILE_ORDER;
+      *flipping_order = MI_COUNTER_FILE_ORDER;
     }
     else {
-      *file_order = MI_FILE_ORDER; 
+      *flipping_order = MI_FILE_ORDER; 
     }
     break;  
   default: