org.deegree.rendering.r3d.multiresolution.io
Class MeshFragmentDataReader
java.lang.Object
org.deegree.rendering.r3d.multiresolution.io.MeshFragmentDataReader
public class MeshFragmentDataReader
- extends Object
This class opens a channel to a file containing meshfragments.
- Version:
- $Revision$
- Author:
- Markus Schneider, last edited by: $Author$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeshFragmentDataReader
public MeshFragmentDataReader(File meshFragments,
DirectByteBufferPool directBufferPool)
throws FileNotFoundException
- Construct access to a file containing mesh fragments.
- Parameters:
meshFragments - directBufferPool -
- Throws:
FileNotFoundException
read
public MeshFragmentData read(int fragmentId,
long offset,
int length)
throws IOException
- Read meshdata from the file.
- Parameters:
fragmentId - offset - length -
- Returns:
- the actual data read from the file.
- Throws:
IOException
getDirectBufferPool
public DirectByteBufferPool getDirectBufferPool()
- Returns:
- the pool used to allocate direct buffers.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>