org.deegree.rendering.r3d.multiresolution.crit
Interface LODCriterion

All Known Implementing Classes:
Coarsest, Finest, MaxError, ViewFrustumCrit

public interface LODCriterion

Interface for LOD criteria, i.e. functions that determine whether Arcs in the DAG have to be "applied" (the arcs correspond to mesh refinements) during selective refinement / spatial selection.

Version:
$Revision: 30126 $
Author:
Markus Schneider, last edited by: $Author: aschmitz $
See Also:
MultiresolutionMesh, SelectiveRefinement, SpatialSelection

Field Summary
static LODCriterion COARSEST
          Static instance of a Coarsest criterion, use this to extract the coarsest LOD contained in a MultiresolutionMesh.
static LODCriterion FINEST
          Static instance of a Finest criterion, use this to extract the finest LOD contained in a MultiresolutionMesh.
 
Method Summary
 boolean needsRefinement(Arc arc)
          Checks whether the given Arc is necessary in order to satisfy this LOD criterion.
 

Field Detail

COARSEST

static final LODCriterion COARSEST
Static instance of a Coarsest criterion, use this to extract the coarsest LOD contained in a MultiresolutionMesh.


FINEST

static final LODCriterion FINEST
Static instance of a Finest criterion, use this to extract the finest LOD contained in a MultiresolutionMesh.

Method Detail

needsRefinement

boolean needsRefinement(Arc arc)
Checks whether the given Arc is necessary in order to satisfy this LOD criterion.

Parameters:
arc - arc to be checked
Returns:
true, if the arc is necessary, false otherwise


Copyright © 2011. All Rights Reserved.