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>
- implements JOGLRenderable
The TreeManager will hold the bill board references depending on their texture id.
- Version:
- $Revision: 19841 $, $Date: 2009-09-29 14:03:45 +0200 (Di, 29 Sep 2009) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
|
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.
- Specified by:
render in interface JOGLRenderable
- Parameters:
glRenderContext - TODO
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>