View Javadoc

1   /*
2    * Copyright 2007-2008 Volker Fritzsch
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License. 
15   */
16  package motejx.extensions.nunchuk;
17  
18  import java.awt.Point;
19  
20  /**
21   * 
22   * <p>
23   * @author <a href="mailto:vfritzsch@users.sourceforge.net">Volker Fritzsch</a>
24   */
25  public class NunchukCalibrationData {
26  
27  	private int zeroForceX;
28  
29  	private int zeroForceY;
30  
31  	private int zeroForceZ;
32  
33  	private int gravityForceX;
34  
35  	private int gravityForceY;
36  
37  	private int gravityForceZ;
38  	
39  	private Point minimumAnalogPoint;
40  	
41  	private Point maximumAnalogPoint;
42  	
43  	private Point centerAnalogPoint;
44  	
45  	public NunchukCalibrationData() {
46  		
47  	}
48  
49  	public int getZeroForceX() {
50  		return zeroForceX;
51  	}
52  
53  	public void setZeroForceX(int zeroForceX) {
54  		this.zeroForceX = zeroForceX;
55  	}
56  
57  	public int getZeroForceY() {
58  		return zeroForceY;
59  	}
60  
61  	public void setZeroForceY(int zeroForceY) {
62  		this.zeroForceY = zeroForceY;
63  	}
64  
65  	public int getZeroForceZ() {
66  		return zeroForceZ;
67  	}
68  
69  	public void setZeroForceZ(int zeroForceZ) {
70  		this.zeroForceZ = zeroForceZ;
71  	}
72  
73  	public int getGravityForceX() {
74  		return gravityForceX;
75  	}
76  
77  	public void setGravityForceX(int gravityForceX) {
78  		this.gravityForceX = gravityForceX;
79  	}
80  
81  	public int getGravityForceY() {
82  		return gravityForceY;
83  	}
84  
85  	public void setGravityForceY(int gravityForceY) {
86  		this.gravityForceY = gravityForceY;
87  	}
88  
89  	public int getGravityForceZ() {
90  		return gravityForceZ;
91  	}
92  
93  	public void setGravityForceZ(int gravityForceZ) {
94  		this.gravityForceZ = gravityForceZ;
95  	}
96  
97  	public Point getMinimumAnalogPoint() {
98  		return minimumAnalogPoint;
99  	}
100 
101 	public void setMinimumAnalogPoint(Point minimumAnalogPoint) {
102 		this.minimumAnalogPoint = minimumAnalogPoint;
103 	}
104 
105 	public Point getMaximumAnalogPoint() {
106 		return maximumAnalogPoint;
107 	}
108 
109 	public void setMaximumAnalogPoint(Point maximumAnalogPoint) {
110 		this.maximumAnalogPoint = maximumAnalogPoint;
111 	}
112 
113 	public Point getCenterAnalogPoint() {
114 		return centerAnalogPoint;
115 	}
116 
117 	public void setCenterAnalogPoint(Point centerAnalogPoint) {
118 		this.centerAnalogPoint = centerAnalogPoint;
119 	}
120 
121 }