GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
vpSetVolumeSize(3) FreeBSD Library Functions Manual vpSetVolumeSize(3)

vpSetVolumeSize - define the dimensions of a volume

#include <volpack.h>

vpResult

vpSetVolumeSize(vpc, xlen, ylen, zlen)

vpContext *vpc;
int xlen, ylen, zlen;

vpc
VolPack context from vpCreateContext.
xlen
Size of first dimension of the volume in voxels.
ylen
Size of the second dimension of the volume in voxels.
zlen
Size of the third dimension of the volume in voxels.

vpSetVolumeSize 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.

The current volume dimensions may be retrieved with the following state variable codes (see vpGeti(3)): VP_XLEN, VP_YLEN, VP_ZLEN.

The return value is always VP_OK.

VolPack(3), vpCreateContext(3)
VolPack

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.