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

miset_volume_max

NAME

miset_volume_max - set the global max scale for volume

SYNOPSIS

#include <minc2.h>

int miset_volume_max ( mihandle_t       volume,
                       double           volume_max)


DESCRIPTION

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

RETURN VALUE

miset_volume_max returns MI_NOERROR if it successfully sets the
global max scale for the volume or MI_ERROR otherwise.



Robert VINCENT 2005-03-09