gvsig-3d / 2.1 / branches / org.gvsig.view3d_vector_and_extrusion_2.3 / org.gvsig.view3d / org.gvsig.view3d / org.gvsig.view3d.lib / org.gvsig.view3d.lib.api / src / main / java / org / gvsig / view3d / lib / api / properties / ExtrudedVectorLayerProperties3D.java @ 708
History | View | Annotate | Download (1.54 KB)
1 |
package org.gvsig.view3d.lib.api.properties; |
---|---|
2 |
|
3 |
/**
|
4 |
* This class defines the 3D properties for extruded vector layers.
|
5 |
*
|
6 |
* @author Andrea Antonello andrea.antonello@gmail.com
|
7 |
*/
|
8 |
public interface ExtrudedVectorLayerProperties3D |
9 |
extends VectorLayerProperties3D {
|
10 |
|
11 |
public static final String EXTRUSION_HEIGHT_FIELD = "extrusionHeightField"; |
12 |
public static final String VERTICAL_EXAGGERATION = "verticalExaggeration"; |
13 |
|
14 |
/**
|
15 |
* Gets the field name that defines the extrusion height values.
|
16 |
*
|
17 |
* @return the name of the extrusion height field.
|
18 |
*/
|
19 |
public String getExtrusionHeightField(); |
20 |
|
21 |
/**
|
22 |
* Sets the field name that defines the extrusion height values.
|
23 |
*
|
24 |
* @param field
|
25 |
* the name of the extrusion height field.
|
26 |
*/
|
27 |
public void setExtrusionHeightField(String field); |
28 |
|
29 |
/**
|
30 |
* Getter for the vertical exaggeration, which defaults to 1.0.
|
31 |
*
|
32 |
* <p>
|
33 |
* This value is used to multiply the value contained in the
|
34 |
* extrusion height field. That way it is for example possible to
|
35 |
* define in the attributes table as extruded height the number
|
36 |
* of floors of the building and use a vertical exaggeration of
|
37 |
* 3.0 meters to get the desired result.
|
38 |
*
|
39 |
* @return the vertical exageration.
|
40 |
*/
|
41 |
public double getVerticalExaggeration(); |
42 |
|
43 |
/**
|
44 |
* Setter for the vertical exaggeration.
|
45 |
*
|
46 |
* @param verticalExaggeration
|
47 |
* the value to set.
|
48 |
*/
|
49 |
public void setVerticalExaggeration(double verticalExaggeration); |
50 |
|
51 |
} |