org.deegree.rendering.r3d.opengl.rendering.model.manager
Class TreeRenderer
java.lang.Object
org.deegree.rendering.r3d.opengl.rendering.model.manager.RenderableManager<BillBoard>
org.deegree.rendering.r3d.opengl.rendering.model.manager.TreeRenderer
- All Implemented Interfaces:
- Iterable<BillBoard>, Collection<BillBoard>, JOGLRenderable
public class TreeRenderer
- extends RenderableManager<BillBoard>
The TreeManager
will hold the bill board references depending on their texture id.
- Version:
- $Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
Constructor Summary |
TreeRenderer(Envelope validDomain,
int numberOfObjectsInLeaf,
double maxPixelError)
|
Method Summary |
void |
render(RenderContext glRenderContext)
Called to render this object to an OpenGL context. |
Methods inherited from class org.deegree.rendering.r3d.opengl.rendering.model.manager.RenderableManager |
add, addAll, clear, contains, containsAll, createDotFile, getMaxPixelError, getNumberOfObjectsInLeaf, getObjects, getObjects, getObjects, getValidDomain, isEmpty, iterator, remove, removeAll, retainAll, setValidDomain, size, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeRenderer
public TreeRenderer(Envelope validDomain,
int numberOfObjectsInLeaf,
double maxPixelError)
- Parameters:
validDomain
- numberOfObjectsInLeaf
- maxPixelError
-
render
public void render(RenderContext glRenderContext)
- Description copied from interface:
JOGLRenderable
- Called to render this object to an OpenGL context.
The following pre-conditions hold:
- The projection matrix of
context
has been set up correctly by the caller.
- The view parameters
params
matches the projection and the screen size, so the callee can depend
on them to perform view frustum culling and LOD adaptation.
- Parameters:
glRenderContext
- TODO
Copyright © 2011. All Rights Reserved.