| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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(Map<String,String> params)
 | 
|
J3DToCityGMLExporter(String citygmlName,
                                         String crsName,
                                         String cityGMLFunction,
                                         String textureOutputDirectory,
                                         double translationX,
                                         double translationY,
                                         double translationZ,
                                         javax.vecmath.AxisAngle4d rotAngle,
                                         boolean asWFSTransaction,
                                         boolean inverseYZ)
 | 
|
| Method Summary | |
|---|---|
 void | 
export(StringBuilder result,
             javax.media.j3d.Group j3dScene)
A method which can be called to export to the given format.  | 
 String | 
getName()
 | 
 Map<String,String> | 
getParameterMap()
Should return a list of parameter names (keys) with their description (values) of all parameters this Exporter supports.  | 
 String | 
getShortDescription()
 | 
static void | 
main(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(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
public J3DToCityGMLExporter(String citygmlName,
                            String crsName,
                            String cityGMLFunction,
                            String textureOutputDirectory,
                            double translationX,
                            double translationY,
                            double translationZ,
                            javax.vecmath.AxisAngle4d rotAngle,
                            boolean asWFSTransaction,
                            boolean inverseYZ)
                     throws 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 - 
IOException - if the something went wrong with wile creating, referring or addressing the given filePath.| Method Detail | 
|---|
public void export(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 String getName()
getName in interface J3DExporterpublic String getShortDescription()
getShortDescription in interface J3DExporterpublic static void main(String[] args)
args - public Map<String,String> getParameterMap()
J3DExporter
getParameterMap in interface J3DExporter
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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