org.deegree.rendering.r3d.multiresolution
Class SelectiveRefinement
java.lang.Object
org.deegree.rendering.r3d.multiresolution.SelectiveRefinement
public class SelectiveRefinement
- extends Object
Implementation of a selective refinement algorithm that operates on MultiresolutionMesh
instances.
The function determineLOD()
solves the following problem: Given a multiresolution model M (as a
MultiresolutionMesh
instance) and a level-of-detail criterion c (as a LODCriterion
instance),
determine the smallest mesh produceable by M so that c is fullfilled everywhere on the surface of the
mesh.
- Version:
- $Revision: 30126 $
- Author:
- Markus Schneider, last edited by: $Author: aschmitz $
- See Also:
MultiresolutionMesh
,
LODCriterion
,
SpatialSelection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectiveRefinement
public SelectiveRefinement(MultiresolutionMesh mt,
LODCriterion crit)
- Creates a new
SelectiveRefinement
instance for the given MultiresolutionMesh
and
LODCriterion
.
- Parameters:
mt
- crit
-
determineLOD
public List<MeshFragment> determineLOD()
- Determines the LOD corresponding to the associated
LODCriterion
.
- Returns:
- PatchInfo objects of all patches that make up the LOD
Copyright © 2011. All Rights Reserved.