next up previous contents
Next: miset_volume_range Up: SLICE/VOLUME SCALE FUNCTIONS (14) Previous: miset_volume_min   Contents

miget_volume_range

NAME

miget_volume_range - get the global range scale for volume

SYNOPSIS

#include <minc2.h>

int miget_volume_range ( mihandle_t     volume,
                         double         *volume_max,
                         double         *volume_min)


DESCRIPTION

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

RETURN VALUE

miget_volume_range returns MI_NOERROR if it successfully gets the
global range scale for the volume or MI_ERROR otherwise.



Robert VINCENT 2005-03-09