org.deegree.tools.rendering.manager.buildings
Class PrototypeManager
java.lang.Object
org.deegree.tools.rendering.manager.ModelManager<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 (Thu, 21 Jan 2010) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrototypeManager
public PrototypeManager(ModelBackend<?> modelBackend,
String textureDir,
String buildingID,
double[] wpvsTranslationVector)
- Parameters:
modelBackend
- textureDir
- buildingID
- wpvsTranslationVector
- 2d vector to the origin of the wpvs scene
importFromFile
public 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 BackendResult insertIntoBackend(List<WorldRenderableObject> buildings)
throws IOException
- Parameters:
buildings
-
- Returns:
- the result of the insertion.
- Throws:
IOException
Copyright © 2011. All Rights Reserved.