gvsig-3d / 2.1 / trunk / org.gvsig.view3d / org.gvsig.view3d.vector / org.gvsig.view3d.vector.lib / org.gvsig.view3d.vector.lib.api / src / main / java / org / gvsig / view3d / vector / lib / api / VectorExtrusionLoaderParameters.java @ 760
History | View | Annotate | Download (2.36 KB)
1 |
package org.gvsig.view3d.vector.lib.api; |
---|---|
2 |
|
3 |
import java.awt.Color; |
4 |
|
5 |
import org.gvsig.view3d.lib.api.loader.LoaderParameters; |
6 |
|
7 |
/**
|
8 |
*
|
9 |
* @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
|
10 |
*
|
11 |
*/
|
12 |
public interface VectorExtrusionLoaderParameters extends LoaderParameters { |
13 |
|
14 |
public static final String NAME = "VectorExtrusionLoaderParameters"; |
15 |
|
16 |
public static final String FACTORY_NAME = "VectorExtrusionLoaderParametersFactory"; |
17 |
|
18 |
/**
|
19 |
* Gets {@link VectorElevationMode} of this vector layer properties.
|
20 |
*
|
21 |
* @return
|
22 |
*/
|
23 |
public VectorElevationMode getVectorElevationMode();
|
24 |
|
25 |
/**
|
26 |
* Sets the specific {@link VectorElevationMode} to this vector layer
|
27 |
* properties.
|
28 |
*
|
29 |
* @param vectorElevationMode
|
30 |
* the specific {@link VectorElevationMode}
|
31 |
*/
|
32 |
public void setVectorElevationMode(VectorElevationMode vectorElevationMode); |
33 |
|
34 |
/**
|
35 |
* Gets default {@link Color} of vector layer properties. Default color is
|
36 |
* used when vector layer has a complex legend that can no be represented in
|
37 |
* 3D.
|
38 |
*
|
39 |
* @return
|
40 |
*/
|
41 |
public Color getDefaultColor(); |
42 |
|
43 |
/**
|
44 |
* Sets the specified {@link Color} to this vector layer properties.
|
45 |
*
|
46 |
* @param color
|
47 |
* the specific color
|
48 |
*/
|
49 |
public void setDefaultColor(Color color); |
50 |
|
51 |
/**
|
52 |
* Gets name of height field used to set height of extruded features.
|
53 |
*
|
54 |
* @return
|
55 |
*/
|
56 |
public String getHeightField(); |
57 |
|
58 |
/**
|
59 |
* Sets name of height field used to set height of extruded features.
|
60 |
*
|
61 |
* @param heightField
|
62 |
* the specific height field
|
63 |
*/
|
64 |
public void setHeightField(String heightField); |
65 |
|
66 |
/**
|
67 |
* Gets constant height of this vector layer properties.
|
68 |
*
|
69 |
* @return the height of this properties.
|
70 |
*/
|
71 |
public double getConstantHeight(); |
72 |
|
73 |
/**
|
74 |
* Sets the specified constant height to this properties.
|
75 |
*
|
76 |
* @param height
|
77 |
* the specified constant height.
|
78 |
*/
|
79 |
public void setConstantHeight(double height); |
80 |
|
81 |
/**
|
82 |
* Gets vertical exaggeration
|
83 |
*
|
84 |
* @return
|
85 |
*/
|
86 |
public double getVerticalExaggeration(); |
87 |
|
88 |
/**
|
89 |
* Sets the specific vertical exaggeration to this properties
|
90 |
*
|
91 |
* @param verticalExaggeration
|
92 |
*/
|
93 |
public void setVerticalExaggeration(double verticalExaggeration); |
94 |
} |