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: 30126 $
Author:
Markus Schneider, last edited by: $Author: aschmitz $
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


Copyright © 2011. All Rights Reserved.