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

NAME

6       vpSetMatrix - load a matrix into the current transformation matrix
7

SYNOPSIS

9       #include <volpack.h>
10
11       vpResult
12       vpSetMatrix(vpc, m)
13           vpContext *vpc;
14           vpMatrix4 m;
15

ARGUMENTS

17       vpc    VolPack context from vpCreateContext.
18
19       m      Input matrix.
20

DESCRIPTION

22       vpSetMatrix  is  used  to  load a 4-by-4 transformation matrix into the
23       current transformation matrix.  Use vpCurrentMatrix to set the  current
24       transformation matrix.
25

STATE VARIABLES

27       The  current transformation matrix parameters can be retrieved with the
28       following state variable codes (see vpGeti(3)): VP_CURRENT_MATRIX.
29

ERRORS

31       The return value is always VP_OK.
32

SEE ALSO

34       VolPack(3), vpCreateContext(3), vpCurrentMatrix(3), vpGetMatrix(3)
35
36
37
38VolPack                                                         vpSetMatrix(3)
Impressum