Revision 769
2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.vector/org.gvsig.view3d.vector.lib/org.gvsig.view3d.vector.lib.impl/src/main/java/org/gvsig/view3d/vector/lib/impl/extrusion/DefaultVectorExtrusionLoaderParameters.java | ||
---|---|---|
30 | 30 |
private String heightField; |
31 | 31 |
private double verticalExaggeration = 1; |
32 | 32 |
|
33 |
public DefaultVectorExtrusionLoaderParameters(){ |
|
34 |
|
|
35 |
} |
|
36 |
|
|
33 | 37 |
public DefaultVectorExtrusionLoaderParameters(FLayer layer) { |
34 | 38 |
super(layer); |
35 | 39 |
} |
... | ... | |
76 | 80 |
definition.extend(manager.getDefinition(DefaultVectorLoaderParameters.PARAMETERS_DEFINITION_NAME)); |
77 | 81 |
definition.addDynFieldString(HEIGHT_FIELD_FIELD_NAME); |
78 | 82 |
definition.addDynFieldDouble(VERTICAL_EXAGGERATION_FIELD_NAME); |
83 |
definition.addDynFieldObject(LAYER_FIELD_NAME).setClassOfValue(FLayer.class).setMandatory(true); |
|
79 | 84 |
} |
80 | 85 |
} |
81 | 86 |
|
2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.vector/org.gvsig.view3d.vector.lib/org.gvsig.view3d.vector.lib.impl/src/main/java/org/gvsig/view3d/vector/lib/impl/vector/DefaultVectorLoaderParameters.java | ||
---|---|---|
34 | 34 |
super(layer); |
35 | 35 |
} |
36 | 36 |
|
37 |
protected DefaultVectorLoaderParameters() {
|
|
37 |
public DefaultVectorLoaderParameters() {
|
|
38 | 38 |
// Do nothing |
39 | 39 |
} |
40 | 40 |
|
... | ... | |
83 | 83 |
definition.addDynFieldObject(VECTOR_ELEVATION_MODEL_FIELD_NAME); |
84 | 84 |
definition.addDynFieldObject(DEFAULT_COLOR_FIELD_NAME); |
85 | 85 |
definition.addDynFieldDouble(CONSTANT_HEIGHT_FIELD_NAME); |
86 |
definition.addDynFieldObject(LAYER_FIELD_NAME).setClassOfValue(FLayer.class).setMandatory(true); |
|
86 | 87 |
} |
87 | 88 |
} |
88 | 89 |
|
Also available in: Unified diff