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 / VectorLoaderParameters.java @ 773
History | View | Annotate | Download (2.6 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright ? 2007-2017 gvSIG Association
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.view3d.vector.lib.api; |
25 |
|
26 |
import java.awt.Color; |
27 |
|
28 |
import org.gvsig.view3d.lib.api.loader.LoaderParameters; |
29 |
|
30 |
/**
|
31 |
*
|
32 |
* @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
|
33 |
*
|
34 |
*/
|
35 |
public interface VectorLoaderParameters extends LoaderParameters { |
36 |
|
37 |
public static final String NAME = "VectorLoaderParameters"; |
38 |
|
39 |
public static final String FACTORY_NAME = "VectorLoaderParametersFactory"; |
40 |
|
41 |
/**
|
42 |
* Gets {@link VectorElevationMode} of this vector layer properties.
|
43 |
*
|
44 |
* @return
|
45 |
*/
|
46 |
public VectorElevationMode getVectorElevationMode();
|
47 |
|
48 |
/**
|
49 |
* Sets the specific {@link VectorElevationMode} to this vector layer
|
50 |
* properties.
|
51 |
*
|
52 |
* @param vectorElevationMode
|
53 |
* the specific {@link VectorElevationMode}
|
54 |
*/
|
55 |
public void setVectorElevationMode(VectorElevationMode vectorElevationMode); |
56 |
|
57 |
/**
|
58 |
* Gets default {@link Color} of vector layer properties. Default color is
|
59 |
* used when vector layer has a complex legend that can no be represented in
|
60 |
* 3D.
|
61 |
*
|
62 |
* @return
|
63 |
*/
|
64 |
public Color getDefaultColor(); |
65 |
|
66 |
/**
|
67 |
* Sets the specified {@link Color} to this vector layer properties.
|
68 |
*
|
69 |
* @param color
|
70 |
* the specific color
|
71 |
*/
|
72 |
public void setDefaultColor(Color color); |
73 |
|
74 |
/**
|
75 |
* Gets constant height of this vector layer properties.
|
76 |
*
|
77 |
* @return the height of this properties.
|
78 |
*/
|
79 |
public Double getConstantHeight(); |
80 |
|
81 |
/**
|
82 |
* Sets the specified constant height to this properties.
|
83 |
*
|
84 |
* @param height
|
85 |
* the specified constant height.
|
86 |
*/
|
87 |
public void setConstantHeight(Double height); |
88 |
|
89 |
} |