org.deegree.tools.rendering.manager.buildings
Class PrototypeManager
java.lang.Object
org.deegree.tools.rendering.manager.ModelManager<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject>
org.deegree.tools.rendering.manager.buildings.BuildingManager
org.deegree.tools.rendering.manager.buildings.PrototypeManager
public class PrototypeManager
- extends BuildingManager
The PrototypeManager class TODO add class documentation here.
- Version:
- $Revision: 22091 $, $Date: 2010-01-21 13:55:12 +0100 (Do, 21 Jan 2010) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
|
Constructor Summary |
PrototypeManager(org.deegree.services.wpvs.io.ModelBackend<?> modelBackend,
String textureDir,
String buildingID,
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. |
protected org.deegree.services.wpvs.io.BackendResult |
insertIntoBackend(List<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> buildings)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrototypeManager
public PrototypeManager(org.deegree.services.wpvs.io.ModelBackend<?> modelBackend,
String textureDir,
String buildingID,
double[] wpvsTranslationVector)
- Parameters:
modelBackend - textureDir - buildingID - 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 FileNotFoundException,
IOException
- Description copied from class:
ModelManager
- Imports the data from the given file.
- Overrides:
importFromFile in class BuildingManager
- 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
insertIntoBackend
protected org.deegree.services.wpvs.io.BackendResult insertIntoBackend(List<org.deegree.rendering.r3d.opengl.rendering.model.geometry.WorldRenderableObject> buildings)
throws IOException
- Parameters:
buildings -
- Returns:
- the result of the insertion.
- Throws:
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>