![]() |
ARX
1.0
The next-generation open source augmented reality toolkit.
|
Functions | |
| int | arParamChangeSize (ARParam *source, int xsize, int ysize, ARParam *newparam) |
| Adjust the size of a camera parameter's viewing plane, e.g. to match a renderer frustum size. | |
| int | arParamChangeSizeWithZoom (ARParam *source, int xsize, int ysize, ARdouble x_zoom, ARdouble y_zoom, ARParam *newparam) |
Adjust the size of a camera parameter's viewing plane, e.g. to match a renderer frustum size.
Given a camera parameter structure, this function scales the camera paameter fundamental matrix, focal length and center, to match the passed-in view-plane size. This is often a size in pixels of the renderer frustum.
| source | Pointer to an ARParam structure which will be used as the source parameter. |
| xsize | The horizontal dimension of the desired camera image plane. |
| ysize | The vertical dimension of the desired camera image plane. |
| newparam | Pointer to an ARParam structure which will be filled with the resized parameter. This may be the same value as source, in which case the source parameter will be modified. |
1.9.6