vpCreateContext - Man Page

create/destroy a rendering context

Synopsis

#include <volpack.h>

vpContext *

vpCreateContext()

void

vpDestroyContext(vpc)

vpContext *vpc;

Arguments

vpc

VolPack context from vpCreateContext.

Description

vpCreateContext returns a handle for a new rendering context. It contains default values for most of the rendering parameters.

vpDestroyContext destroys a rendering context and frees the associated memory.  Only data structures allocated by the library are freed; application-defined data structures that are referenced in the rendering context through a pointer are not freed (e.g. arrays of volume data and shading lookup tables).  The application is responsible for keeping track of such data structures and freeing them when appropriate.

See Also

VolPack(3)

Referenced By

VolPack(3), vpClassifyScalars(3), vpClassifyScanline(3), vpClassifyVolume(3), vpCreateMinMaxOctree(3), vpCurrentMatrix(3), vpEnable(3), vpExtract(3), vpGetError(3), vpGeti(3), vpGetLight(3), vpGetMaterial(3), vpGetMatrix(3), vpGetTimer(3), vpIdentityMatrix(3), vpLoadRawVolume(3), vpMultMatrix(3), vpOctreeMask(3), vpRenderRawVolume(3), vpRotate(3), vpScale(3), vpScanlineNormals(3), vpSetCallback(3), vpSetClassifierTable(3), vpSetClientData(3), vpSetDebug(3), vpSetDepthCueing(3), vpSeti(3), vpSetImage(3), vpSetLight(3), vpSetLookupShader(3), vpSetMaterial(3), vpSetMatrix(3), vpSetRawVoxels(3), vpSetShadowLookupShader(3), vpSetVolumeSize(3), vpSetVoxelField(3), vpSetVoxelSize(3), vpShadeTable(3), vpStoreRawVolume(3), vpTranslate(3), vpTranspose(3), vpVolumeNormals(3), vpWindow(3), vpWindowPHIGS(3).

VolPack