org.deegree.tools.rendering.dem.builder
Class PatchManager

java.lang.Object
  extended by org.deegree.tools.rendering.dem.builder.PatchManager

public class PatchManager
extends Object

Manages the storing of MacroTriangle-based patches during the generation of an MultiresolutionMesh-dataset (that is performed by the DEMDatasetGenerator).

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Method Summary
 int getLevels()
           
 FragmentInfo getPatchByLocationCode(int locationCode)
           
static PatchManager restoreFromFile(File file)
           
 void saveToFile(File file)
           
 void storePatch(MacroTriangle patch, ByteBuffer rawTileBytes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLevels

public int getLevels()

storePatch

public void storePatch(MacroTriangle patch,
                       ByteBuffer rawTileBytes)
                throws SQLException
Throws:
SQLException

getPatchByLocationCode

public FragmentInfo getPatchByLocationCode(int locationCode)

saveToFile

public void saveToFile(File file)
                throws FileNotFoundException,
                       IOException
Throws:
FileNotFoundException
IOException

restoreFromFile

public static PatchManager restoreFromFile(File file)
                                    throws FileNotFoundException,
                                           IOException,
                                           ClassNotFoundException
Throws:
FileNotFoundException
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.