001/**
002 * Copyright (c) 2011, The University of Southampton and the individual contributors.
003 * All rights reserved.
004 *
005 * Redistribution and use in source and binary forms, with or without modification,
006 * are permitted provided that the following conditions are met:
007 *
008 *   *  Redistributions of source code must retain the above copyright notice,
009 *      this list of conditions and the following disclaimer.
010 *
011 *   *  Redistributions in binary form must reproduce the above copyright notice,
012 *      this list of conditions and the following disclaimer in the documentation
013 *      and/or other materials provided with the distribution.
014 *
015 *   *  Neither the name of the University of Southampton nor the names of its
016 *      contributors may be used to endorse or promote products derived from this
017 *      software without specific prior written permission.
018 *
019 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
020 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
021 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
022 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
023 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
024 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
025 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
026 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
027 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
028 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
029 */
030package org.openimaj.hardware.kinect.freenect;
031
032import org.bridj.StructObject;
033import org.bridj.ann.Field;
034import org.bridj.ann.Library;
035/**
036 * <i>native declaration : /usr/include/stdint.h</i><br>
037 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
038 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
039 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
040 */
041@SuppressWarnings("all")
042@Library("freenect-combined") 
043public class freenect_reg_info extends StructObject {
044        public freenect_reg_info() {
045                super();
046        }
047        /// not used by mapping algorithm
048        @Field(0) 
049        public int dx_center() {
050                return this.io.getIntField(this, 0);
051        }
052        /// not used by mapping algorithm
053        @Field(0) 
054        public freenect_reg_info dx_center(int dx_center) {
055                this.io.setIntField(this, 0, dx_center);
056                return this;
057        }
058        @Field(1) 
059        public int ax() {
060                return this.io.getIntField(this, 1);
061        }
062        @Field(1) 
063        public freenect_reg_info ax(int ax) {
064                this.io.setIntField(this, 1, ax);
065                return this;
066        }
067        @Field(2) 
068        public int bx() {
069                return this.io.getIntField(this, 2);
070        }
071        @Field(2) 
072        public freenect_reg_info bx(int bx) {
073                this.io.setIntField(this, 2, bx);
074                return this;
075        }
076        @Field(3) 
077        public int cx() {
078                return this.io.getIntField(this, 3);
079        }
080        @Field(3) 
081        public freenect_reg_info cx(int cx) {
082                this.io.setIntField(this, 3, cx);
083                return this;
084        }
085        @Field(4) 
086        public int dx() {
087                return this.io.getIntField(this, 4);
088        }
089        @Field(4) 
090        public freenect_reg_info dx(int dx) {
091                this.io.setIntField(this, 4, dx);
092                return this;
093        }
094        @Field(5) 
095        public int dx_start() {
096                return this.io.getIntField(this, 5);
097        }
098        @Field(5) 
099        public freenect_reg_info dx_start(int dx_start) {
100                this.io.setIntField(this, 5, dx_start);
101                return this;
102        }
103        @Field(6) 
104        public int ay() {
105                return this.io.getIntField(this, 6);
106        }
107        @Field(6) 
108        public freenect_reg_info ay(int ay) {
109                this.io.setIntField(this, 6, ay);
110                return this;
111        }
112        @Field(7) 
113        public int by() {
114                return this.io.getIntField(this, 7);
115        }
116        @Field(7) 
117        public freenect_reg_info by(int by) {
118                this.io.setIntField(this, 7, by);
119                return this;
120        }
121        @Field(8) 
122        public int cy() {
123                return this.io.getIntField(this, 8);
124        }
125        @Field(8) 
126        public freenect_reg_info cy(int cy) {
127                this.io.setIntField(this, 8, cy);
128                return this;
129        }
130        @Field(9) 
131        public int dy() {
132                return this.io.getIntField(this, 9);
133        }
134        @Field(9) 
135        public freenect_reg_info dy(int dy) {
136                this.io.setIntField(this, 9, dy);
137                return this;
138        }
139        @Field(10) 
140        public int dy_start() {
141                return this.io.getIntField(this, 10);
142        }
143        @Field(10) 
144        public freenect_reg_info dy_start(int dy_start) {
145                this.io.setIntField(this, 10, dy_start);
146                return this;
147        }
148        @Field(11) 
149        public int dx_beta_start() {
150                return this.io.getIntField(this, 11);
151        }
152        @Field(11) 
153        public freenect_reg_info dx_beta_start(int dx_beta_start) {
154                this.io.setIntField(this, 11, dx_beta_start);
155                return this;
156        }
157        @Field(12) 
158        public int dy_beta_start() {
159                return this.io.getIntField(this, 12);
160        }
161        @Field(12) 
162        public freenect_reg_info dy_beta_start(int dy_beta_start) {
163                this.io.setIntField(this, 12, dy_beta_start);
164                return this;
165        }
166        /// not used by mapping algorithm
167        @Field(13) 
168        public int rollout_blank() {
169                return this.io.getIntField(this, 13);
170        }
171        /// not used by mapping algorithm
172        @Field(13) 
173        public freenect_reg_info rollout_blank(int rollout_blank) {
174                this.io.setIntField(this, 13, rollout_blank);
175                return this;
176        }
177        /// not used by mapping algorithm
178        @Field(14) 
179        public int rollout_size() {
180                return this.io.getIntField(this, 14);
181        }
182        /// not used by mapping algorithm
183        @Field(14) 
184        public freenect_reg_info rollout_size(int rollout_size) {
185                this.io.setIntField(this, 14, rollout_size);
186                return this;
187        }
188        @Field(15) 
189        public int dx_beta_inc() {
190                return this.io.getIntField(this, 15);
191        }
192        @Field(15) 
193        public freenect_reg_info dx_beta_inc(int dx_beta_inc) {
194                this.io.setIntField(this, 15, dx_beta_inc);
195                return this;
196        }
197        @Field(16) 
198        public int dy_beta_inc() {
199                return this.io.getIntField(this, 16);
200        }
201        @Field(16) 
202        public freenect_reg_info dy_beta_inc(int dy_beta_inc) {
203                this.io.setIntField(this, 16, dy_beta_inc);
204                return this;
205        }
206        @Field(17) 
207        public int dxdx_start() {
208                return this.io.getIntField(this, 17);
209        }
210        @Field(17) 
211        public freenect_reg_info dxdx_start(int dxdx_start) {
212                this.io.setIntField(this, 17, dxdx_start);
213                return this;
214        }
215        @Field(18) 
216        public int dxdy_start() {
217                return this.io.getIntField(this, 18);
218        }
219        @Field(18) 
220        public freenect_reg_info dxdy_start(int dxdy_start) {
221                this.io.setIntField(this, 18, dxdy_start);
222                return this;
223        }
224        @Field(19) 
225        public int dydx_start() {
226                return this.io.getIntField(this, 19);
227        }
228        @Field(19) 
229        public freenect_reg_info dydx_start(int dydx_start) {
230                this.io.setIntField(this, 19, dydx_start);
231                return this;
232        }
233        @Field(20) 
234        public int dydy_start() {
235                return this.io.getIntField(this, 20);
236        }
237        @Field(20) 
238        public freenect_reg_info dydy_start(int dydy_start) {
239                this.io.setIntField(this, 20, dydy_start);
240                return this;
241        }
242        @Field(21) 
243        public int dxdxdx_start() {
244                return this.io.getIntField(this, 21);
245        }
246        @Field(21) 
247        public freenect_reg_info dxdxdx_start(int dxdxdx_start) {
248                this.io.setIntField(this, 21, dxdxdx_start);
249                return this;
250        }
251        @Field(22) 
252        public int dydxdx_start() {
253                return this.io.getIntField(this, 22);
254        }
255        @Field(22) 
256        public freenect_reg_info dydxdx_start(int dydxdx_start) {
257                this.io.setIntField(this, 22, dydxdx_start);
258                return this;
259        }
260        @Field(23) 
261        public int dxdxdy_start() {
262                return this.io.getIntField(this, 23);
263        }
264        @Field(23) 
265        public freenect_reg_info dxdxdy_start(int dxdxdy_start) {
266                this.io.setIntField(this, 23, dxdxdy_start);
267                return this;
268        }
269        @Field(24) 
270        public int dydxdy_start() {
271                return this.io.getIntField(this, 24);
272        }
273        @Field(24) 
274        public freenect_reg_info dydxdy_start(int dydxdy_start) {
275                this.io.setIntField(this, 24, dydxdy_start);
276                return this;
277        }
278        /// not used by mapping algorithm
279        @Field(25) 
280        public int back_comp1() {
281                return this.io.getIntField(this, 25);
282        }
283        /// not used by mapping algorithm
284        @Field(25) 
285        public freenect_reg_info back_comp1(int back_comp1) {
286                this.io.setIntField(this, 25, back_comp1);
287                return this;
288        }
289        @Field(26) 
290        public int dydydx_start() {
291                return this.io.getIntField(this, 26);
292        }
293        @Field(26) 
294        public freenect_reg_info dydydx_start(int dydydx_start) {
295                this.io.setIntField(this, 26, dydydx_start);
296                return this;
297        }
298        /// not used by mapping algorithm
299        @Field(27) 
300        public int back_comp2() {
301                return this.io.getIntField(this, 27);
302        }
303        /// not used by mapping algorithm
304        @Field(27) 
305        public freenect_reg_info back_comp2(int back_comp2) {
306                this.io.setIntField(this, 27, back_comp2);
307                return this;
308        }
309        @Field(28) 
310        public int dydydy_start() {
311                return this.io.getIntField(this, 28);
312        }
313        @Field(28) 
314        public freenect_reg_info dydydy_start(int dydydy_start) {
315                this.io.setIntField(this, 28, dydydy_start);
316                return this;
317        }
318}