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

NAME

6       vpGetMatrix - retrieve the contents of a transformation matrix
7

SYNOPSIS

9       #include <volpack.h>
10
11       vpResult
12       vpGetMatrix(vpc, matrix_code, matrix)
13           vpContext *vpc;
14           int matrix_code;
15           vpMatrix4 matrix;
16

ARGUMENTS

18       vpc    VolPack context from vpCreateContext.
19
20       matrix_code
21              A  code  specifying  one  of the VolPack transformation matrices
22              (VP_MODEL, VP_VIEW, VP_PROJECT or VP_SCREEN).
23
24       matrix Matrix for storing the result.
25

DESCRIPTION

27       vpGetMatrix retrieves the contents of one of the transformation  matriā€
28       ces  (see  vpCurrentMatrix(3)).   The special code VP_SCREEN causes the
29       function to compute the transformation from object coordinates to image
30       coordinates and return a matrix describing this transformation.
31

ERRORS

33       The  normal return value is VP_OK.  The following error return value is
34       possible:
35
36       VPERROR_BAD_OPTION
37              The matrix_code argument is invalid.
38

SEE ALSO

40       VolPack(3), vpCreateContext(3), vpCurrentMatrix(3)
41
42
43
44VolPack                                                         vpGetMatrix(3)
Impressum