1vpSetDebug(3)              Library Functions Manual              vpSetDebug(3)
2
3
4

NAME

6       vpSetDebug - enable/disable debugging options
7

SYNOPSIS

9       #include <volpack.h>
10
11       vpResult
12       vpSetDebug(vpc, flag, value)
13           vpContext *vpc;
14           int flag;
15           int value;
16

ARGUMENTS

18       vpc    VolPack context from vpCreateContext.
19
20       flag   Constant that specifies the debugging option to be adjusted.
21
22       value  New value for the option (boolean: 0 or 1).
23

DESCRIPTION

25       vpSetDebug is used to enable or disable a debugging option in a render‐
26       ing context.  The debugging options cause messages to be printed during
27       execution.   These  messages are probably useless without a good under‐
28       standing of the source code.  If the value option is 0 then the  option
29       is  disabled;  otherwise  it is enabled.  The following list summarizes
30       all available options:
31
32       VPDEBUG_VIEW
33              view transform calculations
34
35       VPDEBUG_RENDER
36              high-level rendering stages
37
38       VPDEBUG_RBUF
39              intermediate image (render buffer) allocation
40
41       VPDEBUG_OPCCORRECT
42              opacity correction
43
44       VPDEBUG_DEPTHCUE
45              depth cueing
46
47       VPDEBUG_PYRAMID
48              pyramid construction
49
50       VPDEBUG_OCTREE
51              octree construction
52
53       VPDEBUG_CLSFYOCTREE
54              octree classification
55
56       VPDEBUG_OCTREERUNS
57              runs computed from octree
58
59       VPDEBUG_OCTREETRAVERSE
60              octree traversal
61
62       VPDEBUG_TRANSPOSE
63              volume transposing
64
65       VPDEBUG_COMPOSITE
66              compositing
67
68       The VolPack library must be compiled with the -DDEBUG  compiler  option
69       for this function to have any effect.
70

ERRORS

72       The  normal return value is VP_OK.  The following error return value is
73       possible:
74
75       VPERROR_BAD_OPTION
76              The flag argument is invalid.
77

SEE ALSO

79       VolPack(3), vpCreateContext(3)
80
81
82
83VolPack                                                          vpSetDebug(3)
Impressum