OSVR-Core
RadialDistortionParametersC.h
Go to the documentation of this file.
1 
13 /*
14 // Copyright 2015 Sensics, Inc.
15 //
16 // Licensed under the Apache License, Version 2.0 (the "License");
17 // you may not use this file except in compliance with the License.
18 // You may obtain a copy of the License at
19 //
20 // http://www.apache.org/licenses/LICENSE-2.0
21 //
22 // Unless required by applicable law or agreed to in writing, software
23 // distributed under the License is distributed on an "AS IS" BASIS,
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 // See the License for the specific language governing permissions and
26 // limitations under the License.
27 */
28 
29 #ifndef INCLUDED_RadialDistortionParametersC_h_GUID_925BCEB1_BACA_4DA7_5133_FFF560C72EBD
30 #define INCLUDED_RadialDistortionParametersC_h_GUID_925BCEB1_BACA_4DA7_5133_FFF560C72EBD
31 
32 /* Internal Includes */
33 #include <osvr/Util/APIBaseC.h>
34 #include <osvr/Util/Vec2C.h>
35 #include <osvr/Util/Vec3C.h>
36 
37 /* Library/third-party includes */
38 /* none */
39 
40 /* Standard includes */
41 /* none */
42 
43 OSVR_EXTERN_C_BEGIN
44 
59 
60 OSVR_EXTERN_C_END
61 
62 #endif
Header.
Parameters for a per-color-component radial distortion shader.
Definition: RadialDistortionParametersC.h:51
OSVR_Vec3 k1
Vector of K1 coefficients for the R, G, B channels.
Definition: RadialDistortionParametersC.h:53
A structure defining a 3D vector, often a position/translation.
Definition: Vec3C.h:48
OSVR_Vec2 centerOfProjection
Center of projection for the radial distortion, relative to the bounds of this surface.
Definition: RadialDistortionParametersC.h:57
A structure defining a 2D vector, which represents position.
Definition: Vec2C.h:48
Header providing basic C macros for defining API headers.
Header.
struct OSVR_RadialDistortionParameters OSVR_RadialDistortionParameters
Parameters for a per-color-component radial distortion shader.