org.deegree.rendering.r3d.opengl.rendering.model.prototype
Class PrototypePool
java.lang.Object
org.deegree.rendering.r3d.opengl.rendering.model.prototype.PrototypePool
public class PrototypePool
- extends Object
The PrototypePool
holds a set of prototyes which can be referenced by supplying their id. Before the
rendering of the prototype the translation, rotation and scale will ge applied to the modelview matrix. This implies,
that each prototype should be defined between [0,1] at the origin.
- Version:
- $Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrototypePool
public PrototypePool()
render
public static void render(RenderContext glRenderContext,
PrototypeReference prototype,
DirectGeometryBuffer buffer)
- Parameters:
glRenderContext
- prototype
- buffer
- to be used for rendering.
addPrototype
public static void addPrototype(String id,
RenderablePrototype model)
- Parameters:
id
- model
-
Copyright © 2011. All Rights Reserved.