org.deegree.tools.rendering.manager.trees
Class TreeManager
java.lang.Object
org.deegree.tools.rendering.manager.ModelManager<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
org.deegree.tools.rendering.manager.trees.TreeManager
public class TreeManager
- extends ModelManager<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
The TreeImporter import tree definitions from a csv file.
- Version:
- $Revision: 17365 $, $Date: 2009-04-17 17:11:28 +0200 (Fr, 17 Apr 2009) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
|
Constructor Summary |
TreeManager(org.deegree.services.wpvs.io.ModelBackend<?> modelBackend,
String textureDir,
double[] wpvsTranslationVector)
|
|
Method Summary |
org.deegree.services.wpvs.io.BackendResult |
importFromFile(File f,
org.apache.commons.cli.CommandLine commandLine)
Imports the data from the given file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeManager
public TreeManager(org.deegree.services.wpvs.io.ModelBackend<?> modelBackend,
String textureDir,
double[] wpvsTranslationVector)
- Parameters:
modelBackend - containing parameters for the databasetextureDir - where the referenced textures may be found.wpvsTranslationVector - 2d vector to the origin of the wpvs scene
importFromFile
public org.deegree.services.wpvs.io.BackendResult importFromFile(File f,
org.apache.commons.cli.CommandLine commandLine)
throws IOException
- Description copied from class:
ModelManager
- Imports the data from the given file.
- Specified by:
importFromFile in class ModelManager<org.deegree.rendering.r3d.opengl.rendering.model.geometry.BillBoard>
- Parameters:
f - the file in an expected format.commandLine - program parameters only necessary for a given instance object will be available in the commandline.
- Returns:
- the number of imported objects
- Throws:
FileNotFoundException
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>