Parameter structure.
Definition at line 141 of file sources/includes/NVWarp360.h.
Data Fields | |
| nvwarpType_t | type |
| The type of the warp. More... | |
| uint32_t | srcWidth |
| The width of the source image. More... | |
| uint32_t | srcHeight |
| The height of the source image. More... | |
| float | srcX0 |
| Source center of projection X; frequently (srcWidth - 1) * 0.5, but srcWidth * .5 for wraparounds (equirect). More... | |
| float | srcY0 |
| Source center of projection Y; frequently (srcHeight - 1) * 0.5, but srcHeight * .5 for wraparounds (equirect). More... | |
| float | srcFocalLen |
| Source focal length. More... | |
| float | srcRadius |
| Source circular clipping radius. (default 0 means no clipping) (unimplemented). More... | |
| float | dist [5] |
| Distortion, typically for the source. (default {0,0,0,0} means no distortion). More... | |
| uint32_t | dstWidth |
| The width of the destination. More... | |
| uint32_t | dstHeight |
| The height of the destination. More... | |
| float | rotAngles [3] |
| Rotation angles in radians, corresponding to the list of rotation axes below.. More... | |
| char | rotAxes [4] |
| 3 rotation axes: upper case 'X', 'Y', and 'Z' are rotation about the positive X, Y and Z axes, whereas lower case 'x', 'y', and 'z' are rotation about the negative axes. More... | |
| float | topAngle |
| Top angle of view. (default +pi/2) More... | |
| float | bottomAngle |
| Bottom angle of view. (default -pi/2) More... | |
| void * | userData |
| Pointer supplied by the user. (default NULL) More... | |
| float | control [4] |
| Projection-specific controls. More... | |
| float nvwarpParams_t::bottomAngle |
Bottom angle of view. (default -pi/2)
Definition at line 170 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::control |
Projection-specific controls.
Definition at line 175 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::dist |
Distortion, typically for the source. (default {0,0,0,0} means no distortion).
Definition at line 154 of file sources/includes/NVWarp360.h.
| uint32_t nvwarpParams_t::dstHeight |
The height of the destination.
Definition at line 158 of file sources/includes/NVWarp360.h.
| uint32_t nvwarpParams_t::dstWidth |
The width of the destination.
Definition at line 157 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::rotAngles |
Rotation angles in radians, corresponding to the list of rotation axes below..
Definition at line 161 of file sources/includes/NVWarp360.h.
| char nvwarpParams_t::rotAxes |
3 rotation axes: upper case 'X', 'Y', and 'Z' are rotation about the positive X, Y and Z axes, whereas lower case 'x', 'y', and 'z' are rotation about the negative axes.
Set the 4th to '\0'. X rotation rotates the view upward, Y rightward, and Z clockwise. To specify an embedding of the image in 3D rather than a view of a straightahead image, specify the angles in the opposite order. The default is "YXZ", a.k.a. yaw, pitch, roll (as set by nvwarpInitParams()). Other characters are treated as 'Z'.
Definition at line 162 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::srcFocalLen |
Source focal length.
Definition at line 151 of file sources/includes/NVWarp360.h.
| uint32_t nvwarpParams_t::srcHeight |
The height of the source image.
Definition at line 148 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::srcRadius |
Source circular clipping radius. (default 0 means no clipping) (unimplemented).
Definition at line 152 of file sources/includes/NVWarp360.h.
| uint32_t nvwarpParams_t::srcWidth |
The width of the source image.
Definition at line 147 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::srcX0 |
Source center of projection X; frequently (srcWidth - 1) * 0.5, but srcWidth * .5 for wraparounds (equirect).
Definition at line 149 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::srcY0 |
Source center of projection Y; frequently (srcHeight - 1) * 0.5, but srcHeight * .5 for wraparounds (equirect).
Definition at line 150 of file sources/includes/NVWarp360.h.
| float nvwarpParams_t::topAngle |
Top angle of view. (default +pi/2)
Definition at line 169 of file sources/includes/NVWarp360.h.
| nvwarpType_t nvwarpParams_t::type |
The type of the warp.
Definition at line 144 of file sources/includes/NVWarp360.h.
| void * nvwarpParams_t::userData |
Pointer supplied by the user. (default NULL)
Definition at line 172 of file sources/includes/NVWarp360.h.