|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.tools.app3d.J3DToCityGMLExporter
public class J3DToCityGMLExporter
The J3DToCityGMLExporter exports a J3D scene to citygml level 1.
| Constructor Summary | |
|---|---|
J3DToCityGMLExporter()
A default constructor allows the instantiation of this exported to supply the getParameterList method. |
|
J3DToCityGMLExporter(java.util.Map<java.lang.String,java.lang.String> params)
|
|
J3DToCityGMLExporter(java.lang.String citygmlName,
java.lang.String crsName,
java.lang.String cityGMLFunction,
java.lang.String textureOutputDirectory,
double translationX,
double translationY,
double translationZ,
javax.vecmath.AxisAngle4d rotAngle,
boolean asWFSTransaction,
boolean inverseYZ)
|
|
| Method Summary | |
|---|---|
void |
export(java.lang.StringBuilder result,
javax.media.j3d.Group j3dScene)
A method which can be called to export to the given format. |
java.lang.String |
getName()
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterMap()
Should return a list of parameter names (keys) with their description (values) of all parameters this Exporter supports. |
java.lang.String |
getShortDescription()
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J3DToCityGMLExporter()
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 J3DToCityGMLExporter(java.util.Map<java.lang.String,java.lang.String> params)
throws java.io.IOException
params - a hashmap to extract values from. For a list of supported parameters
java.io.IOException - if the key 'texdir' points to a file which is not a directory or is not writable
public J3DToCityGMLExporter(java.lang.String citygmlName,
java.lang.String crsName,
java.lang.String cityGMLFunction,
java.lang.String textureOutputDirectory,
double translationX,
double translationY,
double translationZ,
javax.vecmath.AxisAngle4d rotAngle,
boolean asWFSTransaction,
boolean inverseYZ)
throws java.io.IOException
citygmlName - of the exported branchgroup.crsName - of the crs to set the srsName of gmlNodes to, if null 'epsg:31466' will be used.cityGMLFunction - to insert om the gmltextureOutputDirectory - the directory to output the textures to, if any.translationX - a value to add up to the found x - coordinates. If NaN, 0 will be used.translationY - a value to add up to the found y - coordinates. If NaN, 0 will be used.translationZ - a value to add up to the found z - coordinates. If NaN, 0 will be used.rotAngle - the rotation angle to which the all geometries should be rotated.asWFSTransaction - true if the scene should be exported as a wfs:Transaction document (the root node is wfs:Transaction)
or a cityGML document (the root node is citygml:Building).inverseYZ -
java.io.IOException - if the something went wrong with wile creating, referring or addressing the given filePath.| Method Detail |
|---|
public void export(java.lang.StringBuilder result,
javax.media.j3d.Group j3dScene)
J3DExporter
export in interface J3DExporterresult - a reference to which the implementing class should write.j3dScene - the scene to be exported.public java.lang.String getName()
getName in interface J3DExporterpublic java.lang.String getShortDescription()
getShortDescription in interface J3DExporterpublic static void main(java.lang.String[] args)
args - public java.util.Map<java.lang.String,java.lang.String> getParameterMap()
J3DExporter
getParameterMap in interface J3DExporter
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org