next up previous contents
Next: miget_dimension_class/miset_dimension_class Up: DIMENSION FUNCTIONS (39) Previous: miget_dimension_apparent_voxel_order   Contents

miset_dimension_apparent_voxel_order

NAME 

miset_dimension_apparent_voxel_order - sets the apparent order of voxels


SYNOPSIS

#include <minc2.h>

int miset_dimension_apparent_voxel_order ( midimhandle_t        dimension,
                                           miflipping_t         flipping_order)




DESCRIPTION

This method sets the apparent order of voxels for the specified dimension.
The miflipping_t is an enumerated type as follows:

tyepdef enum {
        MI_FILE_ORDER           = 0,   /* no flip */
        MI_COUNTER_FILE_ORDER   = 1,   /* flip    */
        MI_POSITIVE             = 2,   /* check step if positive -> no flip
                                                        negative -> flip    */
        MI_NEGATIVE             = 3    /* check step if positive -> flip
                                                        negative -> no flip */
} miflipping_t;




RETURN VALUE

miset_dimension_apparent_voxel_order returns MI_NOERROR if it successfully
sets the apparent voxel order of the specified dimension or MI_ERROR otherwise



Robert VINCENT 2005-03-09