Statistics
| Revision:

gvsig-3d / 2.1 / trunk / org.gvsig.view3d / org.gvsig.view3d.lib / org.gvsig.view3d.lib.impl / src / main / java / org / gvsig / view3d / lib / impl / properties / BasicLayerPropertiesPanel3D.java @ 486

History | View | Annotate | Download (1.8 KB)

1
package org.gvsig.view3d.lib.impl.properties;
2

    
3
import org.gvsig.view3d.lib.api.properties.LayerProperties3D;
4

    
5

    
6
public class BasicLayerPropertiesPanel3D implements LayerProperties3D {
7
    
8
    private boolean elevation = false;
9
    private String elevationUnits;
10
    private double levelZeroResolutionMultiplier = 1;
11
    private int maxLevel = 0;
12
    private int minLevel = 0;
13
    private double noDataValue = -99999;
14
    private int tileWidth = 512;
15
    private int tileHeight = 512;
16

    
17
    public boolean getElevation() {
18
        return elevation;
19
    }
20

    
21
    public String getElevationUnits() {
22
        return elevationUnits;
23
    }
24

    
25
    public double getLevelZeroResolutionMultiplier() {
26
        return levelZeroResolutionMultiplier * 5;
27
    }
28

    
29
    public int getMaxLevel() {
30
        return maxLevel;
31
    }
32

    
33
    public int getMinLevel() {
34
        return minLevel;
35
    }
36

    
37
    public double getNoDataValue() {
38
        return noDataValue;
39
    }
40

    
41
    public int getTileHeight() {
42
        return tileHeight;
43
    }
44

    
45
    public int getTileWidth() {
46
        return tileWidth;
47
    }
48

    
49
    public void setElevation(boolean elevation) {
50
        this.elevation = elevation;
51
    }
52

    
53
    public void setElevationUnits(String elevation) {
54
        this.elevationUnits = elevation;
55
    }
56

    
57
    public void setLevelZeroResolutionMultiplier(double multiplier) {
58
        this.levelZeroResolutionMultiplier = multiplier / 5;
59
    }
60

    
61
    public void setMaxLevel(int maxLevel) {
62
        this.maxLevel = maxLevel;
63
    }
64

    
65
    public void setMinLevel(int minLevel) {
66
        this.minLevel = minLevel;
67
    }
68

    
69
    public void setNoDataValue(double noDataValue) {
70
        this.noDataValue = noDataValue;
71

    
72
    }
73

    
74
    public void setTileHeight(int height) {
75
        this.tileHeight = height;
76

    
77
    }
78

    
79
    public void setTileWidth(int width) {
80
        this.tileWidth = width;
81
    }
82

    
83
}