|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.tools.rendering.manager.buildings.importers.VRMLImporter
public class VRMLImporter
The J3DToCityGMLExporter exports a J3D scene to citygml level 1.
| Field Summary | |
|---|---|
static String |
INV_YZ
Key to flip the y(second) and z (third) axis |
static String |
MAX_TEX_DIM
Key for the max texture size |
static String |
ROT_ANGLE
Key for the rotation angle key, 4 comma separated values, x,y,z,a |
static String |
TEX_DIR
Key for the texture directory |
static String |
XTRANS
Key for the translation of the x (first) axis |
static String |
YTRANS
Key for the translation of the y (second) axis |
static String |
ZTRANS
Key for the translation of the z (third) axis |
| Constructor Summary | |
|---|---|
VRMLImporter()
A default constructor allows the instantiation of this exported to supply the getParameterList method. |
|
VRMLImporter(Map<String,String> params)
|
|
| Method Summary | |
|---|---|
List<WorldRenderableObject> |
importFromFile(String fileName,
int numberOfQualityLevels,
int qualityLevel)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ROT_ANGLE
public static final String XTRANS
public static final String YTRANS
public static final String ZTRANS
public static final String INV_YZ
public static final String TEX_DIR
public static final String MAX_TEX_DIM
| Constructor Detail |
|---|
public VRMLImporter()
NOTE this constructor is only convenient, it should not be used carelessly. Instead use one of the other constructors for correct instantiation of this class.
public VRMLImporter(Map<String,String> params)
throws IOException
params - a hashmap to extract values from. For a list of supported parameters
IOException - if the key 'texdir' points to a file which is not a directory or is not writable| Method Detail |
|---|
public List<WorldRenderableObject> importFromFile(String fileName,
int numberOfQualityLevels,
int qualityLevel)
throws IOException
importFromFile in interface ModelImporterfileName - pointing to a location to load an exportable file from.numberOfQualityLevels - each resulting WorldRenderableObject should have.qualityLevel - of the models in the given file.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||