next up previous contents
Next: VALID MIN/MAX AND RANGE Up: SLICE/VOLUME SCALE FUNCTIONS (14) Previous: miget_volume_range   Contents

miset_volume_range

NAME

miset_volume_range - set the global range scale for volume

SYNOPSIS

#include <minc2.h>

int miset_volume_range ( mihandle_t     volume,
                         double         volume_max,
                         double         volume_min)


DESCRIPTION

This method sets the range (min and max) scale value for the volume. Note that this 
method only works if volume is not slice scaled.

RETURN VALUE

miset_volume_range returns MI_NOERROR if it successfully sets the
global range scale for the volume or MI_ERROR otherwise.



Robert VINCENT 2005-03-09