next up previous contents
Next: miget_real_value_hyperslab Up: HYPERSLAB FUNCTIONS (8) Previous: miget_hyperslab_with_icv   Contents

miset_hyperslab_with_icv

NAME

miset_hyperslab_with_icv - set hyperslab with the specified icv

SYNOPSIS

#include <minc2.h>

int miset_hyperslab_with_icv ( int             icv,
                               mitype_t        buffer_data_type,
                               long            voxel_offsets[],
                               long            sizes[],
                               void            *buffer)                
                                        
DESCRIPTION

This method sets the hyperslab with the specified icv.
It is important to mention that if the apparent dimension order of 
the volume has been set (miset_apparent_dimension_order or 
miset_apparent_dimension_order_by_name) and is different from 
the dimension order of the file, then the buffer will
be re-ordered in-place before the hyperslab is written.  
Hence, the ordering of the data in the buffer is *NOT* preserved 
by this function call.

RETURN VALUE

miset_hyperslab_with_icv returns MI_NOERROR if it successfully sets
the hyperslab with specified icv and MI_ERROR otherwise



Robert VINCENT 2005-03-09