next up previous contents
Next: miset_apparent_dimension_order_by_name Up: DIMENSION FUNCTIONS (39) Previous: miget_volume_dimensions   Contents

miset_apparent_dimension_order

NAME 

miset_apparent_dimension_order - set apparent dimension order


SYNOPSIS

#include <minc2.h>

int miset_apparent_dimension_order ( mihandle_t         volume,
                                     int                array_length,
                                     midimhandle_t      dimensions[])
                                     


DESCRIPTION

This method sets an apparent dimension order. The user can sort the
dimensions in any desired order. If the user specifies fewer dimensions
than the existing ones, then they are assumed to be added to the last.
For example, given (z,y,x) for the file dimension order of (x,y,z,t) 
will result in (t,z,y,x) and so on. 

RETURN VALUE

miset_apparent_dimension_order returns MI_NOERROR if it successfully
sets the apparent dimension order or MI_ERROR otherwise

SEE ALSO

miset_apparent_dimension_order_by_name



Robert VINCENT 2005-03-09