View Javadoc

1   /*
2    * Copyright (C) 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic
3    *
4    * This program is free software: you can redistribute it and/or modify
5    * it under the terms of the GNU General Public License as published by
6    * the Free Software Foundation, either version 3 of the License, or
7    * (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU General Public License for more details.
13   *
14   * You should have received a copy of the GNU General Public License
15   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16   */
17  package cz.cuni.amis.pogamut.ut2004.t3dgenerator.datatypes;
18  
19  import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.UnrealDataType;
20  import cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes.Vector3D;
21  
22  /**
23   *
24   * @author Martin Cerny
25   */
26  @UnrealDataType
27  public class Scale {
28      private Vector3D scale;
29      private float sheerRate;
30      private ESheerAxis sheerAxis;
31  
32      public Scale(Vector3D scale, float sheerRate, ESheerAxis sheerAxis) {
33          this.scale = scale;
34          this.sheerRate = sheerRate;
35          this.sheerAxis = sheerAxis;
36      }
37  
38      
39      
40      public Vector3D getScale() {
41          return scale;
42      }
43  
44      public void setScale(Vector3D scale) {
45          this.scale = scale;
46      }
47  
48      public float getSheerRate() {
49          return sheerRate;
50      }
51  
52      public void setSheerRate(float sheerRate) {
53          this.sheerRate = sheerRate;
54      }
55  
56      public ESheerAxis getSheerAxis() {
57          return sheerAxis;
58      }
59  
60      public void setSheerAxis(ESheerAxis sheerAxis) {
61          this.sheerAxis = sheerAxis;
62      }
63      
64      
65  }