org.deegree.tools.rendering.manager.buildings.generalisation
Class WorldObjectSimplifier

java.lang.Object
  extended by org.deegree.tools.rendering.manager.buildings.generalisation.WorldObjectSimplifier

public class WorldObjectSimplifier
extends Object

This class simplifies a 3D-Object. Two different simplifications will be performed. The first one create a simplified version of the original geometry by calculating and simplifying the convex hull of its two-dimensional projection. The second one calculates a transformation matrix to move, rotated und stretch a box of size 1,1,1 located at 0,0,0 to the 3D envelope of an object.

Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
WorldObjectSimplifier()
          Instantiate the simplifier..
 
Method Summary
 void createSimplified3DObject(WorldRenderableObject wro, int levelOfInterest, int targetQualityLevel)
          For this five steps will be performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldObjectSimplifier

public WorldObjectSimplifier()
Instantiate the simplifier..

Method Detail

createSimplified3DObject

public void createSimplified3DObject(WorldRenderableObject wro,
                                     int levelOfInterest,
                                     int targetQualityLevel)
For this five steps will be performed.

Parameters:
wro - to get the qualitylevel from.
levelOfInterest - the simplifications should be created from.
targetQualityLevel - to which the generalisation should be saved.


Copyright © 2011. All Rights Reserved.