org.deegree.rendering.r3d.multiresolution
Class SpatialSelection
java.lang.Object
org.deegree.rendering.r3d.multiresolution.SpatialSelection
public class SpatialSelection
- extends Object
Implementation of spatial selection algorithm for MultiresolutionMesh
.
This is a variant of the SelectiveRefinement
algorithm that only extracts a region of an LOD that lies inside
a certain region of interest (ROI). Mesh fragments outside the roi are clipped.
- Version:
- $Revision$
- Author:
- Markus Schneider, last edited by: $Author$
- See Also:
SelectiveRefinement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpatialSelection
public SpatialSelection(MultiresolutionMesh mt,
LODCriterion crit,
ViewFrustum roi,
float zScale)
- Creates a new
SpatialSelection
instance for the given MultiresolutionMesh
,
LODCriterion
and region of interest.
- Parameters:
mt
- crit
- roi
- zScale
- of the dem.
determineLODFragment
public List<MeshFragment> determineLODFragment()
- Determines the LOD fragment that corresponds to the associated
LODCriterion
and region of interest.
- Returns:
- PatchInfo objects of all patches that make up the LOD fragment
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>