![]() |
![]()
| ![]() |
![]()
NAMEvpSetVolumeSize - define the dimensions of a volume SYNOPSIS#include <volpack.h> vpResult vpSetVolumeSize(vpc, xlen, ylen, zlen)
ARGUMENTSDESCRIPTIONvpSetVolumeSize is used to define the dimensions of a volume. It must be called before volume data is loaded into a rendering context. Any existing precomputed volume data structures in the context are destroyed. STATE VARIABLESThe current volume dimensions may be retrieved with the following state variable codes (see vpGeti(3)): VP_XLEN, VP_YLEN, VP_ZLEN. ERRORSThe return value is always VP_OK. SEE ALSOVolPack(3), vpCreateContext(3)
|