deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.rendering.r3d.multiresolution
Class SpatialSelection

java.lang.Object
  extended by 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

Constructor Summary
SpatialSelection(MultiresolutionMesh mt, LODCriterion crit, ViewFrustum roi, float zScale)
          Creates a new SpatialSelection instance for the given MultiresolutionMesh, LODCriterion and region of interest.
 
Method Summary
 List<MeshFragment> determineLODFragment()
          Determines the LOD fragment that corresponds to the associated LODCriterion and region of interest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>